CODUngroupCommand Class

class CODUngroupCommand: public CODIndexedCommand

Ungroups composite objects into their individual components ( CODSymbolComponent objects can not be ungrouped).

Defined in: OdUngroupCmd.h

Class Members

 CODUngroupCommand(CODModel* pModel)

Constructor.

virtual  ~CODUngroupCommand()

Destructor.

CMap&ltCODComponent*,CODComponent*,CODComponentSet*,CODComponentSet*> m_mapOldGroups

Maps components to their old groups.

void  ClearOldGroups()

Clears the list of old groups.

BOOL  GetOldGroup(CODComponent* pGroup, CODComponentSet*& pSubComps) const

Gets the old subcomponents of a group.

void  SetOldGroup(CODComponent* pGroup, CODComponentSet* pSubComps)

Sets the old subcomponents of a group.

void  SaveGroup(CODComponent* pGroup)

Saves the old subcomponents of a group given an existing group.

virtual BOOL  Execute()

Ungroup the composite components.

virtual BOOL  Unexecute()

Regroup the components back into their composite objects.

virtual sfl::MvcCommand*  Dup() const

Make a copy of this ungroup command.

virtual void  Sprint(CString& strCmd)

Print information on this command for logging purposes.