Poco::XSD::Types

class SimpleRestrictionInlineType

Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/SimpleRestrictionInlineType.h

Inheritance

Direct Base Classes: SimpleTypeInheritance

All Base Classes: Poco::RefCountedObject, AnnotatedObject, SimpleTypeInheritance, Visitable

Member Summary

Member Functions: accept, fixup, isList, isRestriction, isUnion, setType, types

Inherited Functions: accept, addAnnotation, duplicate, fixup, getAnnotations, id, isList, isRestriction, isUnion, referenceCount, release, types

Constructors

SimpleRestrictionInlineType

SimpleRestrictionInlineType(
    const std::string & id
);

Creates the SimpleRestrictionInlineType.

Destructor

~SimpleRestrictionInlineType virtual

virtual ~SimpleRestrictionInlineType();

Destroys the SimpleRestrictionInlineType.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

See also: Poco::XSD::Types::Visitable::accept()

fixup virtual

void fixup();

Replaces type references with the referenced type object.

See also: Poco::XSD::Types::SimpleTypeInheritance::fixup()

isList virtual inline

bool isList() const;

True if we inherit by list, thus returns false

See also: Poco::XSD::Types::SimpleTypeInheritance::isList()

isRestriction virtual inline

bool isRestriction() const;

True if we inherit by restriction

See also: Poco::XSD::Types::SimpleTypeInheritance::isRestriction()

isUnion virtual inline

bool isUnion() const;

True if we inherit by Union, thus returns false

See also: Poco::XSD::Types::SimpleTypeInheritance::isUnion()

setType

void setType(
    AutoPtr < SimpleType > ptr
);

the inline type definition for the restriction can be set here

types virtual inline

const std::vector < const Type * > & types() const;

Returns the type that we inherit from

See also: Poco::XSD::Types::SimpleTypeInheritance::types()