# cxxStructDerivationAccessSpecifier

The <cxxStructDerivationAccessSpecifier> element indicates the access specifier used when a struct inherits from another struct.

## Description

The <cxxStructDerivationAccessSpecifier> element is contained within a <cxxStructDerivation> element. The value attribute is set to public, protected or private to describe the access the struct has on the members of the base that is being derived from. The base referered to by the <cxxStructDerivationAccessSpecifier> element is indicated by using either a <cxxStructBaseStruct>, <cxxStructBaseStruct> or <cxxStructBaseUnion> element as a sibling of <cxxStructDerivationAccessSpecifier>.

## Example

    <cxxStructDerivation>
    	<cxxStructDerivationAccessSpecifier value="public"/>
    	<cxxStructBaseStruct href="struct_base">Base</cxxStructBaseStruct>
    </cxxStructDerivation>

## Contained by

cxxStructDerivation

## Contains

## Content Model

No content.

## Inheritance

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

Parent topic: cxxStruct module