|
Squid Web Cache master
|
Public Types | |
| using | size_type = IdSet::size_type |
Public Member Functions | |
| IdSetPosition ()=default | |
| root node position | |
| IdSetPosition (size_type aLevel, size_type anOffset) | |
| bool | atRoot () const |
| whether we are at the top of the tree | |
| IdSetNavigationDirection | ascendDirection () const |
| which direction is this position from our parent node | |
Public Attributes | |
| IdSet::size_type | level = 0 |
| the number of levels above us (e.g., zero for the root node) | |
| IdSet::size_type | offset = 0 |
| the number of nodes (at our level) to the left of us | |
Definition at line 53 of file PageStack.cc.
Definition at line 56 of file PageStack.cc.
|
default |
Definition at line 99 of file PageStack.cc.
| Ipc::Mem::IdSetNavigationDirection Ipc::Mem::IdSetPosition::ascendDirection | ( | ) | const |
Definition at line 106 of file PageStack.cc.
References Ipc::Mem::dirLeft, and Ipc::Mem::dirRight.
|
inline |
Definition at line 62 of file PageStack.cc.
Referenced by Ipc::Mem::IdSet::nodeAt().
| 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().
| 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().