SRGDataManager::GetData

SRGraphData*SRGDataManager::GetData(intindex, intgroup)

Retrieve the SRGraphData object at the specified position.

Defined in: DataMgr.cpp

Return Value

SRGraphData* A pointer to the data object at the given position

Parameters

index

int index Zero-based index of the desired data object or -2 for the first object (head) or -1 for the last (tail)

group

int group Zero-based group index of the desired data object

Remarks

If the specified data object does not yet exist, it is created and the data lists are expanded.

Developer Notes

Generally, GetSafeData() should be used instead when the data object is supposed to exist.