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

#include <allocator.hh>

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

List of all members.

Classes

struct  SFINAE_dummy

Public Member Functions

const Precision * get_data_ptr () const
Precision * get_data_ptr ()
void resize (int s)
int size () const
template<class Op >
 VectorAlloc (const Operator< Op > &op)
 VectorAlloc (int s)
 VectorAlloc ()

Protected Member Functions

const Precision * data () const
Precision * data ()
void try_destructive_resize (int newsize)
template<class Op >
void try_destructive_resize (const Op &)

Protected Attributes

std::vector< Precision > numbers
SFINAE_dummy< sizeof(&Operator
< Op >::size)> 
try_destructive_resize (const Operator< Op > &op)

Detailed Description

template<class Precision>
struct TooN::Internal::VectorAlloc< Resizable, Precision >

Definition at line 243 of file allocator.hh.


Constructor & Destructor Documentation

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

Definition at line 249 of file allocator.hh.

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

Definition at line 253 of file allocator.hh.

template<class Precision >
template<class Op >
TooN::Internal::VectorAlloc< Resizable, Precision >::VectorAlloc ( const Operator< Op > &  op  )  [inline]

Definition at line 260 of file allocator.hh.


Member Function Documentation

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

Definition at line 286 of file allocator.hh.

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

Definition at line 282 of file allocator.hh.

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

Definition at line 275 of file allocator.hh.

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

Definition at line 270 of file allocator.hh.

template<class Precision >
void TooN::Internal::VectorAlloc< Resizable, Precision >::resize ( int  s  )  [inline]

Definition at line 323 of file allocator.hh.

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

Definition at line 266 of file allocator.hh.

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

Definition at line 315 of file allocator.hh.

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

Definition at line 312 of file allocator.hh.


Member Data Documentation

template<class Precision >
std::vector<Precision> TooN::Internal::VectorAlloc< Resizable, Precision >::numbers [protected]

Definition at line 245 of file allocator.hh.

template<class Precision >
SFINAE_dummy<sizeof(&Operator<Op>::size)> TooN::Internal::VectorAlloc< Resizable, Precision >::try_destructive_resize(const Operator< Op > &op) [inline, protected]

Definition at line 305 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