Honeycomb  0.1
Component-Model Framework
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
honey::MemPool::Heap::BlockHeader Struct Reference

Heap block header. More...

#include <Pool.h>

Collaboration diagram for honey::MemPool::Heap::BlockHeader:
Collaboration graph
[legend]

Classes

struct  Debug
 

Public Member Functions

uint8tag ()
 Get tag from reserved area. More...
 
void validate (int sig)
 Assert that block signature is valid and matches expected value sig More...
 

Public Attributes

Debug debug
 
BlockHeadernext
 
szt size
 
uint8 offset
 Offset from original block position due to alignment (can change each allocation) More...
 
uint8 reserved
 Last byte is reserved to differentiate block header types. More...
 

Static Public Attributes

static const uint8 heapTag = -1
 

Detailed Description

Heap block header.

Member Function Documentation

uint8& honey::MemPool::Heap::BlockHeader::tag ( )
inline

Get tag from reserved area.

void honey::MemPool::Heap::BlockHeader::validate ( int  sig)
inline

Assert that block signature is valid and matches expected value sig

Member Data Documentation

Debug honey::MemPool::Heap::BlockHeader::debug
const uint8 honey::MemPool::Heap::BlockHeader::heapTag = -1
static
BlockHeader* honey::MemPool::Heap::BlockHeader::next
uint8 honey::MemPool::Heap::BlockHeader::offset

Offset from original block position due to alignment (can change each allocation)

uint8 honey::MemPool::Heap::BlockHeader::reserved

Last byte is reserved to differentiate block header types.

szt honey::MemPool::Heap::BlockHeader::size

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