MvcCommandSequence_T Class

class MvcCommandSequence_T: public MvcCommand

An MvcCommandSequence is a command that contains a sequence of subcommands.

Defined in: MvcCommand.h

Class Members

virtual BOOL  Execute()

Execute the commands contained by the macro

virtual BOOL  Unexecute()

Unexecute the commands contained by the macro

virtual void  Sprint(CString& strCmd)

Print the action for logging purposes

virtual void  AddCommand(MvcCommand* pCmd)

Add a command to the macro.

virtual void  RemoveCommand(const int nIndex)

Remove a command from the macro

virtual void  RemoveAllCommands()

Remove all commands from the macro

inline ICollection_T&ltMvcCommand*>*  GetChildren()

Return the command list from the macro