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.

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.

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

Definition at line 391 of file vector.hpp.

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

Definition at line 402 of file vector.hpp.


Member Function Documentation

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

Definition at line 408 of file vector.hpp.

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

Definition at line 412 of file vector.hpp.

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

Definition at line 428 of file vector.hpp.

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

Definition at line 440 of file vector.hpp.

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

Definition at line 451 of file vector.hpp.

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

Definition at line 466 of file vector.hpp.


Member Data Documentation

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

Definition at line 369 of file vector.hpp.

size_t CppAD::vectorBool::nunit [private]

Definition at line 370 of file vector.hpp.

size_t CppAD::vectorBool::length [private]

Definition at line 371 of file vector.hpp.

Definition at line 372 of file vector.hpp.


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

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1