OPTPP::BoolVector Class Reference
BoolVector defines a vector of bools.
More...
List of all members.
Detailed Description
BoolVector defines a vector of bools.
- Author:
- Charles Tong
- Note:
- Copy constructor and assignment operator added by P.J. Williams
- Date:
- Last modified 02/2006
Definition at line 23 of file BoolVector.h.
Constructor & Destructor Documentation
OPTPP::BoolVector::BoolVector |
( |
int |
sz |
) |
|
OPTPP::BoolVector::BoolVector |
( |
int |
sz, |
|
|
const bool & |
val | |
|
) |
| | |
OPTPP::BoolVector::BoolVector |
( |
int |
sz, |
|
|
const BoolVector & |
val | |
|
) |
| | |
OPTPP::BoolVector::BoolVector |
( |
const BoolVector & |
val |
) |
|
OPTPP::BoolVector::BoolVector |
( |
void |
|
) |
[inline] |
Default Constructor.
- Note:
- Creates a bool vector of length 100
Definition at line 60 of file BoolVector.h.
OPTPP::BoolVector::~BoolVector |
( |
void |
|
) |
[inline] |
Member Function Documentation
const bool& OPTPP::BoolVector::operator() |
( |
int |
index |
) |
const |
- Returns:
- Const reference to the BoolVector element indexed by index
bool& OPTPP::BoolVector::operator() |
( |
int |
index |
) |
|
- Returns:
- Reference to the BoolVector element indexed by index
int OPTPP::BoolVector::Size |
( |
void |
|
) |
[inline] |
- Returns:
- The length of the vector
Definition at line 69 of file BoolVector.h.
The documentation for this class was generated from the following file: