File Information
Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/SimpleRestriction.h
Description
Inheritance
Direct Base Classes: SimpleTypeInheritance
All Base Classes: Poco::RefCountedObject, AnnotatedObject, SimpleTypeInheritance, Visitable
Member Summary
Member Functions: accept, baseTypeRef, fixup, isList, isRestriction, isUnion, types
Inherited Functions: accept, addAnnotation, duplicate, fixup, getAnnotations, id, isList, isRestriction, isUnion, referenceCount, release, types
Constructors
SimpleRestriction
SimpleRestriction(
const std::string & id,
const QName & baseClass
);
Creates the SimpleRestriction.
Destructor
~SimpleRestriction
virtual ~SimpleRestriction();
Destroys the SimpleRestriction.
Member Functions
accept
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
baseTypeRef
const QName & baseTypeRef() const;
Returns the type reference of the base class.
fixup
void fixup();
Replaces type references with the referenced type object.
isList
bool isList() const;
True if we inherit by list, thus returns false.
isRestriction
bool isRestriction() const;
True if we inherit by restriction.
isUnion
bool isUnion() const;
True if we inherit by Union, thus returns false.
types
const std::vector < const Type * > & types() const;
Returns the type that we inherit from.