Thrill  0.1
block_w_bids< Type, Size, RawSize, NBids > Class Template Reference

Detailed Description

template<typename Type, size_t Size, size_t RawSize, size_t NBids = 0>
class foxxll::mng_local::block_w_bids< Type, Size, RawSize, NBids >

Contains BID references for foxxll::typed_block , not intended for direct use.

Definition at line 141 of file typed_block.hpp.

+ Inheritance diagram for block_w_bids< Type, Size, RawSize, NBids >:
+ Collaboration diagram for block_w_bids< Type, Size, RawSize, NBids >:

#include <typed_block.hpp>

Public Types

using bid_type = BID< raw_size >
 
- Public Types inherited from element_block< Type, Size >
using const_iterator = const type *
 
using const_reference = const Type &
 
using iterator = pointer
 
using pointer = type *
 
using reference = Type &
 
using type = Type
 
using value_type = Type
 

Public Member Functions

 block_w_bids ()
 
bid_typeoperator() (size_t i)
 An operator to access bid references. More...
 
- Public Member Functions inherited from element_block< Type, Size >
 element_block ()
 
iterator begin ()
 Returns iterator pointing to the first element. More...
 
const_iterator begin () const
 Returns const_iterator pointing to the first element. More...
 
const_iterator cbegin () const
 Returns const_iterator pointing to the first element. More...
 
const_iterator cend () const
 Returns const_iterator pointing to the end element. More...
 
iterator end ()
 Returns iterator pointing to the end element. More...
 
const_iterator end () const
 Returns const_iterator pointing to the end element. More...
 
reference operator[] (size_t i)
 An operator to access elements in the block. More...
 

Public Attributes

bid_type ref [kNBIDs]
 Array of BID references. More...
 
- Public Attributes inherited from element_block< Type, Size >
value_type elem [kSize]
 Array of elements of type Type. More...
 

Static Public Attributes

static constexpr size_t kNBIDs = NBids
 
static constexpr size_t raw_size = RawSize
 
- Static Public Attributes inherited from element_block< Type, Size >
static constexpr size_t size
 number of elements in the block More...
 

Member Typedef Documentation

◆ bid_type

using bid_type = BID<raw_size>

Definition at line 147 of file typed_block.hpp.

Constructor & Destructor Documentation

◆ block_w_bids()

block_w_bids ( )
inline

Definition at line 158 of file typed_block.hpp.

Member Function Documentation

◆ operator()()

bid_type& operator() ( size_t  i)
inline

An operator to access bid references.

Definition at line 153 of file typed_block.hpp.

Member Data Documentation

◆ kNBIDs

constexpr size_t kNBIDs = NBids
static

Definition at line 145 of file typed_block.hpp.

◆ raw_size

constexpr size_t raw_size = RawSize
static

Definition at line 144 of file typed_block.hpp.

◆ ref

Array of BID references.

Definition at line 150 of file typed_block.hpp.


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