File Information
Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/All.h
Description
Inheritance
Direct Base Classes: Order
All Base Classes: Poco::RefCountedObject, AnnotatedObject, CollectionContent, Content, Order, OrderContent, Visitable
Member Summary
Member Functions: accept, add, fixup, getContent, iterator
Inherited Functions: accept, add, addAnnotation, duplicate, fixup, getAnnotations, getId, getMaxOccurs, getMinOccurs, id, iterator, referenceCount, release, setId, setMaxOccurs, setMinOccurs, types
Types
Content
typedef std::map < std::string, Element::Ptr > Content;
Ptr
Constructors
All
All(
const std::string & id,
Poco::UInt32 minOcc
);
Creates the All.
Destructor
~All
virtual ~All();
Destroys the All.
Member Functions
accept
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
add
void add(
OrderContent::Ptr pChild
);
Note: All only accepts elements as children. If the order content cannot be cast to Element::Ptr it will throw an exception.
See also: Poco::XSD::Types::Order::add()
add
void add(
Element::Ptr pChild
);
Adds an element to the All collection
fixup
void fixup();
See also: Poco::XSD::Types::Content::fixup()
getContent
const All::Content & getContent() const;
Returns the children of the All collection
iterator
OrderIterator iterator() const;
See also: Poco::XSD::Types::Content::iterator()