class CODMacroCommand: public CODCommand
A single command which performs multiple CODCommand-derived subcommands in one step.
Defined in: OdMacroCmd.h
VIEWS_API CODMacroCommand(CODModel* pModel)
Constructor.
VIEWS_API virtual ~CODMacroCommand()
Destructor.
CODCommandSet m_setCommands
Set of contained sub-commands.
VIEWS_API virtual BOOL Execute()
Executes the subcommands.
VIEWS_API virtual BOOL Unexecute()
Unexecutes the subcommands.
VIEWS_API virtual void AddCommand(CODCommand* pCmd)
Adds a command to the subcommand list.
VIEWS_API virtual void AddCommands(CODCommandSet* pCmdSet)
Adds multiple commands to the subcommand list.
VIEWS_API virtual void RemoveAllCommands()
Removes all of the commands from the subcommand list.
VIEWS_API virtual CODCommand* GetCommand(const int& nIndex)
Retrieves a command from the subcommand list.
VIEWS_API virtual CODCommand*& operator[](const int& nIndex)
Retrieves a reference to a command in the subcommand list.
VIEWS_API virtual void Sprint(CString &)
Creates an informative string used for logging/debugging purposes.
VIEWS_API virtual CODCommandSet* GetCommands()
Returns a pointer to the list of commands.