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