# cxxClassRef

This element provides a C++ class topic type as a link in a DITA map.

## Description

A <cxxClassRef> can contain other <cxxClassRef> elements or <cxxStructRef> and <cxxUnionRef> elements; allowing you to express navigation or table-of-contents hierarchies.

## Example

    <cxxAPIMap id="GUID-A1E43BB6-B43A-38A0-870F-29A553C534EC" title="AMap">
                <cxxStructRef href="GUID-4D736120-454B-3952-ADFA-FEC7BDDE18F2.xml" navtitle="AClass::AStruct" />
                <cxxClassRef href="GUID-1F65F1EB-791C-32A4-A05E-3262BA816EF6.xml" navtitle="AClass" />
                <cxxFileRef href="GUID-15161A9C-9AC4-3B34-AADE-5294E5C7CCC2.xml" navtitle="AFile.h" />
                <cxxEnumRef href="GUID-4C504F67-7737-33A7-AA99-6F030423E4CB.xml" navtitle="AClass::anEnum" />
                <cxxFunctionRef href="GUID-1390F0BC-18FA-3E68-A5F7-25347A52A08C.xml" navtitle="AClass::aFunction(aParam,anotherParam)" />
                <cxxTypedefRef href="GUID-CB589BED-4E77-3CD9-83A8-516A4B47C223.xml" navtitle="AClass::aTypeDef" />
                <cxxUnionRef href="GUID-A6375D7C-47D4-38BB-946C-BF042C16F4BD.xml" navtitle="AClass::uAUnion" />
                <cxxDefineRef href="GUID-1EA4FECD-61BB-3D49-99B5-B4003993D383.xml" navtitle="AClass::aDefine" />
                <cxxVariableRef href="GUID-57906A69-F9F1-39FC-8A3E-6EC67BFBCFBA.xml" navtitle="AClass::aVariable" />
            </cxxAPIMap>

## Contained by

cxxStructRef cxxAPIMap cxxClassRef cxxUnionRef

## Contains

cxxClassRef cxxStructRef cxxUnionRef mapgroup-d-topicref, topicmeta, topicref,

## Content Model

(topicmeta, then (cxxClassRef or cxxStructRef or cxxUnionRef (any number) ) then (topicref, or mapgroup-d-topicref, (any number) ))

## Inheritance

map/topicref apiMap/apiItemRef cxxAPIMap/cxxClassRef

Parent topic: cxxAPIMap module