File Information
Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/ComplexType.h
Description
Inheritance
Direct Base Classes: Type
All Base Classes: Poco::RefCountedObject, AnnotatedObject, Type, Visitable
Member Summary
Member Functions: accept, addAttribute, attributeContent, blockExtension, blockRestriction, createIterator, finalExtension, finalRestriction, fixup, getContent, getParent, hasAnyAttribute, isAbstract, mixed, parents, setContent, setParent
Inherited Functions: accept, addAnnotation, createIterator, duplicate, fixup, getAnnotations, getSchema, id, iterator, iteratorRec, name, parents, referenceCount, release, setName, setSchema
Types Aliases
Ptr
using Ptr = AutoPtr < ComplexType >;
Constructors
ComplexType
ComplexType(
const std::string & id,
const std::string & name,
bool isAbstract,
bool blockExtension,
bool blockRestriction,
bool finalExtension,
bool finalRestriction,
bool mixed
);
Creates the ComplexType.
Destructor
~ComplexType
virtual ~ComplexType();
Destroys the ComplexType.
Member Functions
accept
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
addAttribute
void addAttribute(
AttributeContent::Ptr pAttr
);
Adds the attribute to the set.
attributeContent
const std::vector < AttributeContent::Ptr > & attributeContent() const;
Returns the attributes defined for the complex type.
blockExtension
bool blockExtension() const;
blockRestriction
bool blockRestriction() const;
createIterator
void createIterator(
std::vector < OrderIterator > & seq
) const;
See also: Poco::XSD::Types::Type::createIterator()
finalExtension
bool finalExtension() const;
finalRestriction
bool finalRestriction() const;
fixup
void fixup();
Resolves type references to a parent class.
See also: Poco::XSD::Types::Type::fixup()
getContent
Content::Ptr getContent() const;
getParent
InheritanceInfo::Ptr getParent() const;
hasAnyAttribute
bool hasAnyAttribute() const;
Returns true if the any attribute is allowed.
isAbstract
bool isAbstract() const;
mixed
bool mixed() const;
parents
const std::vector < const Type * > & parents() const;
See also: Poco::XSD::Types::Type::parents()
setContent
void setContent(
Content::Ptr ptr
);
setParent
void setParent(
InheritanceInfo::Ptr pInh
);