Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/Annotation.h
This class represents an Annotation in an XML Schema.
Direct Base Classes: Visitable
All Base Classes: Poco::RefCountedObject, Visitable
Member Functions: accept, annotationContent, id, operator =, swap
Inherited Functions: accept, duplicate, id, referenceCount, release
typedef Poco::AutoPtr < Annotation > Ptr;
Annotation(
const std::string & id
);
Creates the Annotation.
Annotation(
const Annotation & ann
);
Copy constructor
~Annotation();
Destroys the Annotation.
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
const std::vector < AnnotationContent::Ptr > & annotationContent() const;
Returns the annotation content read-only
std::vector < AnnotationContent::Ptr > & annotationContent();
Returns the annotation content writable
const std::string & id() const;
Returns the id
Annotation & operator = (
const Annotation & ann
);
Assignement operator
void swap(
Annotation & ann
);
Swap implementation