Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/SimpleRestrictionInlineType.h
Direct Base Classes: SimpleTypeInheritance
All Base Classes: Poco::RefCountedObject, AnnotatedObject, SimpleTypeInheritance, Visitable
Member Functions: accept, fixup, isList, isRestriction, isUnion, setType, types
Inherited Functions: accept, addAnnotation, duplicate, fixup, getAnnotations, id, isList, isRestriction, isUnion, referenceCount, release, types
SimpleRestrictionInlineType(
const std::string & id
);
Creates the SimpleRestrictionInlineType.
virtual ~SimpleRestrictionInlineType();
Destroys the SimpleRestrictionInlineType.
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
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
void setType(
AutoPtr < SimpleType > ptr
);
the inline type definition for the restriction can be set here
const std::vector < const Type * > & types() const;
Returns the type that we inherit from