coco::split_undelta Class Reference
[Deltas]

The split undelta class for removing proposed splits from a work_node. More...

#include <split_delta.h>

Inheritance diagram for coco::split_undelta:

Inheritance graph
[legend]
Collaboration diagram for coco::split_undelta:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 split_undelta (const work_node::transaction_number &_se)
 split_undelta (const split_undelta &_su)
virtual ~split_undelta ()
split_undeltanew_copy () const
void destroy_copy (undelta_base *__d) const
bool unapply (work_node &x, const delta_id &_did) const
undelta make_undelta ()
virtual bool unapply3 (work_node &_x, const work_node &_y, const delta_id &_d) const


Detailed Description

This class is used to specify information for removing proposed splits from a work node. This class undoes the apply of a split_delta.

Definition at line 42 of file split_delta.h.


Constructor & Destructor Documentation

coco::split_undelta::split_undelta ( const work_node::transaction_number _se  )  [inline]

Constructor, which stores the transaction number _se.

Definition at line 51 of file split_delta.h.

coco::split_undelta::split_undelta ( const split_undelta _su  )  [inline]

Standard Copy Constructor

Definition at line 54 of file split_delta.h.

virtual coco::split_undelta::~split_undelta (  )  [inline, virtual]

Standard Destructor

Definition at line 62 of file split_delta.h.


Member Function Documentation

void coco::split_undelta::destroy_copy ( undelta_base __d  )  const [inline]

Clone Destructor

Definition at line 67 of file split_delta.h.

undelta coco::undelta_base::make_undelta (  )  [inline, inherited]

Construct an undelta from this undelta_base.

Definition at line 283 of file api_deltabase.h.

split_undelta* coco::split_undelta::new_copy (  )  const [inline, virtual]

Clone Operation

Reimplemented from coco::undelta_base.

Definition at line 65 of file split_delta.h.

bool coco::split_undelta::unapply ( work_node x,
const delta_id _did 
) const [inline, virtual]

Undo the bound_delta with delta_id _i in work node _x

Reimplemented from coco::undelta_base.

Definition at line 256 of file split_delta.h.

bool coco::undelta_base::unapply3 ( work_node _x,
const work_node _y,
const delta_id _d 
) const [inline, virtual, inherited]

Undo the delta with delta_id _d in work node _x, constructing in the process work_node _y, without changing _x. This method should be overloaded in the specializations of this class for maximal efficiency, but it need not since a standard procedure is available, which uses the work_node copy constructur and the unapply method.

Definition at line 94 of file api_delta.h.


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

Generated on Tue Feb 9 14:50:04 2010 for COCONUT API by  doxygen 1.5.8