File Information
Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/Sequence.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 < Sequence >;
Constructors
Sequence
Sequence(
const std::string & id,
Poco::UInt32 minOcc,
Poco::UInt32 maxOcc
);
Creates the Sequence.
Destructor
~Sequence
virtual ~Sequence();
Destroys the Sequence.
Member Functions
accept
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
add
void add(
OrderContent::Ptr pChild
);
Adds a child to the end of the sequence
See also: Poco::XSD::Types::Order::add()
fixup
void fixup();
See also: Poco::XSD::Types::Content::fixup()
getContent
const Sequence::Content & getContent() const;
Returns all the children in the sequence
iterator
OrderIterator iterator() const;
See also: Poco::XSD::Types::Content::iterator()