altova::meta::Attribute

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  ユーザーマニュアル > 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.


(C) 2018 Altova GmbH