libkdenetwork Library API Documentation

BoolFlags Class Reference

This class stores boolean values in single bytes. More...

#include <boolflags.h>

List of all members.

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 QBitArray but requires much less memory. We use it to store the flags of an article

Definition at line 26 of file boolflags.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkdenetwork Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Dec 21 14:21:42 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003