#include <allocator.hh>
Public Member Functions | |
const Precision * | get_data_ptr () const |
Precision * | get_data_ptr () |
int | size () const |
Return the size of the vector. | |
template<class Op > | |
VectorAlloc (const Operator< Op > &) | |
Construction from an Operator. See Operator::size(). | |
VectorAlloc (int) | |
Construction from a size (required by damic vectors, ignored otherwise). | |
VectorAlloc () | |
Default constructor (only for statically sized vectors). | |
Protected Member Functions | |
const Precision * | data () const |
Precision * | data () |
template<class Op > | |
void | try_destructive_resize (const Operator< Op > &) |
void | try_destructive_resize (int) |
Definition at line 124 of file allocator.hh.
TooN::Internal::VectorAlloc< Size, Precision >::VectorAlloc | ( | ) | [inline] |
Default constructor (only for statically sized vectors).
Definition at line 127 of file allocator.hh.
TooN::Internal::VectorAlloc< Size, Precision >::VectorAlloc | ( | int | ) | [inline] |
Construction from a size (required by damic vectors, ignored otherwise).
Definition at line 130 of file allocator.hh.
TooN::Internal::VectorAlloc< Size, Precision >::VectorAlloc | ( | const Operator< Op > & | ) | [inline] |
Construction from an Operator. See Operator::size().
Definition at line 134 of file allocator.hh.
const Precision* TooN::Internal::VectorAlloc< Size, Precision >::data | ( | ) | const [inline, protected] |
Definition at line 160 of file allocator.hh.
Precision* TooN::Internal::VectorAlloc< Size, Precision >::data | ( | ) | [inline, protected] |
Definition at line 155 of file allocator.hh.
const Precision* TooN::Internal::VectorAlloc< Size, Precision >::get_data_ptr | ( | ) | const [inline] |
Definition at line 148 of file allocator.hh.
Precision* TooN::Internal::VectorAlloc< Size, Precision >::get_data_ptr | ( | ) | [inline] |
Definition at line 143 of file allocator.hh.
int TooN::Internal::VectorAlloc< Size, Precision >::size | ( | ) | const [inline] |
Return the size of the vector.
Definition at line 137 of file allocator.hh.
void TooN::Internal::VectorAlloc< Size, Precision >::try_destructive_resize | ( | const Operator< Op > & | ) | [inline, protected] |
Definition at line 168 of file allocator.hh.
void TooN::Internal::VectorAlloc< Size, Precision >::try_destructive_resize | ( | int | ) | [inline, protected] |
Definition at line 165 of file allocator.hh.