File Information
Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/SimpleTypeInheritance.h
Description
Describes how a simple type extends from another one.
Inheritance
Direct Base Classes: AnnotatedObject
All Base Classes: Poco::RefCountedObject, AnnotatedObject, Visitable
Known Derived Classes: ListTypeRef, SimpleRestrictionInlineType, List, Union, AbstractList, SimpleRestriction
Member Summary
Member Functions: fixup, isList, isRestriction, isUnion, types
Inherited Functions: accept, addAnnotation, duplicate, getAnnotations, id, referenceCount, release
Types Aliases
Ptr
using Ptr = AutoPtr < SimpleTypeInheritance >;
Constructors
SimpleTypeInheritance
Creates the SimpleTypeInheritance.
SimpleTypeInheritance
SimpleTypeInheritance(
const std::string & id
);
Creates the SimpleTypeInheritance.
Destructor
~SimpleTypeInheritance
virtual ~SimpleTypeInheritance();
Destroys the SimpleTypeInheritance.
Member Functions
fixup
virtual void fixup() = 0;
Replaces type references with the referenced type object.
isList
virtual bool isList() const = 0;
Inherit by list.
isRestriction
virtual bool isRestriction() const = 0;
True if we inherit by restriction.
isUnion
virtual bool isUnion() const = 0;
Inherit by union.
types
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.