CODController::CreateGroupComponent

CODComponent*CODController::CreateGroupComponent(const CODComponentSet&setGroup)

Factory method for creating component for group operation.

Defined in: OdController.cpp

Return Value

Pointer to a component to be used by the group command.

Parameters

setGroup

Set of components that will be grouped.

Comments

This function creates a component to be used as the parent in a group and returns it to the caller. The group is not populated at this point. This function only creates the parent component for the group. This function is virtual and can be overridden by derived classes. This implementation examines the group of component and looks for symbols in the group. If there are any symbols in the group, this function creates a  CODSymbolComponent and returns it. If there are no symbols in the group, this function just creates a  CODComponent object. The returned component is referenced counted so the client must call Release when finished with the component.