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

Enumerates over all columns. For every column, a ConstColsEnumerator::ColEnumerator object is returned which allows to enumerate over that column. More...

#include <matrix.hpp>

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

Public Types

typedef ConstColEnumerator Type
 The row enumerator type.
 

Public Member Functions

Type current () const PLLL_INTERNAL_NOTHROW_POSTFIX_INLINE
 Returns a current column's enumerator. More...
 
bool has_current () const PLLL_INTERNAL_NOTHROW_POSTFIX_INLINE
 Returns true if a current column 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 >::ConstColsEnumerator

Enumerates over all columns. For every column, a ConstColsEnumerator::ColEnumerator object is returned which allows to enumerate over that column.

Definition at line 2980 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 >::ConstColsEnumerator::current ( ) const
inline

Returns a current column's enumerator.

Returns
An enumerator for the current column.

Definition at line 3014 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 >::ConstColsEnumerator::has_current ( ) const
inline

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

Returns
Returns true if a column is available.

Definition at line 3025 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 >::ConstColsEnumerator::next ( )
inline

Goes to the next element.

Must only be called if has_current() is true.

Definition at line 3035 of file matrix.hpp.


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