Poco::XSD::Types

class All

File Information

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

Description

This class represents the XML Schema all 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::map < std::string, Element::Ptr >;

Ptr

using Ptr = AutoPtr < All >;

Constructors

All

All(
    const std::string & id,
    Poco::UInt32 minOcc
);

Creates the All.

Destructor

~All virtual

virtual ~All();

Destroys the All.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

add virtual

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.

add

void add(
    Element::Ptr pChild
);

Adds an element to the All collection

fixup virtual

void fixup();

getContent inline

const All::Content & getContent() const;

Returns the children of the All collection

iterator virtual

OrderIterator iterator() const;

Securely control IoT edge devices from anywhere   Connect a Device