Ipc::Mem::IdSetPosition Class Reference
Collaboration diagram for Ipc::Mem::IdSetPosition:

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

Constructor & Destructor Documentation

◆ IdSetPosition() [1/2]

Ipc::Mem::IdSetPosition::IdSetPosition ( )

◆ IdSetPosition() [2/2]

Ipc::Mem::IdSetPosition::IdSetPosition ( size_type  aLevel,
size_type  anOffset 

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()

bool Ipc::Mem::IdSetPosition::atRoot ( ) const

Definition at line 62 of file PageStack.cc.

References level, and offset.

Referenced by Ipc::Mem::IdSet::nodeAt().

Member Data Documentation

◆ level

IdSet::size_type Ipc::Mem::IdSetPosition::level = 0

◆ offset

IdSet::size_type Ipc::Mem::IdSetPosition::offset = 0

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






Web Site Translations