C4 Engine
C4 Engine API Documentation

DataStructure::GetDataElementCount

Defined in:  TSOpenDDL.h
Returns the total number of data elements stored in a data structure.
Prototype

int32 GetDataElementCount(voidconst;

Description
The GetDataElementCount function returns the total number of individual primitive data elements stored in a data structure. If a data structure contains subarrays, then this function returns the number of elements in each subarray multiplied by the total number of subarrays.
See Also

DataStructure::GetDataElement

DataStructure::GetArrayDataElement

PrimitiveStructure::GetArraySize