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
~Annotation();
Destroys the Annotation.
Member Functions
accept
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
annotationContent
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
const std::string & id() const;
Returns the id
operator =
Annotation & operator = (
const Annotation & ann
);
Assignement operator
swap
void swap(
Annotation & ann
);
Swap implementation