csBitArray Class Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
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 ()
| Default constructor.
| csBitArray (size_t size)
| Construct with an initial size of size bits. These bits will be initialized as false.
| csBitArray (const csBitArray &that)
| Construct as duplicate of that (copy constructor).
template<int A, typename B >
csBitArray & | operator= (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:

- csutil/bitarray.h