CppAD::vectorBool Class Reference

#include <vector.hpp>

List of all members.

Public Types

typedef bool value_type

Public Member Functions

 vectorBool (void)
 vectorBool (size_t n)
 vectorBool (const vectorBool &v)
 ~vectorBool (void)
size_t size (void) const
void resize (size_t n)
vectorBooloperator= (const vectorBool &v)
vectorBoolElement operator[] (size_t k)
bool operator[] (size_t k) const
void push_back (bool bit)

Private Types

typedef size_t UnitType

Private Attributes

size_t nunit
size_t length
UnitTypedata

Static Private Attributes

static const size_t BitPerUnit = std::numeric_limits<UnitType>::digits


Detailed Description

Definition at line 365 of file vector.hpp.


Member Typedef Documentation

typedef size_t CppAD::vectorBool::UnitType [private]

Definition at line 366 of file vector.hpp.

typedef bool CppAD::vectorBool::value_type

Definition at line 375 of file vector.hpp.


Constructor & Destructor Documentation

CppAD::vectorBool::vectorBool ( void   )  [inline]

Definition at line 378 of file vector.hpp.

CppAD::vectorBool::vectorBool ( size_t  n  )  [inline]

Definition at line 381 of file vector.hpp.

References BitPerUnit, CPPAD_NULL, CPPAD_TRACK_NEW_VEC, data, length, and nunit.

CppAD::vectorBool::vectorBool ( const vectorBool v  )  [inline]

Definition at line 391 of file vector.hpp.

References CPPAD_NULL, CPPAD_TRACK_NEW_VEC, data, and nunit.

CppAD::vectorBool::~vectorBool ( void   )  [inline]

Definition at line 402 of file vector.hpp.

References CPPAD_NULL, CPPAD_TRACK_DEL_VEC, and data.


Member Function Documentation

size_t CppAD::vectorBool::size ( void   )  const [inline]

Definition at line 408 of file vector.hpp.

References length.

Referenced by CppAD::operator<<().

void CppAD::vectorBool::resize ( size_t  n  )  [inline]

Definition at line 412 of file vector.hpp.

References BitPerUnit, CPPAD_NULL, CPPAD_TRACK_DEL_VEC, CPPAD_TRACK_NEW_VEC, data, length, and nunit.

vectorBool& CppAD::vectorBool::operator= ( const vectorBool v  )  [inline]

Definition at line 428 of file vector.hpp.

References CPPAD_ASSERT_KNOWN, CPPAD_ASSERT_UNKNOWN, data, length, and nunit.

vectorBoolElement CppAD::vectorBool::operator[] ( size_t  k  )  [inline]

Definition at line 440 of file vector.hpp.

References BitPerUnit, CPPAD_ASSERT_KNOWN, data, and length.

bool CppAD::vectorBool::operator[] ( size_t  k  )  const [inline]

Definition at line 451 of file vector.hpp.

References BitPerUnit, CPPAD_ASSERT_KNOWN, data, and length.

void CppAD::vectorBool::push_back ( bool  bit  )  [inline]

Definition at line 466 of file vector.hpp.

References BitPerUnit, CPPAD_ASSERT_UNKNOWN, CPPAD_TRACK_EXTEND, data, length, and nunit.


Member Data Documentation

const size_t CppAD::vectorBool::BitPerUnit = std::numeric_limits<UnitType>::digits [static, private]

Definition at line 369 of file vector.hpp.

Referenced by operator[](), push_back(), resize(), and vectorBool().

size_t CppAD::vectorBool::nunit [private]

Definition at line 370 of file vector.hpp.

Referenced by operator=(), push_back(), resize(), and vectorBool().

size_t CppAD::vectorBool::length [private]

Definition at line 371 of file vector.hpp.

Referenced by operator=(), operator[](), push_back(), resize(), size(), and vectorBool().

UnitType* CppAD::vectorBool::data [private]

Definition at line 372 of file vector.hpp.

Referenced by operator=(), operator[](), push_back(), resize(), vectorBool(), and ~vectorBool().


The documentation for this class was generated from the following file:
Generated on Sun Nov 14 14:15:36 2010 for Coin-All by  doxygen 1.4.7