BioDynaMo  v1.03.58-27764645
Public Member Functions | Private Attributes | List of all members
bdm::MortonIterator Class Reference
Inheritance diagram for bdm::MortonIterator:
Collaboration diagram for bdm::MortonIterator:

Public Member Functions

 MortonIterator (uint64_t start_index, uint64_t last_index, uint64_t start_morton_code, uint64_t offset_pos, const std::vector< std::pair< uint64_t, uint64_t >> &offset_index)
virtual ~MortonIterator ()=default
bool HasNext () const override
uint64_t Next () override
- Public Member Functions inherited from bdm::Iterator< uint64_t >
virtual ~Iterator ()=default
virtual bool HasNext () const=0

Private Attributes

uint64_t next_index_
uint64_t last_index_
uint64_t next_morton_code_ = 0
uint64_t offset_pos_ = 0
const std::vector< std::pair< uint64_t, uint64_t > > & offset_index_

Detailed Description

Definition at line 161 of file

Constructor & Destructor Documentation

◆ MortonIterator()

bdm::MortonIterator::MortonIterator ( uint64_t  start_index,
uint64_t  last_index,
uint64_t  start_morton_code,
uint64_t  offset_pos,
const std::vector< std::pair< uint64_t, uint64_t >> &  offset_index 

Definition at line 163 of file

◆ ~MortonIterator()

virtual bdm::MortonIterator::~MortonIterator ( )

Member Function Documentation

◆ HasNext()

bool bdm::MortonIterator::HasNext ( ) const

Definition at line 173 of file

◆ Next()

uint64_t bdm::MortonIterator::Next ( )

Implements bdm::Iterator< uint64_t >.

Definition at line 175 of file

Member Data Documentation

◆ last_index_

uint64_t bdm::MortonIterator::last_index_

Definition at line 193 of file

◆ next_index_

uint64_t bdm::MortonIterator::next_index_

Definition at line 192 of file

◆ next_morton_code_

uint64_t bdm::MortonIterator::next_morton_code_ = 0

Definition at line 194 of file

◆ offset_index_

const std::vector<std::pair<uint64_t, uint64_t> >& bdm::MortonIterator::offset_index_

Definition at line 196 of file

◆ offset_pos_

uint64_t bdm::MortonIterator::offset_pos_ = 0

Definition at line 195 of file

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