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

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 morton_order.cc.

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

Definition at line 163 of file morton_order.cc.

◆ ~MortonIterator()

virtual bdm::MortonIterator::~MortonIterator ( )
virtualdefault

Member Function Documentation

◆ HasNext()

bool bdm::MortonIterator::HasNext ( ) const
inlineoverride

Definition at line 173 of file morton_order.cc.

◆ Next()

uint64_t bdm::MortonIterator::Next ( )
inlineoverridevirtual

Implements bdm::Iterator< uint64_t >.

Definition at line 175 of file morton_order.cc.

Member Data Documentation

◆ last_index_

uint64_t bdm::MortonIterator::last_index_
private

Definition at line 193 of file morton_order.cc.

◆ next_index_

uint64_t bdm::MortonIterator::next_index_
private

Definition at line 192 of file morton_order.cc.

◆ next_morton_code_

uint64_t bdm::MortonIterator::next_morton_code_ = 0
private

Definition at line 194 of file morton_order.cc.

◆ offset_index_

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

Definition at line 196 of file morton_order.cc.

◆ offset_pos_

uint64_t bdm::MortonIterator::offset_pos_ = 0
private

Definition at line 195 of file morton_order.cc.


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