22 #if !defined(XERCESC_INCLUDE_GUARD_XSTYPEDEFINITION_HPP) 23 #define XERCESC_INCLUDE_GUARD_XSTYPEDEFINITION_HPP 131 bool isFinal(
short toTest);
143 short getFinal()
const;
149 virtual bool getAnonymous()
const = 0;
158 virtual bool derivedFromType(
const XSTypeDefinition*
const ancestorType) = 0;
168 bool derivedFrom(
const XMLCh* typeNamespace,
203 return fTypeCategory;
virtual const XMLCh * getName() const
The name of type NCName of this declaration as defined in XML Namespaces.
virtual XSNamespaceItem * getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.
Definition: XSNamespaceItem.hpp:53
XSTypeDefinition * fBaseType
Definition: XSTypeDefinition.hpp:198
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
Definition: XSModel.hpp:59
TYPE_CATEGORY fTypeCategory
Definition: XSTypeDefinition.hpp:196
Configurable memory manager.
Definition: MemoryManager.hpp:39
virtual const XMLCh * getNamespace() const
The [target namespace] of this object, or null if it is unspecified.
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
short fFinal
Definition: XSTypeDefinition.hpp:197
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
TYPE_CATEGORY
Definition: XSTypeDefinition.hpp:43
Definition: XSObject.hpp:42
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
short getFinal() const
For complex types the returned value is a bit combination of the subset of {DERIVATION_EXTENSION, DERIVATION_RESTRICTION} corresponding to final set of this type or DERIVATION_NONE.
Definition: XSTypeDefinition.hpp:206
TYPE_CATEGORY getTypeCategory() const
Return whether this type definition is a simple type or complex type.
Definition: XSTypeDefinition.hpp:201
This class represents a complexType or simpleType definition.
Definition: XSTypeDefinition.hpp:39