SRGDataManager::GetSafeData

SRGraphData*SRGDataManager::GetSafeData(intindex, intgroup)

Retrieve the SRGraphData object at the specified position with enhanced exception handling

Defined in: DataMgr.cpp

Return Value

SRGraphData* Pointer to the data object in the specified position. If the no data object exists at the specified position (index,group), a dummy data object is returned. For other errors, an exception is thrown.

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 of the desired data object