# cxxVariableDeclaredType

The <cxxVariableDeclaredType> element specifies the variable data type in the declaration.

## Description

The optional <cxxVariableDeclaredType> element contains any number of CDATA and <apiRelation> elements. The <apiRelation> elements provide links to the documentation of each data type in the declaration.

A CDATA field may be used to show any C++ keywords associated with the declaration e.g. const or static.

## Example

    <cxxVariableDeclaredType>const <apiRelation href="GUID-FC2F2B93-3D18-3BCC-9FD6-6BC6B240B667.xml">TUint</apiRelation></cxxVariableDeclaredType>

## Example

    <cxxVariableDeclaredType>
        <apiRelation href="GUID-12C65B99-553E-35CA-B36F-2F77BFC972B3.xml">CArrayFixFlat</apiRelation>< <apiRelation href="GUID-C8DA9E1C-33A6-33B3-8D75-6B5F6F3BA20F.xml">CProtocolBase</apiRelation> * > *
    </cxxVariableDeclaredType>

## Contained by

cxxVariableDefinition

## Contains

apiRelation,

## Content Model

apiRelation,

## Inheritance

topic/ph reference/ph apiRef/apiDefItem apiValue/apiDefItem cxxVariable/cxxVariableDeclaredType

Parent topic: cxxVariable module