Poco::XSD::Types

class Annotation

File Information

Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/Annotation.h

Description

This class represents an Annotation in an XML Schema.

Inheritance

Direct Base Classes: Visitable

All Base Classes: Poco::RefCountedObject, Visitable

Member Summary

Member Functions: accept, annotationContent, id, operator =, swap

Inherited Functions: accept, duplicate, id, referenceCount, release

Types

Ptr

typedef Poco::AutoPtr < Annotation > Ptr;

Constructors

Annotation

Annotation(
    const std::string & id
);

Creates the Annotation.

Annotation

Annotation(
    const Annotation & ann
);

Copy constructor

Destructor

~Annotation virtual

~Annotation();

Destroys the Annotation.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

annotationContent inline

const std::vector < AnnotationContent::Ptr > & annotationContent() const;

Returns the annotation content read-only

annotationContent

std::vector < AnnotationContent::Ptr > & annotationContent();

Returns the annotation content writable

id inline

const std::string & id() const;

Returns the id

operator =

Annotation & operator = (
    const Annotation & ann
);

Assignement operator

swap

void swap(
    Annotation & ann
);

Swap implementation