#include <autovector.h>
Public Member Functions | ||||
| AutoVector () throw () | ||||
| Creates a new empty AutoVector. | ||||
| AutoVector (collection v) throw () | ||||
| Creates a new AutoVector initializated with the indicated vector of pointers. | ||||
| AutoVector (AutoVector< T > &other) throw () | ||||
| ||||
| AutoVector< T > & | operator= (AutoVector< T > &other) throw () | |||
| collection & | get () | |||
| const collection & | get () const | |||
| collection | release () | |||
| void | reset (collection v) | |||
| collection * | operator-> () throw () | |||
| void | clear () | |||
| const collection * | operator-> () const throw () | |||
| element_type & | operator[] (int i) | |||
| AutoVector (AutoVectorRef< T > __ref) throw () | ||||
| AutoVector & | operator= (AutoVectorRef< T > __ref) throw () | |||
| template<typename _Tp1> | ||||
| operator AutoVectorRef () throw () | ||||
| template<typename _Tp1> | ||||
| operator AutoVector () throw () | ||||
| void | deleteAll () | |||
Protected Attributes | ||||
| collection | internal_vector | |||
| Internal vector. | ||||
Private Types | ||||
| typedef T * | element_type | |||
| typedef vector< element_type > | collection | |||
| openikev2::AutoVector< T >::AutoVector | ( | collection | v | ) | throw () [inline, explicit] |
Creates a new AutoVector initializated with the indicated vector of pointers.
| v | Vector of pointers |
| openikev2::AutoVector< T >::AutoVector | ( | AutoVector< T > & | other | ) | throw () [inline] |
| other |
1.5.1