TooN::Internal::RowSizeHolder< S > Struct Template Reference

#include <allocator.hh>

Inheritance diagram for TooN::Internal::RowSizeHolder< S >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int num_rows () const
 Return the number of rows.
template<typename Op >
 RowSizeHolder (const Operator< Op > &op)
 RowSizeHolder ()
 RowSizeHolder (int i)

Detailed Description

template<int S>
struct TooN::Internal::RowSizeHolder< S >

Definition at line 468 of file allocator.hh.


Constructor & Destructor Documentation

template<int S>
TooN::Internal::RowSizeHolder< S >::RowSizeHolder ( int  i  )  [inline]

Construct from an int to provide a run time size if necessary.

Parameters:
i The size, which is discarded for the static case.

Definition at line 473 of file allocator.hh.

template<int S>
TooN::Internal::RowSizeHolder< S >::RowSizeHolder (  )  [inline]

Definition at line 476 of file allocator.hh.

template<int S>
template<typename Op >
TooN::Internal::RowSizeHolder< S >::RowSizeHolder ( const Operator< Op > &  op  )  [inline]

Construct from an Operator, taking the size from the operator. The size is only used in the dynamic case.

Parameters:
op Operator from which to determine the size.

Definition at line 483 of file allocator.hh.


Member Function Documentation

template<int S>
int TooN::Internal::RowSizeHolder< S >::num_rows (  )  const [inline]

Return the number of rows.

Definition at line 486 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:50 2013