plll  1.0
plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::RowsEnumerator Class Reference

Enumerates over all rows. For every row, a RowsEnumerator::RowEnumerator object is returned which allows to enumerate over that row. More...

#include <matrix.hpp>

Inheritance diagram for plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::RowsEnumerator:
plll::linalg::implementation::col_count_storage< Cols >

Public Types

typedef RowEnumerator Type
 The row enumerator type.
 

Public Member Functions

Type current () const PLLL_INTERNAL_NOTHROW_POSTFIX_INLINE
 Returns a current row's enumerator. More...
 
bool has_current () const PLLL_INTERNAL_NOTHROW_POSTFIX_INLINE
 Returns true if a current row exists and can be queried by the current() method. More...
 
void next () PLLL_INTERNAL_NOTHROW_POSTFIX_INLINE
 Goes to the next element. More...
 

Detailed Description

template<typename T, int Rows, int Cols, typename StorageTraits, bool MathObject>
class plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::RowsEnumerator

Enumerates over all rows. For every row, a RowsEnumerator::RowEnumerator object is returned which allows to enumerate over that row.

Definition at line 2797 of file matrix.hpp.

Member Function Documentation

template<typename T, int Rows, int Cols, typename StorageTraits, bool MathObject>
Type plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::RowsEnumerator::current ( ) const
inline

Returns a current row's enumerator.

Returns
An enumerator for the current row.

Definition at line 2821 of file matrix.hpp.

template<typename T, int Rows, int Cols, typename StorageTraits, bool MathObject>
bool plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::RowsEnumerator::has_current ( ) const
inline

Returns true if a current row exists and can be queried by the current() method.

Returns
Returns true if a row is available.

Definition at line 2832 of file matrix.hpp.

template<typename T, int Rows, int Cols, typename StorageTraits, bool MathObject>
void plll::linalg::base_matrix< T, Rows, Cols, StorageTraits, MathObject >::RowsEnumerator::next ( )
inline

Goes to the next element.

Must only be called if has_current() is true.

Definition at line 2842 of file matrix.hpp.


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