Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Private Attributes | List of all members
SetInt Class Reference

#include <undo.h>

Inheritance diagram for SetInt:
OliveAction

Public Member Functions

 SetInt (int *pointer, int new_value)
 
virtual void doUndo () override
 
virtual void doRedo () override
 
- Public Member Functions inherited from OliveAction
 OliveAction (bool iset_window_modified=true)
 
virtual ~OliveAction () override
 
virtual void undo () override
 
virtual void redo () override
 

Private Attributes

int * p
 
int oldval
 
int newval
 

Constructor & Destructor Documentation

SetInt::SetInt ( int *  pointer,
int  new_value 
)

Member Function Documentation

void SetInt::doRedo ( )
overridevirtual

Implements OliveAction.

void SetInt::doUndo ( )
overridevirtual

Implements OliveAction.

Member Data Documentation

int SetInt::newval
private
int SetInt::oldval
private
int* SetInt::p
private

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