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