| Xerces-C++
    3.2.3
    | 
 
  
| Public Types | |
| enum | CONTENT_TYPE { CONTENTTYPE_EMPTY = 0, CONTENTTYPE_SIMPLE = 1, CONTENTTYPE_ELEMENT = 2, CONTENTTYPE_MIXED = 3 } | 
|  Public Types inherited from XSTypeDefinition | |
| enum | TYPE_CATEGORY { COMPLEX_TYPE = 15, SIMPLE_TYPE = 16 } | 
| Public Member Functions | |
| Constructors | |
| XSComplexTypeDefinition (ComplexTypeInfo *const complexTypeInfo, XSWildcard *const xsWildcard, XSSimpleTypeDefinition *const xsSimpleType, XSAttributeUseList *const xsAttList, XSTypeDefinition *const xsBaseType, XSParticle *const xsParticle, XSAnnotation *const headAnnot, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
| The default constructor.  More... | |
| Destructor | |
| ~XSComplexTypeDefinition () | |
|  Public Member Functions inherited from XSTypeDefinition | |
| XSTypeDefinition (TYPE_CATEGORY typeCategory, XSTypeDefinition *const xsBaseType, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
| The default constructor.  More... | |
| virtual | ~XSTypeDefinition () | 
| TYPE_CATEGORY | getTypeCategory () const | 
| Return whether this type definition is a simple type or complex type.  More... | |
| bool | isFinal (short toTest) | 
| {final}.  More... | |
| short | getFinal () const | 
| For complex types the returned value is a bit combination of the subset of { DERIVATION_EXTENSION, DERIVATION_RESTRICTION} corresponding tofinalset of this type orDERIVATION_NONE.  More... | |
| bool | derivedFrom (const XMLCh *typeNamespace, const XMLCh *name) | 
| Convenience method: check if this type is derived from the given ancestor type.  More... | |
|  Public Member Functions inherited from XSObject | |
| XSObject (XSConstants::COMPONENT_TYPE compType, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
| The default constructor.  More... | |
| virtual | ~XSObject () | 
| XSConstants::COMPONENT_TYPE | getType () const | 
| The typeof this object, i.e.  More... | |
| virtual XMLSize_t | getId () const | 
| Optional.  More... | |
| void | setId (XMLSize_t id) | 
| methods needed by implementation  More... | |
|  Public Member Functions inherited from XMemory | |
| void * | operator new (size_t size) | 
| This method overrides operator new.  More... | |
| void * | operator new (size_t size, MemoryManager *memMgr) | 
| This method defines a custom operator new, that will use the provided memory manager to perform the allocation.  More... | |
| void * | operator new (size_t size, void *ptr) | 
| This method overrides placement operator new.  More... | |
| void | operator delete (void *p) | 
| This method overrides operator delete.  More... | |
| void | operator delete (void *p, MemoryManager *memMgr) | 
| This method provides a matching delete for the custom operator new.  More... | |
| void | operator delete (void *p, void *ptr) | 
| This method provides a matching delete for the placement new.  More... | |
| XSComplexTypeDefinition methods | |
| class | XSObjectFactory | 
| ComplexTypeInfo * | fComplexTypeInfo | 
| XSWildcard * | fXSWildcard | 
| XSAttributeUseList * | fXSAttributeUseList | 
| XSSimpleTypeDefinition * | fXSSimpleTypeDefinition | 
| XSAnnotationList * | fXSAnnotationList | 
| XSParticle * | fParticle | 
| short | fProhibitedSubstitution | 
| XSConstants::DERIVATION_TYPE | getDerivationMethod () const | 
| [derivation method]: either DERIVATION_EXTENSION,DERIVATION_RESTRICTION, orDERIVATION_NONE(seeXSObject).  More... | |
| bool | getAbstract () const | 
| [abstract]: a boolean.  More... | |
| XSAttributeUseList * | getAttributeUses () | 
| A set of attribute uses.  More... | |
| XSWildcard * | getAttributeWildcard () const | 
| Optional.An attribute wildcard.  More... | |
| CONTENT_TYPE | getContentType () const | 
| [content type]: one of empty ( CONTENTTYPE_EMPTY), a simple type definition (CONTENTTYPE_SIMPLE), mixed (CONTENTTYPE_MIXED), or element-only (CONTENTTYPE_ELEMENT).  More... | |
| XSSimpleTypeDefinition * | getSimpleType () const | 
| A simple type definition corresponding to simple content model, otherwise nullMore... | |
| XSParticle * | getParticle () const | 
| A particle for mixed or element-only content model, otherwise nullMore... | |
| bool | isProhibitedSubstitution (XSConstants::DERIVATION_TYPE toTest) | 
| [prohibited substitutions]: a subset of {extension, restriction}  More... | |
| short | getProhibitedSubstitutions () const | 
| [prohibited substitutions]: A subset of {extension, restriction} or DERIVATION_NONErepresented as a bit flag (seeXSObject).  More... | |
| XSAnnotationList * | getAnnotations () | 
| A set of [annotations].  More... | |
| const XMLCh * | getName () const | 
| The name of type NCNameof this declaration as defined in XML Namespaces.  More... | |
| const XMLCh * | getNamespace () const | 
| The [target namespace] of this object, or nullif it is unspecified.  More... | |
| XSNamespaceItem * | getNamespaceItem () | 
| A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.  More... | |
| bool | getAnonymous () const | 
| A boolean that specifies if the type definition is anonymous.  More... | |
| XSTypeDefinition * | getBaseType () | 
| {base type definition}: either a simple type definition or a complex type definition.  More... | |
| bool | derivedFromType (const XSTypeDefinition *const ancestorType) | 
| Convenience method: check if this type is derived from the given ancestorType.  More... | |
| Additional Inherited Members | |
|  Protected Member Functions inherited from XMemory | |
| XMemory () | |
| Protected default constructor.  More... | |
|  Protected Attributes inherited from XSTypeDefinition | |
| TYPE_CATEGORY | fTypeCategory | 
| short | fFinal | 
| XSTypeDefinition * | fBaseType | 
|  Protected Attributes inherited from XSObject | |
| XSConstants::COMPONENT_TYPE | fComponentType | 
| XSModel * | fXSModel | 
| MemoryManager * | fMemoryManager | 
| XMLSize_t | fId | 
| XSComplexTypeDefinition::XSComplexTypeDefinition | ( | ComplexTypeInfo *const | complexTypeInfo, | 
| XSWildcard *const | xsWildcard, | ||
| XSSimpleTypeDefinition *const | xsSimpleType, | ||
| XSAttributeUseList *const | xsAttList, | ||
| XSTypeDefinition *const | xsBaseType, | ||
| XSParticle *const | xsParticle, | ||
| XSAnnotation *const | headAnnot, | ||
| XSModel *const | xsModel, | ||
| MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager | ||
| ) | 
The default constructor.
| complexTypeInfo | |
| xsWildcard | |
| xsSimpleType | |
| xsAttList | |
| xsBaseType | |
| xsParticle | |
| headAnnot | |
| xsModel | |
| manager | The configurable memory manager | 
| XSComplexTypeDefinition::~XSComplexTypeDefinition | ( | ) | 
| 
 | virtual | 
Convenience method: check if this type is derived from the given ancestorType. 
| ancestorType | An ancestor type definition. | 
ancestorType. Implements XSTypeDefinition.
| bool XSComplexTypeDefinition::getAbstract | ( | ) | const | 
[abstract]: a boolean.
Complex types for which abstract is true must not be used as the type definition for the validation of element information items. 
| XSAnnotationList* XSComplexTypeDefinition::getAnnotations | ( | ) | 
A set of [annotations].
| 
 | virtual | 
A boolean that specifies if the type definition is anonymous.
Convenience attribute.
Implements XSTypeDefinition.
| XSAttributeUseList * XSComplexTypeDefinition::getAttributeUses | ( | ) | 
A set of attribute uses.
References fXSAttributeUseList.
| XSWildcard * XSComplexTypeDefinition::getAttributeWildcard | ( | ) | const | 
Optional.An attribute wildcard.
References fXSWildcard.
| 
 | virtual | 
{base type definition}: either a simple type definition or a complex type definition.
Implements XSTypeDefinition.
| CONTENT_TYPE XSComplexTypeDefinition::getContentType | ( | ) | const | 
[content type]: one of empty (CONTENTTYPE_EMPTY), a simple type definition (CONTENTTYPE_SIMPLE), mixed ( CONTENTTYPE_MIXED), or element-only ( CONTENTTYPE_ELEMENT). 
| XSConstants::DERIVATION_TYPE XSComplexTypeDefinition::getDerivationMethod | ( | ) | const | 
[derivation method]: either DERIVATION_EXTENSION, DERIVATION_RESTRICTION, or DERIVATION_NONE (see XSObject). 
| 
 | virtual | 
The name of type NCName of this declaration as defined in XML Namespaces. 
Implements XSTypeDefinition.
| 
 | virtual | 
The [target namespace] of this object, or null if it is unspecified. 
Implements XSTypeDefinition.
| 
 | virtual | 
A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.
Implements XSTypeDefinition.
| XSParticle * XSComplexTypeDefinition::getParticle | ( | ) | const | 
A particle for mixed or element-only content model, otherwise null 
References fParticle.
| short XSComplexTypeDefinition::getProhibitedSubstitutions | ( | ) | const | 
[prohibited substitutions]: A subset of {extension, restriction} or DERIVATION_NONE represented as a bit flag (see XSObject). 
References fProhibitedSubstitution.
| XSSimpleTypeDefinition * XSComplexTypeDefinition::getSimpleType | ( | ) | const | 
A simple type definition corresponding to simple content model, otherwise null 
References fXSSimpleTypeDefinition.
| bool XSComplexTypeDefinition::isProhibitedSubstitution | ( | XSConstants::DERIVATION_TYPE | toTest | ) | 
[prohibited substitutions]: a subset of {extension, restriction}
| toTest | Extension or restriction constants (see XSObject). | 
| 
 | friend | 
| 
 | protected | 
| 
 | protected | 
Referenced by getParticle().
| 
 | protected | 
Referenced by getProhibitedSubstitutions().
| 
 | protected | 
| 
 | protected | 
Referenced by getAttributeUses().
| 
 | protected | 
Referenced by getSimpleType().
| 
 | protected | 
Referenced by getAttributeWildcard().
 1.8.17
 1.8.17