File Information
Library: XSD/Types
Package: XSDAttributes
Header: Poco/XSD/Types/AttributeTypeRef.h
Description
A reference to an attribute type.
Inheritance
Direct Base Classes: AbstractAttribute
All Base Classes: Poco::RefCountedObject, AbstractAttribute, AnnotatedObject, AttributeContent, Visitable
Member Summary
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
Types
Ptr
typedef AutoPtr < AttributeTypeRef > Ptr;
Constructors
AttributeTypeRef
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.
Destructor
~AttributeTypeRef
virtual ~AttributeTypeRef();
Destroys the AttributeTypeRef.
Member Functions
accept
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
defaultValue
const std::string & defaultValue() const;
fixedValue
const std::string & fixedValue() const;
fixup
void fixup();
nameSpace
const std::string & nameSpace() const;
qualifiedForm
bool qualifiedForm() const;
type
const SimpleType * type() const;
usage
AbstractAttribute::Usage usage() const;