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