Class to manage objects in the IndexPool::TableObjIdIndex.
More...
#include <GloIndexPool.h>
Class to manage objects in the IndexPool::TableObjIdIndex.
ObjIdPosTuples have as attributes the object ID and the table position of a stored record.
- Copyright
- © 2010 Helmut Jakoby
- Author
- Helmut Jakoby
◆ ObjIdPosTuple() [1/3]
glo::IndexPool::ObjIdPosTuple::ObjIdPosTuple |
( |
| ) |
|
◆ ObjIdPosTuple() [2/3]
glo::IndexPool::ObjIdPosTuple::ObjIdPosTuple |
( |
const ObjID & | rObjID, |
|
|
std::streampos | FilePosition ) |
Constructor with parameter passing.
- Parameters
-
[in] | rObjID | The object ID of the stored record. |
[in] | FilePosition | The table position of the stored record. |
◆ ObjIdPosTuple() [3/3]
glo::IndexPool::ObjIdPosTuple::ObjIdPosTuple |
( |
const ObjIdPosTuple & | rT | ) |
|
Copy constructor.
- Parameters
-
[in] | rT | The data is copied from this object. |
◆ ~ObjIdPosTuple()
virtual glo::IndexPool::ObjIdPosTuple::~ObjIdPosTuple |
( |
| ) |
|
|
virtual |
◆ operator!=() [1/2]
bool glo::IndexPool::ObjIdPosTuple::operator!= |
( |
const ObjIdPosTuple & | rT | ) |
const |
Comparison operator.
- Parameters
-
[in] | rT | The object to be compared with this one. |
◆ operator!=() [2/2]
bool glo::IndexPool::ObjIdPosTuple::operator!= |
( |
std::streampos | Pos | ) |
const |
Comparison operator.
- Parameters
-
[in] | Pos | Only the table position is compared. |
◆ operator<() [1/2]
bool glo::IndexPool::ObjIdPosTuple::operator< |
( |
const ObjIdPosTuple & | rT | ) |
const |
Comparison operator.
- Parameters
-
[in] | rT | The object to be compared with this one. |
◆ operator<() [2/2]
bool glo::IndexPool::ObjIdPosTuple::operator< |
( |
std::streampos | Pos | ) |
const |
Comparison operator.
- Parameters
-
[in] | Pos | Only the table position is compared. |
◆ operator<=() [1/2]
bool glo::IndexPool::ObjIdPosTuple::operator<= |
( |
const ObjIdPosTuple & | rT | ) |
const |
Comparison operator.
- Parameters
-
[in] | rT | The object to be compared with this one. |
◆ operator<=() [2/2]
bool glo::IndexPool::ObjIdPosTuple::operator<= |
( |
std::streampos | Pos | ) |
const |
Comparison operator.
- Parameters
-
[in] | Pos | Only the table position is compared. |
◆ operator=()
Assignment operator.
- Parameters
-
[in] | rT | The data is transferred from this object. |
◆ operator==() [1/2]
bool glo::IndexPool::ObjIdPosTuple::operator== |
( |
const ObjIdPosTuple & | rT | ) |
const |
Comparison operator.
- Parameters
-
[in] | rT | The object to be compared with this one. |
◆ operator==() [2/2]
bool glo::IndexPool::ObjIdPosTuple::operator== |
( |
std::streampos | Pos | ) |
const |
Comparison operator.
- Parameters
-
[in] | Pos | Only the table position is compared. |
◆ operator>() [1/2]
bool glo::IndexPool::ObjIdPosTuple::operator> |
( |
const ObjIdPosTuple & | rT | ) |
const |
Comparison operator.
- Parameters
-
[in] | rT | The object to be compared with this one. |
◆ operator>() [2/2]
bool glo::IndexPool::ObjIdPosTuple::operator> |
( |
std::streampos | Pos | ) |
const |
Comparison operator.
- Parameters
-
[in] | Pos | Only the table position is compared. |
◆ operator>=() [1/2]
bool glo::IndexPool::ObjIdPosTuple::operator>= |
( |
const ObjIdPosTuple & | rT | ) |
const |
Comparison operator.
- Parameters
-
[in] | rT | The object to be compared with this one. |
◆ operator>=() [2/2]
bool glo::IndexPool::ObjIdPosTuple::operator>= |
( |
std::streampos | Pos | ) |
const |
Comparison operator.
- Parameters
-
[in] | Pos | Only the table position is compared. |
◆ toString()
std::string glo::IndexPool::ObjIdPosTuple::toString |
( |
| ) |
const |
Returns in the form 'Object ID|FilePosition|' e.g. "7.0.2743|349|".
- Returns
- The object ID and the table position in one string.
◆ m_FilePosition
std::streampos glo::IndexPool::ObjIdPosTuple::m_FilePosition |
The table position of the stored record.
◆ m_ObjID
ObjID glo::IndexPool::ObjIdPosTuple::m_ObjID |
The object ID of the stored record.
The documentation for this class was generated from the following file: