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