#include <CdbBdbSCell.hh>
Public Member Functions | |
| CdbBdbSCell (const BdbTime &theBeginValidity=BdbTime::minusInfinity, const BdbTime &theEndValidity=BdbTime::plusInfinity, const BdbTime &theBeginInsertion=BdbTime::minusInfinity, const BdbTime &theEndInsertion=BdbTime::plusInfinity) | |
| CdbBdbSCell (const CdbBdbSCell &theCell) | |
| Copy constructor. | |
| ~CdbBdbSCell () | |
| The destructor. | |
| CdbBdbSCell & | operator= (const CdbBdbSCell &theCell) |
| The assignment operator. | |
| void | close (const BdbTime &theTime) |
| Close the cell at specified point of the INSERTION timeline. | |
| bool | operator== (const CdbBdbSCell &theCell) const |
| The "equal" operator. | |
| bool | operator!= (const CdbBdbSCell &theCell) const |
| The "not-equal" operator. | |
| bool | in (const BdbTime &theValidityTime, const BdbTime &theInsertionTime) const |
| Check if specified point is inside the current cell. | |
| bool | inValidityRange (const BdbTime &theTime) const |
| Check if specified validity time is inside the validity range of the current cell. | |
| bool | overlap (const CdbBdbSCell &theCell) const |
| Check if specified cell overlaps with the current one. | |
| void | dump (std::ostream &o) const |
| Dump the object contents into a stream. | |
Public Attributes | |
| const BdbTime | beginValidity |
| const BdbTime | endValidity |
| const BdbTime | beginInsertion |
| const BdbTime | endInsertion |
Objects of this embedded class represent a "cell" in 2-dimesion space of the VALIDITY and INSERTION timelines. Each cell is described by its range it spans in both dimensions.
The surface occupied by a cell has the following semantics:
[ beginValidity , endValidity ) [ beginInsertion , endInsertion )
INSERTION : ........ : # . : # . : ######## ..............VALIDITY
Definition at line 33 of file CdbBdbSCell.hh.
|
||||||||||||||||||||
|
Definition at line 96 of file CdbBdbSCell.cc. |
|
|
Copy constructor.
Definition at line 109 of file CdbBdbSCell.cc. |
|
|
The destructor. NOTE: The destructor is NOT virtual because this is an embedded class. Definition at line 116 of file CdbBdbSCell.cc. |
|
|
Close the cell at specified point of the INSERTION timeline. The specified time must be strictly greater than the "bottom" insertion time of the cell and be less or eqal to the "topmost" time. Otherwise the method will abort the execution of an application. Definition at line 132 of file CdbBdbSCell.cc. Referenced by CdbBdbSPartitionBaseP::closeCell(). |
|
|
Dump the object contents into a stream.
Definition at line 173 of file CdbBdbSCell.cc. References beginInsertion, beginValidity, endInsertion, and endValidity. Referenced by operator<<(). |
|
||||||||||||
|
Check if specified point is inside the current cell.
Definition at line 150 of file CdbBdbSCell.cc. References beginInsertion, beginValidity, endInsertion, and endValidity. Referenced by CdbBdbSPartitionsLayoutP::find(). |
|
|
Check if specified validity time is inside the validity range of the current cell.
Definition at line 160 of file CdbBdbSCell.cc. References beginValidity, and endValidity. Referenced by CdbBdbSPartitionsLayoutP::find(), CdbBdbSPartitionsLayoutP::next(), and CdbBdbSPartitionsLayoutP::topmost(). |
|
|
The "not-equal" operator.
Definition at line 74 of file CdbBdbSCell.hh. References operator==(). |
|
|
The assignment operator.
Definition at line 120 of file CdbBdbSCell.cc. References beginInsertion, beginValidity, endInsertion, and endValidity. |
|
|
The "equal" operator.
Definition at line 141 of file CdbBdbSCell.cc. References beginInsertion, beginValidity, endInsertion, and endValidity. Referenced by operator!=(). |
|
|
Check if specified cell overlaps with the current one. DEFINITION: Two cells are said to be "overlapped" when and only when the area of their intersection is more than 0. Please, take into account the definition of the cell given at the beginning of this file. Definition at line 167 of file CdbBdbSCell.cc. Referenced by CdbBdbSPartitionsLayoutP::insert(), and CdbBdbSPartitionsLayoutP::iterator(). |
|
|
Definition at line 108 of file CdbBdbSCell.hh. Referenced by CdbBdbSPartitionBaseP::closeCell(), CdbBdbSPartitionBaseP::dump(), dump(), in(), CdbBdbSPartitionP::instantiate(), operator=(), operator==(), and CdbBdbSPartitionsLayoutP::update(). |
|
|
Definition at line 106 of file CdbBdbSCell.hh. Referenced by CdbBdbSPartitionBaseP::dump(), dump(), in(), CdbBdbSPartitionP::instantiate(), inValidityRange(), operator=(), operator==(), and CdbBdbSPartitionsLayoutP::update(). |
|
|
Definition at line 109 of file CdbBdbSCell.hh. Referenced by CdbBdbSPartitionBaseP::closeCell(), CdbBdbSPartitionBaseP::dump(), dump(), CdbBdbSPartitionsLayoutP::find(), in(), CdbBdbSPartitionBaseP::isClosed(), operator=(), and operator==(). |
|
|
Definition at line 107 of file CdbBdbSCell.hh. Referenced by CdbBdbSPartitionBaseP::dump(), dump(), in(), CdbBdbSPartitionP::instantiate(), inValidityRange(), operator=(), operator==(), CdbBdbSCondition::storeObject(), and CdbBdbSPartitionsLayoutP::update(). |
1.3-rc3