#include <api_deltabase.h>
Public Member Functions | |
undelta () | |
undelta (undelta_base *__d) | |
undelta (const undelta &__d) | |
~undelta () | |
const undelta_base * | get_base () const |
bool | unapply (work_node &_x, const delta_id &_i) const |
bool | unapply3 (work_node &_x, const work_node &_y, const delta_id &_i) const |
undelta & | operator= (const undelta &_u) |
Definition at line 223 of file api_deltabase.h.
coco::undelta::undelta | ( | ) | [inline] |
Standard Constructor
Definition at line 231 of file api_deltabase.h.
coco::undelta::undelta | ( | undelta_base * | __d | ) | [inline] |
Internal Constructor, which just copies the pointer to the undelta_base. This pointer must be allocated by new
, since it will be removed with delete
in the destructor
Definition at line 235 of file api_deltabase.h.
coco::undelta::undelta | ( | const undelta & | __d | ) | [inline] |
Copy Constructor, which constructs a new undelta from an existing undelta. The clone operation for the undelta_base will be called in that process, effectively overloading the copy constructor for the undelta_base.
Definition at line 197 of file api_delta.h.
coco::undelta::~undelta | ( | ) | [inline] |
Destructor, which frees the _d
using delete
Definition at line 203 of file api_delta.h.
const undelta_base * coco::undelta::get_base | ( | ) | const [inline] |
Return the undelta_base stored in this wrapper
Definition at line 218 of file api_delta.h.
Assignment operator, which uses the clone operation for the undelta_base, effectively overloading the assignment operator for the undelta_base.
Definition at line 209 of file api_delta.h.
Undo the delta with delta_id _i
in work node _x
Definition at line 220 of file api_delta.h.
bool coco::undelta::unapply3 | ( | work_node & | _x, | |
const work_node & | _y, | |||
const delta_id & | _i | |||
) | const [inline] |
Undo the delta with delta_id _d
in work node _x
, constructing in the process work_node _y
, without changing _x
.
Definition at line 223 of file api_delta.h.