Thrill  0.1

Detailed Description

template<typename Type, size_t kSize>
class foxxll::mng_local::element_block< Type, kSize >

Contains data elements for foxxll::typed_block , not intended for direct use.

Definition at line 74 of file typed_block.hpp.

+ Inheritance diagram for element_block< Type, kSize >:

#include <typed_block.hpp>

Public Types

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

 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

value_type elem [kSize]
 Array of elements of type Type. More...
 

Static Public Attributes

static constexpr size_t size = kSize
 number of elements in the block More...
 

Member Typedef Documentation

◆ const_iterator

using const_iterator = const type *

Definition at line 83 of file typed_block.hpp.

◆ const_reference

using const_reference = const Type &

Definition at line 80 of file typed_block.hpp.

◆ iterator

using iterator = pointer

Definition at line 82 of file typed_block.hpp.

◆ pointer

using pointer = type *

Definition at line 81 of file typed_block.hpp.

◆ reference

using reference = Type &

Definition at line 79 of file typed_block.hpp.

◆ type

using type = Type

Definition at line 77 of file typed_block.hpp.

◆ value_type

using value_type = Type

Definition at line 78 of file typed_block.hpp.

Constructor & Destructor Documentation

◆ element_block()

element_block ( )
inline

Definition at line 90 of file typed_block.hpp.

Member Function Documentation

◆ begin() [1/2]

iterator begin ( )
inline

Returns iterator pointing to the first element.

Definition at line 103 of file typed_block.hpp.

◆ begin() [2/2]

const_iterator begin ( ) const
inline

Returns const_iterator pointing to the first element.

Definition at line 109 of file typed_block.hpp.

◆ cbegin()

const_iterator cbegin ( ) const
inline

Returns const_iterator pointing to the first element.

Definition at line 115 of file typed_block.hpp.

◆ cend()

const_iterator cend ( ) const
inline

Returns const_iterator pointing to the end element.

Definition at line 133 of file typed_block.hpp.

◆ end() [1/2]

iterator end ( )
inline

Returns iterator pointing to the end element.

Definition at line 121 of file typed_block.hpp.

◆ end() [2/2]

const_iterator end ( ) const
inline

Returns const_iterator pointing to the end element.

Definition at line 127 of file typed_block.hpp.

◆ operator[]()

reference operator[] ( size_t  i)
inline

An operator to access elements in the block.

Definition at line 97 of file typed_block.hpp.

Member Data Documentation

◆ elem

value_type elem[kSize]

Array of elements of type Type.

Definition at line 88 of file typed_block.hpp.

◆ size

constexpr size_t size = kSize
static

number of elements in the block

Definition at line 85 of file typed_block.hpp.


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