Poco::XSD::Types

class OrderContent

File Information

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

Description

OrderContent is the super class for all children of an Order, ie. sequence, choice, all, group.

Inheritance

Direct Base Classes: Content

All Base Classes: Poco::RefCountedObject, AnnotatedObject, Content, Visitable

Known Derived Classes: ElementTypeRef, CollectionContent, Any, All, Order, ElementRef, Group, Sequence, AbstractElementImpl, AbstractGroup, Element, ElementImpl, GroupRef, Choice

Member Summary

Member Functions: getId, getMaxOccurs, getMinOccurs, setId, setMaxOccurs, setMinOccurs, types

Inherited Functions: accept, addAnnotation, duplicate, fixup, getAnnotations, id, iterator, referenceCount, release, types

Types Aliases

Ptr

using Ptr = Poco::AutoPtr < OrderContent >;

Constructors

OrderContent

OrderContent();

Creates the OrderContent.

OrderContent

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

Creates the OrderContent.

Destructor

~OrderContent virtual

virtual ~OrderContent();

Destroys the OrderContent.

Member Functions

getId inline

const std::string & getId() const;

Returns the id.

getMaxOccurs inline

Poco::UInt32 getMaxOccurs() const;

Returns how often an object can occur at most in the XML instance.

getMinOccurs inline

Poco::UInt32 getMinOccurs() const;

Returns how often an object must occur at least in the XML instance.

setId inline

void setId(
    const std::string & id
);

Sets the id.

setMaxOccurs inline

void setMaxOccurs(
    Poco::UInt32 maxOcc
);

Sets how often an object can occur at most in the XML instance.

setMinOccurs inline

void setMinOccurs(
    Poco::UInt32 minOcc
);

Sets how often an object must occur at least in the XML instance.

types virtual

const std::vector < const Type * > & types() const;

OrderContent never references existing content. Returns empty vector.

Securely control IoT edge devices from anywhere   Connect a Device