Public Types | |
using | size_type = IdSet::size_type |
Public Member Functions | |
IdSetPosition ()=default | |
root node position More... | |
IdSetPosition (size_type aLevel, size_type anOffset) | |
bool | atRoot () const |
whether we are at the top of the tree More... | |
IdSetNavigationDirection | ascendDirection () const |
which direction is this position from our parent node More... | |
Public Attributes | |
IdSet::size_type | level = 0 |
the number of levels above us (e.g., zero for the root node) More... | |
IdSet::size_type | offset = 0 |
the number of nodes (at our level) to the left of us More... | |
Detailed Description
Definition at line 53 of file PageStack.cc.
Member Typedef Documentation
◆ size_type
Definition at line 56 of file PageStack.cc.
Constructor & Destructor Documentation
◆ IdSetPosition() [1/2]
|
default |
◆ IdSetPosition() [2/2]
Definition at line 99 of file PageStack.cc.
Member Function Documentation
◆ ascendDirection()
Ipc::Mem::IdSetNavigationDirection Ipc::Mem::IdSetPosition::ascendDirection | ( | ) | const |
Definition at line 106 of file PageStack.cc.
References Ipc::Mem::dirLeft, and Ipc::Mem::dirRight.
◆ atRoot()
|
inline |
Definition at line 62 of file PageStack.cc.
Referenced by Ipc::Mem::IdSet::nodeAt().
Member Data Documentation
◆ level
IdSet::size_type Ipc::Mem::IdSetPosition::level = 0 |
Definition at line 68 of file PageStack.cc.
Referenced by Ipc::Mem::IdSet::ascend(), atRoot(), Ipc::Mem::IdSet::descend(), and Ipc::Mem::IdSet::nodeAt().
◆ offset
IdSet::size_type Ipc::Mem::IdSetPosition::offset = 0 |
Definition at line 70 of file PageStack.cc.
Referenced by Ipc::Mem::IdSet::ascend(), atRoot(), Ipc::Mem::IdSet::descend(), Ipc::Mem::IdSet::leafPop(), and Ipc::Mem::IdSet::nodeAt().
The documentation for this class was generated from the following file:
- src/ipc/mem/PageStack.cc