NDDEM
Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
Eigen::internal::generic_randaccess_stl_iterator< XprType > Class Template Reference

#include <StlIterators.h>

+ Inheritance diagram for Eigen::internal::generic_randaccess_stl_iterator< XprType >:

Public Types

typedef XprType::Scalar value_type
 
typedef internal::conditional< bool(is_lvalue), value_type *, const value_type * >::type pointer
 
typedef internal::conditional< bool(is_lvalue), value_type &, read_only_ref_t >::type reference
 
- Public Types inherited from Eigen::internal::indexed_based_stl_iterator_base< generic_randaccess_stl_iterator< XprType > >
typedef Index difference_type
 
typedef std::random_access_iterator_tag iterator_category
 

Public Member Functions

 generic_randaccess_stl_iterator ()
 
 generic_randaccess_stl_iterator (XprType &xpr, Index index)
 
 generic_randaccess_stl_iterator (const typename Base::non_const_iterator &other)
 
reference operator* () const
 
reference operator[] (Index i) const
 
pointer operator-> () const
 
indexed_based_stl_iterator_baseoperator= (const non_const_iterator &other)
 
- Public Member Functions inherited from Eigen::internal::indexed_based_stl_iterator_base< generic_randaccess_stl_iterator< XprType > >
 indexed_based_stl_iterator_base () EIGEN_NO_THROW
 
 indexed_based_stl_iterator_base (XprType &xpr, Index index) EIGEN_NO_THROW
 
 indexed_based_stl_iterator_base (const non_const_iterator &other) EIGEN_NO_THROW
 
indexed_based_stl_iterator_baseoperator= (const non_const_iterator &other)
 
generic_randaccess_stl_iterator< XprType > & operator++ ()
 
generic_randaccess_stl_iterator< XprTypeoperator++ (int)
 
generic_randaccess_stl_iterator< XprType > & operator-- ()
 
generic_randaccess_stl_iterator< XprTypeoperator-- (int)
 
difference_type operator- (const indexed_based_stl_iterator_base &other) const
 
difference_type operator- (const other_iterator &other) const
 
generic_randaccess_stl_iterator< XprType > & operator+= (Index b)
 
generic_randaccess_stl_iterator< XprType > & operator-= (Index b)
 
bool operator== (const indexed_based_stl_iterator_base &other) const
 
bool operator== (const other_iterator &other) const
 
bool operator!= (const indexed_based_stl_iterator_base &other) const
 
bool operator!= (const other_iterator &other) const
 
bool operator< (const indexed_based_stl_iterator_base &other) const
 
bool operator< (const other_iterator &other) const
 
bool operator<= (const indexed_based_stl_iterator_base &other) const
 
bool operator<= (const other_iterator &other) const
 
bool operator> (const indexed_based_stl_iterator_base &other) const
 
bool operator> (const other_iterator &other) const
 
bool operator>= (const indexed_based_stl_iterator_base &other) const
 
bool operator>= (const other_iterator &other) const
 

Protected Types

enum  { has_direct_access = (internal::traits<XprType>::Flags & DirectAccessBit) ? 1 : 0 , is_lvalue = internal::is_lvalue<XprType>::value }
 
typedef indexed_based_stl_iterator_base< generic_randaccess_stl_iteratorBase
 
typedef const value_type read_only_ref_t
 
- Protected Types inherited from Eigen::internal::indexed_based_stl_iterator_base< generic_randaccess_stl_iterator< XprType > >
typedef indexed_based_stl_iterator_traits< generic_randaccess_stl_iterator< XprType > > traits
 
typedef traits::XprType XprType
 
typedef indexed_based_stl_iterator_base< typename traits::non_const_iterator > non_const_iterator
 
typedef indexed_based_stl_iterator_base< typename traits::const_iterator > const_iterator
 
typedef internal::conditional< internal::is_const< XprType >::value, non_const_iterator, const_iterator >::type other_iterator
 

Protected Attributes

Index m_index
 
XprTypemp_xpr
 
- Protected Attributes inherited from Eigen::internal::indexed_based_stl_iterator_base< generic_randaccess_stl_iterator< XprType > >
XprTypemp_xpr
 
Index m_index
 

Additional Inherited Members

- Protected Member Functions inherited from Eigen::internal::indexed_based_stl_iterator_base< generic_randaccess_stl_iterator< XprType > >
generic_randaccess_stl_iterator< XprType > & derived ()
 
const generic_randaccess_stl_iterator< XprType > & derived () const
 

Member Typedef Documentation

◆ Base

◆ pointer

◆ read_only_ref_t

◆ reference

◆ value_type

template<typename XprType >
typedef XprType::Scalar Eigen::internal::generic_randaccess_stl_iterator< XprType >::value_type

Member Enumeration Documentation

◆ anonymous enum

template<typename XprType >
anonymous enum
protected
Enumerator
has_direct_access 
is_lvalue 

Constructor & Destructor Documentation

◆ generic_randaccess_stl_iterator() [1/3]

◆ generic_randaccess_stl_iterator() [2/3]

template<typename XprType >
Eigen::internal::generic_randaccess_stl_iterator< XprType >::generic_randaccess_stl_iterator ( XprType xpr,
Index  index 
)
inline

◆ generic_randaccess_stl_iterator() [3/3]

Member Function Documentation

◆ operator*()

template<typename XprType >
reference Eigen::internal::generic_randaccess_stl_iterator< XprType >::operator* ( ) const
inline

◆ operator->()

template<typename XprType >
pointer Eigen::internal::generic_randaccess_stl_iterator< XprType >::operator-> ( ) const
inline

◆ operator=()

template<typename XprType >
indexed_based_stl_iterator_base& Eigen::internal::indexed_based_stl_iterator_base< Derived >::operator=
inline

◆ operator[]()

template<typename XprType >
reference Eigen::internal::generic_randaccess_stl_iterator< XprType >::operator[] ( Index  i) const
inline

Member Data Documentation

◆ m_index

template<typename XprType >
Index Eigen::internal::indexed_based_stl_iterator_base< Derived >::m_index
protected

◆ mp_xpr

template<typename XprType >
XprType* Eigen::internal::indexed_based_stl_iterator_base< Derived >::mp_xpr
protected

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