TooN
Public Member Functions | List of all members
TooN::Internal::RowSizeHolder< S > Struct Template Reference
Inheritance diagram for TooN::Internal::RowSizeHolder< S >:
Inheritance graph
[legend]
Collaboration diagram for TooN::Internal::RowSizeHolder< S >:
Collaboration graph
[legend]

Public Member Functions

 RowSizeHolder (int i)
 Construct from an int to provide a run time size if necessary. More...
 
template<typename Op >
 RowSizeHolder (const Operator< Op > &op)
 Construct from an Operator, taking the size from the operator. More...
 
int num_rows () const
 Return the number of rows.
 

Constructor & Destructor Documentation

◆ RowSizeHolder() [1/2]

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

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

Parameters
iThe size, which is discarded for the static case.

◆ RowSizeHolder() [2/2]

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
opOperator from which to determine the size.

The documentation for this struct was generated from the following file: