altova::meta::SimpleType

www.altova.com Imprimer cette rubrique Page précédente Un niveau supérieur Page suivante

Accueil >  Manuel de l'utilisateur et référence > Code Generator > Reference to Generated Classes (C++) >

altova::meta::SimpleType

This class enables you to access schema information about classes generated from simple types. Note that this class is not meant to provide dynamic information about particular instances of simple types in an XML document. Instead, it enables you to obtain programmatically information about a particular simple type defined in the XML schema.

 

Methods

Name

Description

SimpleType GetBaseType()

Returns the base type of this type.

std::vector<string_type> GetEnumerations()

Returns a list of all enumeration facets.

unsigned int GetFractionDigits()

Returns the value of this facet.

unsigned int GetLength()

Returns the value of this facet.

string_type GetLocalName()

Returns the local name of the type.

string_type GetMaxExclusive()

Returns the value of this facet.

string_type GetMaxInclusive()

Returns the value of this facet.

unsigned int GetMaxLength()

Returns the value of this facet.

string_type GetMinExclusive()

Returns the value of this facet.

string_type GetMinInclusive()

Returns the value of this facet.

unsigned int GetMinLength()

Returns the value of this facet.

string_type GetNamespaceURI()

Returns the namespace URI of the type.

std::vector<string_type> GetPatterns()

Returns a list of all pattern facets.

unsigned int GetTotalDigits()

Returns the value of this facet.

WhitespaceType GetWhitespace()

Returns the value of the whitespace facet, which is one of:

Whitespace_Unknown
Whitespace_Preserve
Whitespace_Replace
Whitespace_Collapse

 

Operators

Name

Description

bool operator()

Returns true if this is not the NULL SimpleType.

bool operator!()

Returns true if this is the NULL SimpleType.


© 2018 Altova GmbH