Library: XSD/Types
Package: XSDAttributes
Header: Poco/XSD/Types/AttributeContent.h
The base class for Attribute and AttributeGroup classes.
Direct Base Classes: AnnotatedObject
All Base Classes: Poco::RefCountedObject, AnnotatedObject, Visitable
Known Derived Classes: AbstractAttribute, AbstractAttributeGroup, AnyAttribute, Attribute, AttributeGroupRef, AttributeGroup, AttributeTypeRef, AttributeRef
Member Functions: fixup, isAny, name
Inherited Functions: accept, addAnnotation, duplicate, getAnnotations, id, referenceCount, release
typedef AutoPtr < AttributeContent > Ptr;
AttributeContent(
const std::string & id,
const std::string & name
);
Creates the AttributeContent.
virtual ~AttributeContent();
Destroys the AttributeContent.
virtual void fixup() = 0;
Resolves all references to types and AttributeRefs
virtual bool isAny() const = 0;
Returns true for the any attribute.
virtual const std::string & name() const;
The name of the attribute. Only set for root level attributes.