File Information
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 ~SimpleRestrictionInlineType();
Destroys the SimpleRestrictionInlineType.
Member Functions
accept
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
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
setType
void setType(
AutoPtr < SimpleType > ptr
);
the inline type definition for the restriction can be set here
types
const std::vector < const Type * > & types() const;
Returns the type that we inherit from