CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
|
#include <smart_containers.hpp>
Public Types | |
using | iterator = typename std::vector< Base * >::iterator |
using | const_iterator = typename std::vector< Base * >::const_iterator |
using | reverse_iterator = typename std::vector< Base * >::reverse_iterator |
using | const_reverse_iterator = typename std::vector< Base * >::const_reverse_iterator |
Public Member Functions | |
SmartVectorPointer (size_t size) | |
SmartVectorPointer (std::vector< Base * > &v_) | |
size_t | size () const |
bool | empty () const |
void | reserve (size_t n) |
void | push_back (Base *x) |
Base * | operator[] (size_t n) const |
Base *& | operator[] (size_t n) |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
std::vector< Base * > | release () |
Public Attributes | |
std::vector< Base * > | v |
Smart vector of pointers. Deletes all vector values on destruction.
Definition at line 26 of file smart_containers.hpp.
using CppAD::cg::SmartVectorPointer< Base >::const_iterator = typename std::vector<Base*>::const_iterator |
Definition at line 29 of file smart_containers.hpp.
using CppAD::cg::SmartVectorPointer< Base >::const_reverse_iterator = typename std::vector<Base*>::const_reverse_iterator |
Definition at line 31 of file smart_containers.hpp.
using CppAD::cg::SmartVectorPointer< Base >::iterator = typename std::vector<Base*>::iterator |
Definition at line 28 of file smart_containers.hpp.
using CppAD::cg::SmartVectorPointer< Base >::reverse_iterator = typename std::vector<Base*>::reverse_iterator |
Definition at line 30 of file smart_containers.hpp.
|
inline |
Definition at line 34 of file smart_containers.hpp.
|
inline |
Definition at line 37 of file smart_containers.hpp.
|
inline |
Definition at line 41 of file smart_containers.hpp.
|
inlinevirtual |
Definition at line 107 of file smart_containers.hpp.
|
inline |
Definition at line 69 of file smart_containers.hpp.
|
inline |
Definition at line 73 of file smart_containers.hpp.
|
inline |
Definition at line 49 of file smart_containers.hpp.
|
inline |
Definition at line 77 of file smart_containers.hpp.
|
inline |
Definition at line 81 of file smart_containers.hpp.
|
inline |
Definition at line 65 of file smart_containers.hpp.
|
inline |
Definition at line 61 of file smart_containers.hpp.
|
inline |
Definition at line 57 of file smart_containers.hpp.
|
inline |
Definition at line 85 of file smart_containers.hpp.
|
inline |
Definition at line 89 of file smart_containers.hpp.
|
inline |
Definition at line 101 of file smart_containers.hpp.
|
inline |
Definition at line 93 of file smart_containers.hpp.
|
inline |
Definition at line 97 of file smart_containers.hpp.
|
inline |
Definition at line 53 of file smart_containers.hpp.
|
inline |
Definition at line 45 of file smart_containers.hpp.
std::vector<Base*> CppAD::cg::SmartVectorPointer< Base >::v |
Definition at line 32 of file smart_containers.hpp.