altova::meta::Attribute

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  User Guide and Reference > Code Generator > Reference to Generated Classes (C++) >

altova::meta::Attribute

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

 

Methods

Name

Description

SimpleType GetDataType()

Returns the type of the attribute content.

string_type GetLocalName()

Returns the local name of the attribute.

string_type GetNamespaceURI()

Returns the namespace URI of the attribute.

bool IsRequired()

Returns true if the attribute is required.

 

Operators

Name

Description

bool operator()

Returns true if this is not the NULL Attribute.

bool operator!()

Returns true if this is the NULL Attribute.


© 2019 Altova GmbH