coco::box_check_intersection Class Reference
[Database Interface]

Stored procedure checking whether a box intersects the work_node's box. More...

#include <dbtools.h>

Collaboration diagram for coco::box_check_intersection:

Collaboration graph
[legend]

List of all members.

Public Types

typedef work_node_context context
typedef bool return_type

Public Member Functions

 box_check_intersection (vdbl::colid _x)
 box_check_intersection (const box_check_intersection &_i)
virtual ~box_check_intersection ()
bool operator() () const
bool def () const
void setcontext (const context *c, const vdbl::row *r)


Detailed Description

This class is used as a stored procedure (vdbl::method) for checking whether a box stored in the ``boxes'' table is disjunct with the search box in the evaluation context of a given work_node.

Definition at line 95 of file dbtools.h.


Member Typedef Documentation

The evaluation context type

Definition at line 99 of file dbtools.h.

The return type of the operator(), i.e. the function class.

Definition at line 113 of file dbtools.h.


Constructor & Destructor Documentation

coco::box_check_intersection::box_check_intersection ( vdbl::colid  _x  )  [inline]

Constructor setting the relevant column id.

Definition at line 116 of file dbtools.h.

coco::box_check_intersection::box_check_intersection ( const box_check_intersection _i  )  [inline]

Standard Copy Constructor

Definition at line 119 of file dbtools.h.

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

Standard Destructor

Definition at line 122 of file dbtools.h.


Member Function Documentation

bool coco::box_check_intersection::def (  )  const [inline]

Method, which computes the default value of the stored procedure

Definition at line 127 of file dbtools.h.

bool coco::box_check_intersection::operator() (  )  const

Evaluation operator, which computes the value of the stored procedure

Definition at line 75 of file dbtools.cc.

void coco::box_check_intersection::setcontext ( const context c,
const vdbl::row *  r 
) [inline]

This method initializes the evaluation context and the row, preparing for the evaluation.

Definition at line 130 of file dbtools.h.


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

Generated on Tue Feb 9 14:48:03 2010 for COCONUT API by  doxygen 1.5.8