frepple::CommandDeleteOperationPlan Class Reference

This command is used to delete an operationplan. More...

#include <model.h>

Inheritance diagram for frepple::CommandDeleteOperationPlan:

List of all members.

Public Member Functions

 CommandDeleteOperationPlan (OperationPlan *o)
virtual void commit ()
virtual void redo ()
virtual void rollback ()
virtual void undo ()
virtual ~CommandDeleteOperationPlan ()

Detailed Description

This command is used to delete an operationplan.

Definition at line 5324 of file model.h.


Constructor & Destructor Documentation

frepple::CommandDeleteOperationPlan::CommandDeleteOperationPlan ( OperationPlan o)

Constructor.

Definition at line 373 of file model/actions.cpp.

virtual frepple::CommandDeleteOperationPlan::~CommandDeleteOperationPlan ( ) [inline, virtual]

Definition at line 5361 of file model.h.


Member Function Documentation

virtual void frepple::CommandDeleteOperationPlan::commit ( ) [inline, virtual]

This method makes the change permanent.
A couple of notes on how this method should be implemented by the subclasses:

  • Calling the method multiple times is harmless. Only the first call is expected to do something.

Reimplemented from frepple::utils::Command.

Definition at line 5329 of file model.h.

virtual void frepple::CommandDeleteOperationPlan::redo ( ) [inline, virtual]

This method reproduces a previously undone change.
A couple of notes on how this method should be implemented by the subclasses:

  • Calling the method multiple times is harmless and results in the same state change as calling it only once.

Reimplemented from frepple::utils::Command.

Definition at line 5345 of file model.h.

virtual void frepple::CommandDeleteOperationPlan::rollback ( ) [inline, virtual]

This method permanently undoes the change.
A couple of notes on how this method should be implemented by the subclasses:

  • Calling the rollback() method multiple times is harmless. Only the first call is expected to do something.

Reimplemented from frepple::utils::Command.

Definition at line 5356 of file model.h.

virtual void frepple::CommandDeleteOperationPlan::undo ( ) [inline, virtual]

This method temporarily undoes the change. The concrete subclasses most maintain information that enables redoing the changes efficiently.
A couple of notes on how this method should be implemented by the subclasses:

  • Calling the method multiple times is harmless and results in the same state change as calling it only once.

Reimplemented from frepple::utils::Command.

Definition at line 5334 of file model.h.


The documentation for this class was generated from the following files:

Documentation generated for frePPLe by  doxygen