Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/OrderContent.h
OrderContent is the super class for all children of an Order, ie. sequence, choice, all, group.
Direct Base Classes: Content
All Base Classes: Poco::RefCountedObject, AnnotatedObject, Content, Visitable
Known Derived Classes: AbstractElementImpl, AbstractGroup, All, Any, Choice, CollectionContent, Element, ElementImpl, ElementTypeRef, ElementRef, GroupRef, Group, Order, Sequence
Member Functions: getId, getMaxOccurs, getMinOccurs, setId, setMaxOccurs, setMinOccurs, types
Inherited Functions: accept, addAnnotation, duplicate, fixup, getAnnotations, id, iterator, referenceCount, release, types
typedef Poco::AutoPtr < OrderContent > Ptr;
OrderContent();
Creates the OrderContent.
OrderContent(
const std::string & id,
Poco::UInt32 minOcc,
Poco::UInt32 maxOcc
);
Creates the OrderContent.
virtual ~OrderContent();
Destroys the OrderContent.
const std::string & getId() const;
Returns the id.
Poco::UInt32 getMaxOccurs() const;
Returns how often an object can occur at most in the XML instance.
Poco::UInt32 getMinOccurs() const;
Returns how often an object must occur at least in the XML instance.
void setId(
const std::string & id
);
Sets the id.
void setMaxOccurs(
Poco::UInt32 maxOcc
);
Sets how often an object can occur at most in the XML instance.
void setMinOccurs(
Poco::UInt32 minOcc
);
Sets how often an object must occur at least in the XML instance.
const std::vector < const Type * > & types() const;
OrderContent never references existing content. Returns empty vector.
See also: Poco::XSD::Types::Content::types()