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 >:
Inheritance graph
[legend]

Public Types

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
 
typedef XprType::Scalar value_type
 
- 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 (const typename Base::non_const_iterator &other)
 
 generic_randaccess_stl_iterator (XprType &xpr, Index index)
 
reference operator* () const
 
pointer operator-> () const
 
indexed_based_stl_iterator_baseoperator= (const non_const_iterator &other)
 
reference operator[] (Index i) const
 
- 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 (const non_const_iterator &other) EIGEN_NO_THROW
 
 indexed_based_stl_iterator_base (XprType &xpr, Index index) EIGEN_NO_THROW
 
bool operator!= (const indexed_based_stl_iterator_base &other) const
 
bool operator!= (const other_iterator &other) const
 
generic_randaccess_stl_iterator< XprType > & operator++ ()
 
generic_randaccess_stl_iterator< XprTypeoperator++ (int)
 
generic_randaccess_stl_iterator< XprType > & operator+= (Index b)
 
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-- ()
 
generic_randaccess_stl_iterator< XprTypeoperator-- (int)
 
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
 
indexed_based_stl_iterator_baseoperator= (const non_const_iterator &other)
 
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
 
- Protected Types inherited from Eigen::internal::indexed_based_stl_iterator_base< generic_randaccess_stl_iterator< XprType > >
typedef indexed_based_stl_iterator_base< typename traits::const_iterator > const_iterator
 
typedef indexed_based_stl_iterator_base< typename traits::non_const_iterator > non_const_iterator
 
typedef internal::conditional< internal::is_const< XprType >::value, non_const_iterator, const_iterator >::type other_iterator
 
typedef indexed_based_stl_iterator_traits< generic_randaccess_stl_iterator< XprType > > traits
 
typedef traits::XprType XprType
 

Protected Attributes

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

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
 

Detailed Description

template<typename XprType>
class Eigen::internal::generic_randaccess_stl_iterator< XprType >

Definition at line 268 of file StlIterators.h.

Member Typedef Documentation

◆ Base

Definition at line 280 of file StlIterators.h.

◆ pointer

Definition at line 291 of file StlIterators.h.

◆ reference

Definition at line 292 of file StlIterators.h.

◆ value_type

Definition at line 271 of file StlIterators.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename XprType >
anonymous enum
protected
Enumerator
has_direct_access 
is_lvalue 

Definition at line 275 of file StlIterators.h.

Constructor & Destructor Documentation

◆ generic_randaccess_stl_iterator() [1/3]

Definition at line 294 of file StlIterators.h.

◆ 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

Definition at line 295 of file StlIterators.h.

◆ generic_randaccess_stl_iterator() [3/3]

Definition at line 296 of file StlIterators.h.

Member Function Documentation

◆ operator*()

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

Definition at line 299 of file StlIterators.h.

◆ operator->()

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

Definition at line 301 of file StlIterators.h.

◆ operator=()

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

Definition at line 43 of file StlIterators.h.

◆ operator[]()

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

Definition at line 300 of file StlIterators.h.

Member Data Documentation

◆ m_index

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

Definition at line 96 of file StlIterators.h.

◆ mp_xpr

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

Definition at line 95 of file StlIterators.h.

◆ read_only_ref_t

template<typename XprType >
const typedef value_type Eigen::internal::generic_randaccess_stl_iterator< XprType >::read_only_ref_t
protected

Definition at line 287 of file StlIterators.h.


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


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:48:27