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