Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/Choice.h
Direct Base Classes: Order
All Base Classes: Poco::RefCountedObject, AnnotatedObject, CollectionContent, Content, Order, OrderContent, Visitable
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
typedef std::vector < OrderContent::Ptr > Content;
typedef AutoPtr < Choice > Ptr;
Choice(
const std::string & id,
Poco::UInt32 minOcc,
Poco::UInt32 maxOcc
);
Creates the Choice.
virtual ~Choice();
Destroys the Choice.
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
void add(
OrderContent::Ptr pChild
);
See also: Poco::XSD::Types::Order::add()
void fixup();
See also: Poco::XSD::Types::Content::fixup()
const Choice::Content & getContent() const;
Returns the children of the Choice collection.
OrderIterator iterator() const;
See also: Poco::XSD::Types::Content::iterator()