CODGroupCommand Class

class CODGroupCommand: public CODIndexedCommand

Groups a set of components together into one composite object.

Defined in: OdGroupCmd.h

Class Members

 CODGroupCommand(CODModel* pModel)

Constructor.

virtual  ~CODGroupCommand()

Destructor.

CODComponent* m_pGroup

A pointer to the composite object created to group the components.

virtual BOOL  Execute()

Group the components into one composite object.

virtual BOOL  Unexecute()

Split the group up into its original components.

virtual sfl::MvcCommand*  Dup() const

Make a copy of this group command.

CODComponent*  GetGroup()

Get a pointer to the group created by the command.

void  SetGroup(CODComponent* pGroup)

Set the group component used by the command.

virtual void  Sprint(CString& strCmd)

Print information on the group command for logging purposes