Poco::XSD::Types

class Choice

File Information

Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/Choice.h

Description

This class represents the XML Schema choice element group.

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

virtual ~Choice();

Destroys the Choice.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

add virtual

void add(
    OrderContent::Ptr pChild
);

fixup virtual

void fixup();

getContent inline

const Choice::Content & getContent() const;

Returns the children of the Choice collection.

iterator virtual

OrderIterator iterator() const;

Securely control IoT edge devices from anywhere   Connect a Device