File Information
Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/SimpleType.h
Description
Inheritance
Direct Base Classes: Type
All Base Classes: Poco::RefCountedObject, AnnotatedObject, Type, Visitable
Member Summary
Member Functions: accept, createIterator, finalList, finalRestriction, finalUnion, fixup, getContent, parents, setContent
Inherited Functions: accept, addAnnotation, createIterator, duplicate, fixup, getAnnotations, getSchema, id, iterator, iteratorRec, name, parents, referenceCount, release, setName, setSchema
Types Aliases
Ptr
using Ptr = AutoPtr < SimpleType >;
Constructors
SimpleType
SimpleType();
Creates the SimpleType.
SimpleType
SimpleType(
const std::string & id,
const std::string & name,
bool finalRestriction,
bool finalList,
bool finalUnion
);
Creates the Type.
Destructor
~SimpleType
virtual ~SimpleType();
Destroys the SimpleType.
Member Functions
accept
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
createIterator
void createIterator(
std::vector < OrderIterator > & seq
) const;
See also: Poco::XSD::Types::Type::createIterator()
finalList
bool finalList() const;
Returns if this is a type that can be used by another one as list content.
finalRestriction
bool finalRestriction() const;
Returns if inheritance by restriction is final.
finalUnion
bool finalUnion() const;
Returns if this is a type that can be used by another one as union content.
fixup
void fixup();
Resolves type references to a parent class.
See also: Poco::XSD::Types::Type::fixup()
getContent
SimpleTypeInheritance::Ptr getContent() const;
Returns the content. Note that builtin types will have a null content because they do not inherit from another type.
parents
const std::vector < const Type * > & parents() const;
See also: Poco::XSD::Types::Type::parents()
setContent
void setContent(
SimpleTypeInheritance::Ptr pContent
);