CrystalSpace

Public API Reference

csBitArray Class Reference

A one-dimensional array of bits, similar to STL bitset. More...

#include <csutil/bitarray.h>

Inheritance diagram for csBitArray:

List of all members.

Public Member Functions

 csBitArray (const csBitArray &that)
 Construct as duplicate of that (copy constructor).
 csBitArray (size_t size)
 Construct with an initial size of size bits. These bits will be initialized as false.
 csBitArray ()
 Default constructor.
template<int A, typename B >
csBitArrayoperator= (const csBitArrayTweakable< A, B > &that)
 Copy from other array.

Detailed Description

A one-dimensional array of bits, similar to STL bitset.

The amount of bits is dynamic at runtime.

Definition at line 1003 of file bitarray.h.


Constructor & Destructor Documentation

csBitArray::csBitArray (  )  [inline]

Default constructor.

Definition at line 1007 of file bitarray.h.

csBitArray::csBitArray ( size_t  size  )  [inline, explicit]

Construct with an initial size of size bits. These bits will be initialized as false.

Definition at line 1009 of file bitarray.h.

csBitArray::csBitArray ( const csBitArray that  )  [inline]

Construct as duplicate of that (copy constructor).

Definition at line 1011 of file bitarray.h.


Member Function Documentation

template<int A, typename B >
csBitArray& csBitArray::operator= ( const csBitArrayTweakable< A, B > &  that  )  [inline]

Copy from other array.

Definition at line 1015 of file bitarray.h.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1