SRGraphPosition::m_pSubject

void *  SRGraphPosition::m_pSubject

Points to the subject of the interrogation

Remarks

This may be either a pointer to an SRGraphComponent object or a pointer to a CPtrList containing, in turn, pointers to multiple SRGraphComponent objects. To ascertain the position type (ie. single or multiple SRGDisplayBase hits), call GetPosType first. If the position is single (CX_POSITION_SINGLE), then use GetComponent() to retrieve the pointer. If it is multiple, you must use GetList() to retrieve the CPtrList pointer. Effectively, these routines simply return the m_pSubject pointer cast to the correct type. However some error checking and verification are done first so it is best to use the routines provided.