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, OrderContent, CollectionContent, Any, All, Order, ElementRef, Group, Sequence, AbstractElementImpl, AbstractGroup, Element, ElementImpl, GroupRef, Choice
Member Summary
Member Functions: fixup, iterator, types
Inherited Functions: accept, addAnnotation, duplicate, getAnnotations, id, referenceCount, release
Types Aliases
Ptr
using Ptr = AutoPtr < Content >;
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.