SRGWizSheet::GetComponentName
CStringSRGWizSheet::GetComponentName(SRGraphComponent*gc)
Create a new name for the given component. If the component already has a name and is not used by other components in the component list, it just return the name of this component. If it is used by other component in the list, then it add a suffix to the end of the name to prevent name collision. If no name is given to this component, then it create a new name base on the component type and current suffix. This function also stores the created name into the m_strObjectName member of the style of this component.
Defined in: WizSheet.cpp
Return Value
CString Return created name string
Parameters
gc
Compose or get the name of this component