Poco::XSD::Types

class ElementImpl

File Information

Library: XSD/Types
Package: XSDElements
Header: Poco/XSD/Types/ElementImpl.h

Description

ElementImpl handles the Element definition case with a unnamed complexType that is defined internally in the Element

Inheritance

Direct Base Classes: AbstractElementImpl

All Base Classes: Poco::RefCountedObject, AbstractElementImpl, AnnotatedObject, Content, Element, OrderContent, Visitable

Member Summary

Member Functions: accept, fixup, setType, type

Inherited Functions: accept, addAnnotation, duplicate, fixup, getAbstract, getAnnotations, getBlockExtension, getBlockRestriction, getBlockSubstitution, getDefault, getFinalExtension, getFinalRestriction, getFixed, getId, getMaxOccurs, getMinOccurs, getNillable, getQualified, getSubstitutionGroup, hasDefault, hasFixed, hasSubstitutionGroup, id, iterator, name, nameSpace, referenceCount, release, setAbstract, setBlockAll, setBlockExtension, setBlockRestriction, setBlockSubstitution, setDefault, setFinalAll, setFinalExtension, setFinalRestriction, setFixed, setId, setMaxOccurs, setMinOccurs, setName, setNillable, setQualified, setSubstitutionGroup, type, types

Constructors

ElementImpl

ElementImpl();

Creates the ElementImpl.

ElementImpl

ElementImpl(
    const std::string & id,
    Poco::UInt32 minOcc,
    Poco::UInt32 maxOcc,
    bool isAbstract,
    bool blockRestriction,
    bool blockExtension,
    bool blockSubstitution,
    const std::string & defaultValue,
    bool finalRestriction,
    bool finalExtension,
    const std::string & fixedValue,
    bool qualified,
    const std::string & name,
    const std::string & nameSpace,
    bool nillable,
    const QName & substitutionGroup = QName::INVALID
);

Creates an initialized ElementImpl

Destructor

~ElementImpl virtual

~ElementImpl();

Destroys the ElementImpl.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

fixup virtual

void fixup();

ElementImpl is fine, just fwd to the internal _pType.

setType

void setType(
    AutoPtr < Type > pType
);

Sets the type internally

type virtual inline

const Type & type() const;