DataStructure::GetDataElement
Defined in:
Returns a single data element stored in a data structure.
TSOpenDDL.h
Prototype
const PrimType& GetDataElement(int32 index) const;
Parameters
index |
The zero-based index of the data element to retrieve. |
Description
The GetDataElement
function returns a single primitive data element stored in a data structure. The legal values of the index
parameter range from zero to n −1, inclusive, where n is the total count of data elements returned by the DataStructure::GetDataElementCount
function.The
PrimType
type is defined by the class corresponding to the type
template parameter associated with the particular specialization of the DataStructure
class template.
See Also
DataStructure::GetArrayDataElement