OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
block_s< aclass, blocksize > Class Template Reference

Classes

struct  info_t
 

Public Types

using offset_t = typename block_selectType_t<bitsNeeded>::type
 

Public Member Functions

bool usedDataAvailable () const
 
bool freeDataAvailable () const
 

Public Attributes

info_t data [blocksize]
 
offset_t prev_data [blocksize]
 
offset_t next_data [blocksize]
 
offset_t free_data
 
offset_t used_data
 
bool has_free_data: 1
 
bool has_used_data: 1
 
block_s< aclass, blocksize > * prev_block
 
block_s< aclass, blocksize > * next_block
 

Static Public Attributes

static constexpr size_t headersize = offsetof(info_t, data)
 
static constexpr size_t dataoffset = 0
 
static constexpr size_t datasize = sizeof(info_t)
 

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