TooN::Internal::VectorAlloc< Size, Precision > Struct Template Reference

#include <allocator.hh>

Inheritance diagram for TooN::Internal::VectorAlloc< Size, Precision >:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

template<int Size, class Precision>
struct TooN::Internal::VectorAlloc< Size, Precision >

Definition at line 124 of file allocator.hh.


Constructor & Destructor Documentation

template<int Size, class Precision >
TooN::Internal::VectorAlloc< Size, Precision >::VectorAlloc (  )  [inline]

Default constructor (only for statically sized vectors).

Definition at line 127 of file allocator.hh.

template<int Size, class Precision >
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.

template<int Size, class Precision >
template<class Op >
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.


Member Function Documentation

template<int Size, class Precision >
const Precision* TooN::Internal::VectorAlloc< Size, Precision >::data (  )  const [inline, protected]

Definition at line 160 of file allocator.hh.

template<int Size, class Precision >
Precision* TooN::Internal::VectorAlloc< Size, Precision >::data (  )  [inline, protected]

Definition at line 155 of file allocator.hh.

template<int Size, class Precision >
const Precision* TooN::Internal::VectorAlloc< Size, Precision >::get_data_ptr (  )  const [inline]

Definition at line 148 of file allocator.hh.

template<int Size, class Precision >
Precision* TooN::Internal::VectorAlloc< Size, Precision >::get_data_ptr (  )  [inline]

Definition at line 143 of file allocator.hh.

template<int Size, class Precision >
int TooN::Internal::VectorAlloc< Size, Precision >::size (  )  const [inline]

Return the size of the vector.

Definition at line 137 of file allocator.hh.

template<int Size, class Precision >
template<class Op >
void TooN::Internal::VectorAlloc< Size, Precision >::try_destructive_resize ( const Operator< Op > &   )  [inline, protected]

Definition at line 168 of file allocator.hh.

template<int Size, class Precision >
void TooN::Internal::VectorAlloc< Size, Precision >::try_destructive_resize ( int   )  [inline, protected]

Definition at line 165 of file allocator.hh.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines


libtoon
Author(s): Florian Weisshardt
autogenerated on Fri Jan 11 10:09:51 2013