Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Alien::VBlock::Internal Struct Reference

Actual implementation of variable blocks size. More...

Static Public Member Functions

static VBlock::InternalnewVariableSizeBlock (ValuePerBlock &&all_sizes, Integer max_block_size)
 Creates a new variable block size element.
static VBlock::InternalnewVariableSizeBlock (const ValuePerBlock &all_sizes, Integer max_block_size)
 Creates a new variable block size element.

Public Attributes

ValuePerBlock m_all_sizes
 Size for all blocks.
Integer m_max_block_size
 Maximum size amongst all blocks.

Detailed Description

Actual implementation of variable blocks size.

Definition at line 43 of file VBlock.cc.

Member Function Documentation

◆ newVariableSizeBlock() [1/2]

VBlock::Internal * Alien::VBlock::Internal::newVariableSizeBlock ( const ValuePerBlock & all_sizes,
Integer max_block_size )
static

Creates a new variable block size element.

Parameters
[in]all_sizesSize information for all blocks
[in]max_block_sizeThe maximum size amongst all blocks
Returns
A new variable block size object

Definition at line 82 of file VBlock.cc.

◆ newVariableSizeBlock() [2/2]

VBlock::Internal * Alien::VBlock::Internal::newVariableSizeBlock ( ValuePerBlock && all_sizes,
Integer max_block_size )
static

Creates a new variable block size element.

Parameters
[in]all_sizesSize information for all blocks
[in]max_block_sizeThe maximum size amongst all blocks
Returns
A new variable block size object

Definition at line 73 of file VBlock.cc.

Referenced by Alien::VBlock::VBlock(), and Alien::VBlock::VBlock().

Member Data Documentation

◆ m_all_sizes

ValuePerBlock Alien::VBlock::Internal::m_all_sizes

Size for all blocks.

Definition at line 46 of file VBlock.cc.

◆ m_max_block_size

Integer Alien::VBlock::Internal::m_max_block_size

Maximum size amongst all blocks.

Definition at line 48 of file VBlock.cc.


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