# cxxDefineAPIItemLocation

The <cxxDefineAPIItemLocation> element is defined within <cxxDefineDefinition>. <cxxDefineAPIItemLocation> specifies the location of the API.

## Description

The <cxxDefineAPIItemLocation> element must contain the location of the API declaration using <cxxDefineDeclarationFile> and <cxxDefineDeclarationFileLine>; the location of the API definition is optional.

## Example

    <cxxDefineAPIItemLocation>
        <cxxDefineDeclarationFile name="filePath" value="C:/EPOC/master/sf/os/commsfw/commsfwsupport/commselements/commsfw/src/cfperfmetrics.cpp"/>
        <cxxDefineDeclarationFileLine name="lineNumber" value="17"/>
    </cxxDefineAPIItemLocation>

## Contained by

cxxDefineDefinition

## Contains

cxxDefineDeclarationFile cxxDefineDeclarationFileLine

## Content Model

(cxxDefineDeclarationFile then cxxDefineDeclarationFileLine )

## Inheritance

topic/ph reference/ph apiRef/apiDefItem apiOperation/apiDefItem cxxDefine/cxxDefineAPIItemLocation

Parent topic: cxxDefine module