Class managing an array in the form of a block list. More...
#include <arcane/core/BlockIndexList.h>
Public Member Functions | |
| Int32 | nbBlock () const |
| Real | memoryRatio () const |
| void | reset () |
| BlockIndex | block (Int32 i) const |
| void | fillArray (Array< Int32 > &v) |
Private Member Functions | |
| void | _setBlockIndexAndOffset (Int32 block, Int32 index, Int32 offset) |
| void | _setNbBlock (Int32 nb_block) |
| Int32 | _currentIndexPosition () const |
| void | _addBlockInfo (const Int32 *data, Int16 size) |
| Int32 | _computeNbContigusBlock () const |
Private Attributes | |
| UniqueArray< Int32 > | m_indexes |
| List of indexes. | |
| UniqueArray< Int32 > | m_blocks_index_and_offset |
| Int32 | m_original_size = 0 |
| Original size of the index array. | |
| Int32 | m_nb_block = 0 |
| Number of blocks (m_original_size/m_block_size rounded up). | |
| Int16 | m_block_size = 0 |
| Size of a block. | |
| Int16 | m_last_block_size = 0 |
| Size of the last block. | |
Friends | |
| class | BlockIndexListBuilder |
Class managing an array in the form of a block list.
Definition at line 82 of file BlockIndexList.h.
Definition at line 103 of file BlockIndexList.cc.
|
private |
Definition at line 112 of file BlockIndexList.cc.
|
private |
Definition at line 94 of file BlockIndexList.cc.
|
private |
Definition at line 74 of file BlockIndexList.cc.
|
private |
Definition at line 84 of file BlockIndexList.cc.
|
inline |
Definition at line 93 of file BlockIndexList.h.
Definition at line 46 of file BlockIndexList.cc.
| Real Arcane::BlockIndexList::memoryRatio | ( | ) | const |
Definition at line 33 of file BlockIndexList.cc.
|
inline |
Definition at line 90 of file BlockIndexList.h.
| void Arcane::BlockIndexList::reset | ( | ) |
Definition at line 60 of file BlockIndexList.cc.
|
friend |
Definition at line 84 of file BlockIndexList.h.
|
private |
Size of a block.
Definition at line 113 of file BlockIndexList.h.
|
private |
Definition at line 107 of file BlockIndexList.h.
|
private |
List of indexes.
Definition at line 105 of file BlockIndexList.h.
|
private |
Size of the last block.
Definition at line 115 of file BlockIndexList.h.
|
private |
Number of blocks (m_original_size/m_block_size rounded up).
Definition at line 111 of file BlockIndexList.h.
|
private |
Original size of the index array.
Definition at line 109 of file BlockIndexList.h.