souffle  2.0.2-371-g6315b36
Public Member Functions | Data Fields
souffle::Table< T, blockSize >::Block Struct Reference
Collaboration diagram for souffle::Table< T, blockSize >::Block:
Collaboration graph

Public Member Functions

const T & append (const T &element)
 
 Block ()
 
bool isFull () const
 

Data Fields

data [blockSize]
 
Blocknext
 
std::size_t used = 0
 

Detailed Description

template<typename T, unsigned blockSize = 4096>
struct souffle::Table< T, blockSize >::Block

Definition at line 41 of file Table.h.

Constructor & Destructor Documentation

◆ Block()

template<typename T , unsigned blockSize = 4096>
souffle::Table< T, blockSize >::Block::Block ( )
inline

Definition at line 53 of file Table.h.

56 :
57  iterator(Block* block = nullptr, unsigned pos = 0) : block(block), pos(pos) {}

Member Function Documentation

◆ append()

template<typename T , unsigned blockSize = 4096>
const T& souffle::Table< T, blockSize >::Block::append ( const T &  element)
inline

Definition at line 59 of file Table.h.

64  {

◆ isFull()

template<typename T , unsigned blockSize = 4096>
bool souffle::Table< T, blockSize >::Block::isFull ( ) const
inline

Definition at line 55 of file Table.h.

56  :
57  iterator(Block* block = nullptr, unsigned pos = 0) : block(block), pos(pos) {}

Field Documentation

◆ data

template<typename T , unsigned blockSize = 4096>
T souffle::Table< T, blockSize >::Block::data[blockSize]

Definition at line 51 of file Table.h.

◆ next

template<typename T , unsigned blockSize = 4096>
Block* souffle::Table< T, blockSize >::Block::next

Definition at line 49 of file Table.h.

Referenced by souffle::Table< T, blockSize >::empty().

◆ used

template<typename T , unsigned blockSize = 4096>
std::size_t souffle::Table< T, blockSize >::Block::used = 0

Definition at line 50 of file Table.h.


The documentation for this struct was generated from the following file:
souffle::Table::Block::Block
Block()
Definition: Table.h:53