BoolFlags Class Reference
#include <boolflags.h>
Public Member Functions | |
void | set (unsigned int i, bool b=true) |
bool | get (unsigned int i) |
void | clear () |
unsigned char * | data () |
Protected Attributes | |
unsigned char | bits [2] |
Detailed Description
This class stores boolean values in single bytes.
It provides a similar functionality as TQBitArray but requires much less memory. We use it to store the flags of an article
Definition at line 28 of file boolflags.h.
The documentation for this class was generated from the following files: