Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
Alien::BlockBuilder Class Reference
Collaboration diagram for Alien::BlockBuilder:

Classes

class  SizeVector

Public Member Functions

 BlockBuilder (IIndexManager &index_mng)
SizeVector operator[] (ConstArrayView< Integer > indexes)
Integer & operator[] (Integer index)
const BlockSizes::ValuePerBlock & sizes () const
bool isLocal (Integer index) const

Private Attributes

SharedArray< Integer > m_sizes
Integer m_offset = 0
Integer m_next_offset = 0
const IIndexManagerm_index_mng
bool m_sizes_computed = false
BlockSizes m_block_sizes

Detailed Description

Definition at line 21 of file BlockBuilder.h.

Constructor & Destructor Documentation

◆ BlockBuilder()

Alien::BlockBuilder::BlockBuilder ( IIndexManager & index_mng)

Definition at line 48 of file BlockBuilder.cc.

◆ ~BlockBuilder()

Alien::BlockBuilder::~BlockBuilder ( )
inline

Definition at line 39 of file BlockBuilder.h.

Member Function Documentation

◆ isLocal()

bool Alien::BlockBuilder::isLocal ( Integer index) const
inline

Definition at line 48 of file BlockBuilder.h.

◆ operator[]() [1/2]

BlockBuilder::SizeVector Alien::BlockBuilder::operator[] ( ConstArrayView< Integer > indexes)

Definition at line 66 of file BlockBuilder.cc.

◆ operator[]() [2/2]

Integer & Alien::BlockBuilder::operator[] ( Integer index)

Definition at line 75 of file BlockBuilder.cc.

◆ sizes()

const BlockSizes::ValuePerBlock & Alien::BlockBuilder::sizes ( ) const

Definition at line 84 of file BlockBuilder.cc.

Member Data Documentation

◆ m_block_sizes

BlockSizes Alien::BlockBuilder::m_block_sizes
mutableprivate

Definition at line 61 of file BlockBuilder.h.

◆ m_index_mng

const IIndexManager& Alien::BlockBuilder::m_index_mng
private

Definition at line 59 of file BlockBuilder.h.

◆ m_next_offset

Integer Alien::BlockBuilder::m_next_offset = 0
private

Definition at line 57 of file BlockBuilder.h.

◆ m_offset

Integer Alien::BlockBuilder::m_offset = 0
private

Definition at line 56 of file BlockBuilder.h.

◆ m_sizes

SharedArray<Integer> Alien::BlockBuilder::m_sizes
private

Definition at line 54 of file BlockBuilder.h.

◆ m_sizes_computed

bool Alien::BlockBuilder::m_sizes_computed = false
mutableprivate

Definition at line 60 of file BlockBuilder.h.


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