CODDeleteCommand Class

class CODDeleteCommand: public CODIndexedCommand

Deletes components from a diagram model.

Defined in: OdDeleteCmd.h

Class Members

VIEWS_API CODDeleteCommand(CODModel* pModel)

Constructor.

VIEWS_API virtual ~CODDeleteCommand()

Destructor.

VIEWS_API virtual BOOL Execute()

Deletes the components from the model.

VIEWS_API virtual sfl::MvcCommand* Inverse() const

Creates a command which performs the inverse of the delete command

VIEWS_API virtual sfl::MvcCommand* Dup() const

Make a copy of this delete command.

VIEWS_API virtual void Sprint(CString& strCmd)

Print information on this delete command for logging purposes.