#include <LcsHash.h>
Public Member Functions | |
LcsUndoType () | |
Constructor to reset all fields. | |
void | set (LcsUndoState whatInit, uint keyInit, uint origMaxValueSizeInit, LcsHashValueNode *vPtrInit) |
Sets fields. | |
void | reset () |
Resets fields. | |
Public Attributes | |
LcsUndoState | what |
Action to be performed by undoInsert(). | |
uint | key |
The hash key value of the most recently inserted value. | |
uint | origMaxValueSize |
The previous max value size for the undo to rollback to. | |
LcsHashValueNode * | vPtr |
The most recently inserted LcsHashValueNode. |
Definition at line 265 of file LcsHash.h.
LcsUndoType::LcsUndoType | ( | ) | [inline] |
void LcsUndoType::set | ( | LcsUndoState | whatInit, | |
uint | keyInit, | |||
uint | origMaxValueSizeInit, | |||
LcsHashValueNode * | vPtrInit | |||
) | [inline] |
Sets fields.
[in] | whatInit | undo action |
[in] | keyInit | key value to undo |
[in] | origMaxValueSizeInit | maxValueSize to roll back to |
[in] | vPtrInit | points to value nodes to undo |
Definition at line 757 of file LcsHash.h.
References key, origMaxValueSize, vPtr, and what.
Referenced by LcsHash::insert().
00762 { 00763 what = whatInit; 00764 key = keyInit; 00765 origMaxValueSize = origMaxValueSizeInit;; 00766 vPtr = vPtrInit; 00767 }
void LcsUndoType::reset | ( | ) | [inline] |
Resets fields.
Definition at line 769 of file LcsHash.h.
References key, NOTHING, origMaxValueSize, vPtr, and what.
Referenced by LcsUndoType(), and LcsHash::undoInsert().
00770 { 00771 what = NOTHING; 00772 key = 0; 00773 origMaxValueSize = 0; 00774 vPtr = 0; 00775 }
Action to be performed by undoInsert().
Definition at line 270 of file LcsHash.h.
Referenced by reset(), set(), and LcsHash::undoInsert().
The hash key value of the most recently inserted value.
Definition at line 275 of file LcsHash.h.
Referenced by reset(), set(), and LcsHash::undoInsert().
The previous max value size for the undo to rollback to.
Definition at line 280 of file LcsHash.h.
Referenced by reset(), set(), and LcsHash::undoInsert().
The most recently inserted LcsHashValueNode.
Definition at line 285 of file LcsHash.h.
Referenced by reset(), set(), and LcsHash::undoInsert().