SECEditCompositeCommand Class
class SECEditCompositeCommand: public MvcCommand
SECEditCompositeCommand represents an ordered group of SECEditCommands. Although this class derives from MvcCommand , executing or unexecuting an SECEditCompositeCommand causes all referenced commands held in its list of commands to be executed or unexecuted as a group and in the proper order.Defined in: SECEditCompositeCommand.h
Class Members
Construction / destruction
Constructor.
Attributes
virtual int GetCmdCount() const
Retrieves the number of command objects in this composite command.
virtual unsigned int GetTypeID() const
Retrieves the type id for this command.
virtual BOOL IsUndoable()
Queries the undo state for this composite command.
Operations
virtual void DispatchCmds(sfl::IMvcSubject* pSubject, sfl::IMvcObserver* pObserver)
Called to Dispatch all of its commands to the OnUpdate handlers.
virtual void Sprint(CString& strCmd)
Formats descriptive information about this command to a CString.
virtual BOOL Unexecute()
Unexecutes all commands.
virtual BOOL Execute()
Executes all commands.
virtual BOOL AddCommand(sfl::MvcCommand* pCommand)
Adds a command to the list of commands.
Implementation
virtual BOOL IsCommandUnique(sfl::MvcCommand* pCommand)
Queries whether a command is unique to all other commands in the composite command.
Protected data members
CTypedPtrList<CPtrList, sfl::MvcCommand*> m_CmdList
The list of commands in this composite command.