Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/SimpleTypeInheritance.h
Describes how a simple type extends from another one.
Direct Base Classes: AnnotatedObject
All Base Classes: Poco::RefCountedObject, AnnotatedObject, Visitable
Known Derived Classes: AbstractList, List, ListTypeRef, SimpleRestriction, SimpleRestrictionInlineType, Union
Member Functions: fixup, isList, isRestriction, isUnion, types
Inherited Functions: accept, addAnnotation, duplicate, getAnnotations, id, referenceCount, release
typedef AutoPtr < SimpleTypeInheritance > Ptr;
Creates the SimpleTypeInheritance.
SimpleTypeInheritance(
const std::string & id
);
Creates the SimpleTypeInheritance.
virtual ~SimpleTypeInheritance();
Destroys the SimpleTypeInheritance.
virtual void fixup() = 0;
Replaces type references with the referenced type object.
virtual bool isList() const = 0;
Inherit by list.
virtual bool isRestriction() const = 0;
True if we inherit by restriction.
virtual bool isUnion() const = 0;
Inherit by union.
virtual const std::vector < const Type * > & types() const = 0;
Returns the types that we inherit from. Will only contain more than one element for the union case.