OPTPP::BoolVector Class Reference

BoolVector defines a vector of bools. More...

List of all members.

Public Member Functions

 BoolVector (void)
 Default Constructor.
 BoolVector (const BoolVector &val)
 Copy Constructor.
 BoolVector (int sz, const BoolVector &val)
 BoolVector (int sz, const bool &val)
 BoolVector (int sz)
const bool & operator() (int index) const
bool & operator() (int index)
BoolVectoroperator= (const BoolVector &val)
 Assignment operator.
int Size (void)
 ~BoolVector (void)
 Destructor.

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  ) 
Parameters:
sz an integer argument
See also:
BoolVector(int sz, cost bool& val)
BoolVector(int sz, const BoolVector& val)
OPTPP::BoolVector::BoolVector ( int  sz,
const bool &  val 
)
Parameters:
sz an integer argument
val a bool
See also:
BoolVector(int sz)
BoolVector(int sz, const BoolVector& val)
OPTPP::BoolVector::BoolVector ( int  sz,
const BoolVector val 
)
Parameters:
sz an integer argument
val a BoolVector
See also:
BoolVector(int sz)
BoolVector(int sz, cost bool& val)
OPTPP::BoolVector::BoolVector ( const BoolVector val  ) 

Copy Constructor.

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]

Destructor.

Definition at line 64 of file BoolVector.h.


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
BoolVector& OPTPP::BoolVector::operator= ( const BoolVector val  ) 

Assignment operator.

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:
Generated on Mon Jan 24 12:04:41 2011 for FASTlib by  doxygen 1.6.3