#include <vector.hpp>
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) |
vector & | operator= (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 |
Definition at line 230 of file vector.hpp.
typedef Type CppAD::vector< Type >::value_type |
Definition at line 237 of file vector.hpp.
CppAD::vector< Type >::vector | ( | void | ) | [inline] |
Definition at line 240 of file vector.hpp.
CppAD::vector< Type >::vector | ( | size_t | n | ) | [inline] |
Definition at line 243 of file vector.hpp.
CppAD::vector< Type >::vector | ( | const vector< Type > & | x | ) | [inline] |
Definition at line 250 of file vector.hpp.
CppAD::vector< Type >::~vector | ( | void | ) | [inline] |
Definition at line 260 of file vector.hpp.
size_t CppAD::vector< Type >::size | ( | void | ) | const [inline] |
Definition at line 266 of file vector.hpp.
void CppAD::vector< Type >::resize | ( | size_t | n | ) | [inline] |
Definition at line 270 of file vector.hpp.
vector& CppAD::vector< Type >::operator= | ( | const vector< Type > & | x | ) | [inline] |
Definition at line 282 of file vector.hpp.
Type& CppAD::vector< Type >::operator[] | ( | size_t | i | ) | [inline] |
Definition at line 293 of file vector.hpp.
const Type& CppAD::vector< Type >::operator[] | ( | size_t | i | ) | const [inline] |
Definition at line 301 of file vector.hpp.
void CppAD::vector< Type >::push_back | ( | const Type & | x | ) | [inline] |
Definition at line 309 of file vector.hpp.
size_t CppAD::vector< Type >::capacity [private] |
Definition at line 232 of file vector.hpp.
size_t CppAD::vector< Type >::length [private] |
Definition at line 233 of file vector.hpp.
Type* CppAD::vector< Type >::data [private] |
Definition at line 234 of file vector.hpp.