Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/Content.h
Super class for all different types of Content that can be stored in a ComplexType.
Direct Base Classes: AnnotatedObject
All Base Classes: Poco::RefCountedObject, AnnotatedObject, Visitable
Known Derived Classes: AbstractElementImpl, AbstractGroup, All, Any, Choice, CollectionContent, Element, ElementImpl, ElementTypeRef, ElementRef, GroupRef, Group, Order, OrderContent, Sequence
Member Functions: fixup, iterator, types
Inherited Functions: accept, addAnnotation, duplicate, getAnnotations, id, referenceCount, release
typedef AutoPtr < Content > Ptr;
Content();
Creates the Content.
Content(
const std::string & id
);
Creates the Content.
virtual ~Content();
Destroys the Content.
virtual void fixup() = 0;
Resolves references to actual types.
virtual OrderIterator iterator() const = 0;
Creates an iterator for the given order type.
virtual const std::vector < const Type * > & types() const = 0;
Returns the type referenced by the content. Can be null.