CppAD: A C++ Algorithmic Differentiation Package  20130918
CppAD::vectorBoolElement Class Reference

Class that is used to hold a non-constant element of a vector. More...

List of all members.

Public Member Functions

 operator bool () const
 conversion to a boolean value
vectorBoolElementoperator= (bool bit)
 assignment of this element to a bool
vectorBoolElementoperator= (const vectorBoolElement &e)
 assignment of this element to another element
 vectorBoolElement (UnitType *unit, UnitType mask)
 constructor from member values
 vectorBoolElement (const vectorBoolElement &e)
 constuctor from another element

Private Types

typedef size_t UnitType
 the boolean data is packed with sizeof(UnitType) bits per value

Private Attributes

UnitType mask_
 mask for the bit corresponding to this element (all zero except for bit that corresponds to this element)
UnitTypeunit_
 pointer to the UnitType value holding this eleemnt

Detailed Description

Class that is used to hold a non-constant element of a vector.

Definition at line 572 of file vector.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines