CppAD::vector< Type > Class Template Reference

#include <vector.hpp>

List of all members.

Public Types

typedef Type value_type

Public Member Functions

 vector (void)
 vector (size_t n)
 vector (const vector &x)
 ~vector (void)
size_t size (void) const
void resize (size_t n)
vectoroperator= (const vector &x)
Type & operator[] (size_t i)
const Type & operator[] (size_t i) const
void push_back (const Type &x)

Private Attributes

size_t capacity
size_t length
Type * data

Detailed Description

template<class Type>
class CppAD::vector< Type >

Definition at line 230 of file vector.hpp.


Member Typedef Documentation

template<class Type>
typedef Type CppAD::vector< Type >::value_type

Definition at line 237 of file vector.hpp.


Constructor & Destructor Documentation

template<class Type>
CppAD::vector< Type >::vector ( void   )  [inline]

Definition at line 240 of file vector.hpp.

template<class Type>
CppAD::vector< Type >::vector ( size_t  n  )  [inline]

Definition at line 243 of file vector.hpp.

template<class Type>
CppAD::vector< Type >::vector ( const vector< Type > &  x  )  [inline]

Definition at line 250 of file vector.hpp.

template<class Type>
CppAD::vector< Type >::~vector ( void   )  [inline]

Definition at line 260 of file vector.hpp.


Member Function Documentation

template<class Type>
size_t CppAD::vector< Type >::size ( void   )  const [inline]

Definition at line 266 of file vector.hpp.

template<class Type>
void CppAD::vector< Type >::resize ( size_t  n  )  [inline]

Definition at line 270 of file vector.hpp.

template<class Type>
vector& CppAD::vector< Type >::operator= ( const vector< Type > &  x  )  [inline]

Definition at line 282 of file vector.hpp.

template<class Type>
Type& CppAD::vector< Type >::operator[] ( size_t  i  )  [inline]

Definition at line 293 of file vector.hpp.

template<class Type>
const Type& CppAD::vector< Type >::operator[] ( size_t  i  )  const [inline]

Definition at line 301 of file vector.hpp.

template<class Type>
void CppAD::vector< Type >::push_back ( const Type &  x  )  [inline]

Definition at line 309 of file vector.hpp.


Member Data Documentation

template<class Type>
size_t CppAD::vector< Type >::capacity [private]

Definition at line 232 of file vector.hpp.

template<class Type>
size_t CppAD::vector< Type >::length [private]

Definition at line 233 of file vector.hpp.

template<class Type>
Type* CppAD::vector< Type >::data [private]

Definition at line 234 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