<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
-->
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference xml:lang="en-us" outputclass="element" id="cxxStruct">
<title>cxxStruct</title>
<shortdesc>The <cxxStruct> element provides the name of the C++ API
struct, all the elements necessary to describe the members that are introduced
by the struct declaration, and the members inherited from the direct base struct.</shortdesc>
<refbody>
<section>
<title>Description</title>
<p>The <cxxStruct> element requires
an ID attribute as an anchor point; this ID must always be specified. The
ID attribute is referenced by the <i>conref</i> attribute and internal applications
that refer to the <cxxStruct> element content. The elements <apiName>
and <cxxStructDetail> are required for this top-level container. </p>
</section>
<example>
<title>Example</title>
<codeblock><cxxClass id="GUID-697DBFB2-9EB6-3C22-BB12-92FDF3A03DF4">
<apiName>CSocketServer</apiName>
<cxxClassDetail>
<cxxClassDefinition>
<cxxClassAccessSpecifier value="public" />
<cxxClassAPIItemLocation>
<cxxClassDeclarationFile name="filePath" value="s:/sf/os/commsfw/datacommsserver/esockserver/inc/ss_std.h" />
<cxxClassDeclarationFileLine name="lineNumber" value="309" />
</cxxClassAPIItemLocation>
</cxxClassDefinition>
<apiDesc />
</cxxClassDetail>
</cxxClass>
</codeblock>
</example>
<section conref="../packagedef.dita#cxxStruct-reference/cxxStruct-containedBy-section"/>
<section conref="../packagedef.dita#cxxStruct-reference/cxxStruct-contains-section"/>
<section conref="../packagedef.dita#cxxStruct-reference/cxxStruct-contentModel-section"/>
<section conref="../packagedef.dita#cxxStruct-reference/cxxStruct-attList-section"/>
<section conref="../packagedef.dita#cxxStruct-reference/cxxStruct-classValue-section"/>
</refbody>
</reference>