Library: XSD/Types
Package: XSDAttributes
Header: Poco/XSD/Types/AttributeTypeRef.h
A reference to an attribute type.
Direct Base Classes: AbstractAttribute
All Base Classes: Poco::RefCountedObject, AbstractAttribute, AnnotatedObject, AttributeContent, Visitable
Member Functions: accept, defaultValue, fixedValue, fixup, nameSpace, qualifiedForm, type, usage
Inherited Functions: accept, addAnnotation, defaultValue, duplicate, fixedValue, fixup, getAnnotations, hasDefault, hasFixed, id, isAny, name, nameSpace, qualifiedForm, referenceCount, release, type, usage
typedef AutoPtr < AttributeTypeRef > Ptr;
AttributeTypeRef(
const std::string & id,
const std::string & name,
const std::string & nameSpace,
const QName & typeRef,
const std::string & fixedValue,
const std::string & defaultValue,
bool qualifiedForm,
AbstractAttribute::Usage use = AbstractAttribute::USE_OPTIONAL
);
Creates the AttributeTypeRef.
virtual ~AttributeTypeRef();
Destroys the AttributeTypeRef.
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
const std::string & defaultValue() const;
const std::string & fixedValue() const;
void fixup();
const std::string & nameSpace() const;
bool qualifiedForm() const;
const SimpleType * type() const;
AbstractAttribute::Usage usage() const;