Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/ComplexType.h
Direct Base Classes: Type
All Base Classes: Poco::RefCountedObject, AnnotatedObject, Type, Visitable
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
typedef AutoPtr < ComplexType > Ptr;
ComplexType(
const std::string & id,
const std::string & name,
bool isAbstract,
bool blockExtension,
bool blockRestriction,
bool finalExtension,
bool finalRestriction,
bool mixed
);
Creates the ComplexType.
virtual ~ComplexType();
Destroys the ComplexType.
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
void addAttribute(
AttributeContent::Ptr pAttr
);
Adds the attribute to the set.
const std::vector < AttributeContent::Ptr > & attributeContent() const;
Returns the attributes defined for the complex type.
bool blockExtension() const;
bool blockRestriction() const;
void createIterator(
std::vector < OrderIterator > & seq
) const;
See also: Poco::XSD::Types::Type::createIterator()
bool finalExtension() const;
bool finalRestriction() const;
void fixup();
Resolves type references to a parent class.
See also: Poco::XSD::Types::Type::fixup()
Content::Ptr getContent() const;
InheritanceInfo::Ptr getParent() const;
bool hasAnyAttribute() const;
Returns true if the any attribute is allowed.
bool isAbstract() const;
bool mixed() const;
const std::vector < const Type * > & parents() const;
See also: Poco::XSD::Types::Type::parents()
void setContent(
Content::Ptr ptr
);
void setParent(
InheritanceInfo::Ptr pInh
);