# cxxStructAccessSpecifier

The <cxxStructAccessSpecifier> element describes the level of access the struct allows.

## Description

The <cxxStructAccessSpecifier> element does not have any children. <cxxStructAccessSpecifier> uses the attribute value to describe the level of access a struct has. value can be set to "public", "protected" or "private"; the default is "public".

## Example

    <cxxStructDefinition>
        <cxxStructAccessSpecifier value="public" />
        <cxxStructAPIItemLocation>
            <cxxStructDeclarationFile name="filePath" value="s:/sf/os/commsfw/commsconfig/commsdatabaseshim/commdbshim/SCDB/CDBTABLE.CPP" />
            <cxxStructDeclarationFileLine name="lineNumber" value="37" />
            <cxxStructDefinitionFile name="filePath" value="s:/sf/os/commsfw/commsconfig/commsdatabaseshim/commdbshim/SCDB/CDBTABLE.CPP" />
            <cxxStructDefinitionFileLineStart name="lineNumber" value="36" />
            <cxxStructDefinitionFileLineEnd name="lineNumber" value="41" />
        </cxxStructAPIItemLocation>
    </cxxStructDefinition>

## Contained by

cxxStructDefinition

## Contains

## Content Model

No content.

## Inheritance

topic/state reference/state apiRef/apiQualifier apiClassifier/apiQualifier cxxStruct/cxxStructAccessSpecifier

Parent topic: cxxStruct module