Poco::XSD::Types

class AttributeContent

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: AbstractAttributeGroup, AnyAttribute, AbstractAttribute, AttributeTypeRef, AttributeGroup, AttributeRef, Attribute, AttributeGroupRef

Member Summary

Member Functions: fixup, isAny, name

Inherited Functions: accept, addAnnotation, duplicate, getAnnotations, id, referenceCount, release

Types

Ptr

typedef AutoPtr < AttributeContent > Ptr;

Constructors

AttributeContent

AttributeContent(
    const std::string & id,
    const std::string & name
);

Creates the AttributeContent.

Destructor

~AttributeContent virtual

virtual ~AttributeContent();

Destroys the AttributeContent.

Member Functions

fixup virtual

virtual void fixup() = 0;

Resolves all references to types and AttributeRefs

isAny virtual

virtual bool isAny() const = 0;

Returns true for the any attribute.

name virtual inline

virtual const std::string & name() const;

The name of the attribute. Only set for root level attributes.