# cxxStructDerivation

The <cxxStructDerivation> element specifies a single struct derivation within a list of struct derivations.

## Description

Used within a <cxxStructDerivations> element to specify a single struct derivation. Must contain a <cxxStructDerivationAccessSpecifier> and either a <cxxStructBaseStruct>, <cxxStructBaseStruct> or <cxxStructBaseUnion>.

## Example

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

## Contained by

cxxClassDerivations cxxStructDerivations

## Contains

cxxStructBaseClass cxxStructBaseStruct cxxStructBaseUnion cxxStructDerivationAccessSpecifier cxxStructDerivationVirtual

## Content Model

(cxxStructDerivationAccessSpecifier then cxxStructDerivationVirtual (any number) then (cxxStructBaseClass or cxxStructBaseStruct or cxxStructBaseUnion (any number) ))

## Inheritance

topic/ph reference/ph apiRef/apiDefItem apiClassifier/apiDefItem cxxStruct/cxxStructDerivation

Parent topic: cxxStruct module