Poco::XSD::Types

class Group

File Information

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

Description

This class represents an element group in an XML Schema.

Inheritance

Direct Base Classes: AbstractGroup

All Base Classes: Poco::RefCountedObject, AbstractGroup, AnnotatedObject, CollectionContent, Content, OrderContent, Visitable

Member Summary

Member Functions: accept, fixup, getChild, name, setChild

Inherited Functions: accept, addAnnotation, duplicate, fixup, getAnnotations, getChild, getId, getMaxOccurs, getMinOccurs, id, iterator, name, referenceCount, release, setId, setMaxOccurs, setMinOccurs, types

Types

Ptr

typedef AutoPtr < Group > Ptr;

Constructors

Group

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

Creates the Group.

Destructor

~Group virtual

virtual ~Group();

Destroys the Group.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

fixup virtual

void fixup();

getChild virtual inline

Order::Ptr getChild() const;

name virtual inline

const std::string & name() const;

Returns the non-empty name.

setChild inline

void setChild(
    Order::Ptr ptr
);