CODGroupCommand Class

class CODGroupCommand: public CODIndexedCommand

Groups a set of components together into one composite object.

Defined in: OdGroupCmd.h

Class Members

VIEWS_API CODGroupCommand(CODModel* pModel)

Constructor.

VIEWS_API virtual ~CODGroupCommand()

Destructor.

CODComponent* m_pGroup

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

VIEWS_API virtual BOOL Execute()

Group the components into one composite object.

VIEWS_API virtual BOOL Unexecute()

Split the group up into its original components.

VIEWS_API virtual sfl::MvcCommand* Dup() const

Make a copy of this group command.

VIEWS_API CODComponent* GetGroup()

Get a pointer to the group created by the command.

VIEWS_API void SetGroup(CODComponent* pGroup)

Set the group component used by the command.

VIEWS_API virtual void Sprint(CString& strCmd)

Print information on the group command for logging purposes