Poco::XSD::Types

class AttributeTypeRef

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

virtual ~AttributeTypeRef();

Destroys the AttributeTypeRef.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

defaultValue virtual

const std::string & defaultValue() const;

fixedValue virtual

const std::string & fixedValue() const;

fixup virtual

void fixup();

nameSpace virtual

const std::string & nameSpace() const;

qualifiedForm virtual

bool qualifiedForm() const;

type virtual

const SimpleType * type() const;

usage virtual

AbstractAttribute::Usage usage() const;