File Information
Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/Choice.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 Aliases
Content
using Content = std::vector < OrderContent::Ptr >;
Ptr
using Ptr = AutoPtr < Choice >;
Constructors
Choice
Choice(
const std::string & id,
Poco::UInt32 minOcc,
Poco::UInt32 maxOcc
);
Creates the Choice.
Destructor
~Choice
virtual ~Choice();
Destroys the Choice.
Member Functions
accept
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
add
void add(
OrderContent::Ptr pChild
);
See also: Poco::XSD::Types::Order::add()
fixup
void fixup();
See also: Poco::XSD::Types::Content::fixup()
getContent
const Choice::Content & getContent() const;
Returns the children of the Choice collection.
iterator
OrderIterator iterator() const;
See also: Poco::XSD::Types::Content::iterator()