Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/AnnotatedObject.h
AnnotatedObject is the abstract super class for all objects that can store an annotation internally.
Direct Base Classes: Visitable
All Base Classes: Poco::RefCountedObject, Visitable
Known Derived Classes: AbstractAttribute, AbstractElementImpl, AbstractAttributeGroup, AbstractGroup, AbstractList, All, Any, AnyAttribute, AttributeContent, Attribute, AttributeGroupRef, AttributeGroup, AttributeTypeRef, AttributeRef, Binding, Choice, CollectionContent, ComplexType, Content, Definitions, Element, ElementImpl, ElementTypeRef, ElementRef, GroupRef, Group, InheritanceInfo, List, Message, ListTypeRef, Notation, Operation, Order, OrderContent, PortType, Schema, Sequence, SimpleRestriction, Service, SimpleRestrictionInlineType, SimpleType, SimpleTypeInheritance, Type, Union
Member Functions: addAnnotation, getAnnotations
Inherited Functions: accept, duplicate, id, referenceCount, release
typedef std::vector < Annotation > Annotations;
typedef Poco::AutoPtr < AnnotatedObject > Ptr;
Creates the AnnotatedObject.
AnnotatedObject(
const std::string & id
);
Creates the AnnotatedObject.
AnnotatedObject(
const std::string & id,
const Annotation & ann
);
Creates the AnnotatedObject.
virtual ~AnnotatedObject();
Destroys the AnnotatedObject.
void addAnnotation(
const Annotation & ann
);
Adds the annotation at the object.
const Annotations & getAnnotations() const;
Returns the annotation from the object.