API Documentation
Loading...
Searching...
No Matches
BoolBuffer.hpp File Reference
#include <NDEVR/ObjectAllocator.h>
#include <NDEVR/BitReference.h>
#include <NDEVR/BitIterator.h>
Include dependency graph for BoolBuffer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BufferAllocator< bool, t_index_type, false >
 Specific logic for allocating booleans in a Buffer. Will allocate 8 booleans per byte for quick storage and access. More...
 

Namespaces

namespace  NDEVR
 

Macros

#define bitmask(nbits)
 
#define bitmaskt(nbits, type)
 
#define bitset_idx(pos)
 
#define bitset_wrd(pos)
 
#define NDV_B2(n)
 
#define NDV_B4(n)
 
#define NDV_B6(n)
 

Macro Definition Documentation

◆ bitmask

#define bitmask ( nbits)
Value:
cast<uint01>(bitmaskt(nbits,uint32_t))
#define bitmaskt(nbits, type)
Definition BoolBuffer.hpp:40

◆ bitmaskt

#define bitmaskt ( nbits,
type )
Value:
((nbits) ? ~(type)0 >> (sizeof(type)*8-(nbits)): (type)0)

◆ bitset_idx

#define bitset_idx ( pos)
Value:
((pos) & 7)

◆ bitset_wrd

#define bitset_wrd ( pos)
Value:
((pos) >> 3)

◆ NDV_B2

#define NDV_B2 ( n)
Value:
n, n+1, n+1, n+2

◆ NDV_B4

#define NDV_B4 ( n)
Value:
NDV_B2(n), NDV_B2(n+1), NDV_B2(n+1), NDV_B2(n+2)
#define NDV_B2(n)

◆ NDV_B6

#define NDV_B6 ( n)
Value:
NDV_B4(n), NDV_B4(n+1), NDV_B4(n+1), NDV_B4(n+2)
#define NDV_B4(n)