frepple::CommandDeleteOperationPlan Class Reference

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

#include <model.h>

Inheritance diagram for frepple::CommandDeleteOperationPlan:

Public Member Functions

 CommandDeleteOperationPlan (OperationPlan *o)
 
virtual void commit ()
 
virtual void redo ()
 
virtual void rollback ()
 
virtual void undo ()
 
virtual ~CommandDeleteOperationPlan ()
 
- Public Member Functions inherited from frepple::utils::Command
 Command ()
 
virtual ~Command ()
 

Detailed Description

This command is used to delete an operationplan.

Definition at line 5339 of file model.h.

Constructor & Destructor Documentation

frepple::CommandDeleteOperationPlan::CommandDeleteOperationPlan ( OperationPlan o)

Constructor.

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

virtual frepple::CommandDeleteOperationPlan::~CommandDeleteOperationPlan ( )
inlinevirtual

Definition at line 5380 of file model.h.

Member Function Documentation

virtual void frepple::CommandDeleteOperationPlan::commit ( )
inlinevirtual

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 5344 of file model.h.

virtual void frepple::CommandDeleteOperationPlan::redo ( )
inlinevirtual

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 5362 of file model.h.

virtual void frepple::CommandDeleteOperationPlan::rollback ( )
inlinevirtual

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 5375 of file model.h.

virtual void frepple::CommandDeleteOperationPlan::undo ( )
inlinevirtual

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 5349 of file model.h.


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