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

#include <StlIterators.h>

Public Types

typedef Index difference_type
 
typedef std::random_access_iterator_tag iterator_category
 
typedef internal::conditional< bool(is_lvalue), value_type *, const value_type * >::type pointer
 
typedef internal::conditional< bool(is_lvalue), value_type &, const value_type & >::type reference
 
typedef XprType::Scalar value_type
 

Public Member Functions

bool operator!= (const pointer_based_stl_iterator &other) const
 
bool operator!= (const other_iterator &other) const
 
reference operator* () const
 
pointer_based_stl_iteratoroperator++ ()
 
pointer_based_stl_iterator operator++ (int)
 
pointer_based_stl_iteratoroperator+= (Index b)
 
difference_type operator- (const pointer_based_stl_iterator &other) const
 
difference_type operator- (const other_iterator &other) const
 
pointer_based_stl_iteratoroperator-- ()
 
pointer_based_stl_iterator operator-- (int)
 
pointer_based_stl_iteratoroperator-= (Index b)
 
pointer operator-> () const
 
bool operator< (const pointer_based_stl_iterator &other) const
 
bool operator< (const other_iterator &other) const
 
bool operator<= (const pointer_based_stl_iterator &other) const
 
bool operator<= (const other_iterator &other) const
 
pointer_based_stl_iteratoroperator= (const non_const_iterator &other) EIGEN_NO_THROW
 
bool operator== (const pointer_based_stl_iterator &other) const
 
bool operator== (const other_iterator &other) const
 
bool operator> (const pointer_based_stl_iterator &other) const
 
bool operator> (const other_iterator &other) const
 
bool operator>= (const pointer_based_stl_iterator &other) const
 
bool operator>= (const other_iterator &other) const
 
reference operator[] (Index i) const
 
 pointer_based_stl_iterator () EIGEN_NO_THROW
 
 pointer_based_stl_iterator (XprType &xpr, Index index) EIGEN_NO_THROW
 
 pointer_based_stl_iterator (const non_const_iterator &other) EIGEN_NO_THROW
 

Protected Attributes

internal::variable_if_dynamic< Index, XprType::InnerStrideAtCompileTime > m_incr
 
pointer m_ptr
 

Private Types

enum  { is_lvalue = internal::is_lvalue<XprType>::value }
 
typedef pointer_based_stl_iterator< typename internal::add_const< XprType >::typeconst_iterator
 
typedef pointer_based_stl_iterator< typename internal::remove_const< XprType >::typenon_const_iterator
 
typedef internal::conditional< internal::is_const< XprType >::value, non_const_iterator, const_iterator >::type other_iterator
 

Friends

pointer_based_stl_iterator operator+ (const pointer_based_stl_iterator &a, Index b)
 
pointer_based_stl_iterator operator+ (Index a, const pointer_based_stl_iterator &b)
 
pointer_based_stl_iterator operator- (const pointer_based_stl_iterator &a, Index b)
 
pointer_based_stl_iterator operator- (Index a, const pointer_based_stl_iterator &b)
 
class pointer_based_stl_iterator< typename internal::add_const< XprType >::type >
 
class pointer_based_stl_iterator< typename internal::remove_const< XprType >::type >
 

Detailed Description

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

Definition at line 179 of file StlIterators.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 183 of file StlIterators.h.

◆ difference_type

Definition at line 189 of file StlIterators.h.

◆ iterator_category

template<typename XprType >
typedef std::random_access_iterator_tag Eigen::internal::pointer_based_stl_iterator< XprType >::iterator_category

Definition at line 191 of file StlIterators.h.

◆ non_const_iterator

Definition at line 182 of file StlIterators.h.

◆ other_iterator

Definition at line 184 of file StlIterators.h.

◆ pointer

Definition at line 192 of file StlIterators.h.

◆ reference

Definition at line 193 of file StlIterators.h.

◆ value_type

Definition at line 190 of file StlIterators.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename XprType >
anonymous enum
private
Enumerator
is_lvalue 

Definition at line 181 of file StlIterators.h.

Constructor & Destructor Documentation

◆ pointer_based_stl_iterator() [1/3]

Definition at line 196 of file StlIterators.h.

◆ pointer_based_stl_iterator() [2/3]

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

Definition at line 197 of file StlIterators.h.

◆ pointer_based_stl_iterator() [3/3]

template<typename XprType >
Eigen::internal::pointer_based_stl_iterator< XprType >::pointer_based_stl_iterator ( const non_const_iterator other)
inline

Definition at line 202 of file StlIterators.h.

Member Function Documentation

◆ operator!=() [1/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator!= ( const pointer_based_stl_iterator< XprType > &  other) const
inline

Definition at line 240 of file StlIterators.h.

◆ operator!=() [2/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator!= ( const other_iterator other) const
inline

Definition at line 247 of file StlIterators.h.

◆ operator*()

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

Definition at line 213 of file StlIterators.h.

◆ operator++() [1/2]

template<typename XprType >
pointer_based_stl_iterator& Eigen::internal::pointer_based_stl_iterator< XprType >::operator++ ( )
inline

Definition at line 217 of file StlIterators.h.

◆ operator++() [2/2]

template<typename XprType >
pointer_based_stl_iterator Eigen::internal::pointer_based_stl_iterator< XprType >::operator++ ( int  )
inline

Definition at line 220 of file StlIterators.h.

◆ operator+=()

template<typename XprType >
pointer_based_stl_iterator& Eigen::internal::pointer_based_stl_iterator< XprType >::operator+= ( Index  b)
inline

Definition at line 228 of file StlIterators.h.

◆ operator-() [1/2]

template<typename XprType >
difference_type Eigen::internal::pointer_based_stl_iterator< XprType >::operator- ( const pointer_based_stl_iterator< XprType > &  other) const
inline

Definition at line 231 of file StlIterators.h.

◆ operator-() [2/2]

template<typename XprType >
difference_type Eigen::internal::pointer_based_stl_iterator< XprType >::operator- ( const other_iterator other) const
inline

Definition at line 235 of file StlIterators.h.

◆ operator--() [1/2]

template<typename XprType >
pointer_based_stl_iterator& Eigen::internal::pointer_based_stl_iterator< XprType >::operator-- ( )
inline

Definition at line 218 of file StlIterators.h.

◆ operator--() [2/2]

template<typename XprType >
pointer_based_stl_iterator Eigen::internal::pointer_based_stl_iterator< XprType >::operator-- ( int  )
inline

Definition at line 221 of file StlIterators.h.

◆ operator-=()

template<typename XprType >
pointer_based_stl_iterator& Eigen::internal::pointer_based_stl_iterator< XprType >::operator-= ( Index  b)
inline

Definition at line 229 of file StlIterators.h.

◆ operator->()

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

Definition at line 215 of file StlIterators.h.

◆ operator<() [1/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator< ( const pointer_based_stl_iterator< XprType > &  other) const
inline

Definition at line 241 of file StlIterators.h.

◆ operator<() [2/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator< ( const other_iterator other) const
inline

Definition at line 248 of file StlIterators.h.

◆ operator<=() [1/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator<= ( const pointer_based_stl_iterator< XprType > &  other) const
inline

Definition at line 242 of file StlIterators.h.

◆ operator<=() [2/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator<= ( const other_iterator other) const
inline

Definition at line 249 of file StlIterators.h.

◆ operator=()

template<typename XprType >
pointer_based_stl_iterator& Eigen::internal::pointer_based_stl_iterator< XprType >::operator= ( const non_const_iterator other)
inline

Definition at line 206 of file StlIterators.h.

◆ operator==() [1/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator== ( const pointer_based_stl_iterator< XprType > &  other) const
inline

Definition at line 239 of file StlIterators.h.

◆ operator==() [2/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator== ( const other_iterator other) const
inline

Definition at line 246 of file StlIterators.h.

◆ operator>() [1/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator> ( const pointer_based_stl_iterator< XprType > &  other) const
inline

Definition at line 243 of file StlIterators.h.

◆ operator>() [2/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator> ( const other_iterator other) const
inline

Definition at line 250 of file StlIterators.h.

◆ operator>=() [1/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator>= ( const pointer_based_stl_iterator< XprType > &  other) const
inline

Definition at line 244 of file StlIterators.h.

◆ operator>=() [2/2]

template<typename XprType >
bool Eigen::internal::pointer_based_stl_iterator< XprType >::operator>= ( const other_iterator other) const
inline

Definition at line 251 of file StlIterators.h.

◆ operator[]()

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

Definition at line 214 of file StlIterators.h.

Friends And Related Function Documentation

◆ operator+ [1/2]

template<typename XprType >
pointer_based_stl_iterator operator+ ( const pointer_based_stl_iterator< XprType > &  a,
Index  b 
)
friend

Definition at line 223 of file StlIterators.h.

◆ operator+ [2/2]

template<typename XprType >
pointer_based_stl_iterator operator+ ( Index  a,
const pointer_based_stl_iterator< XprType > &  b 
)
friend

Definition at line 225 of file StlIterators.h.

◆ operator- [1/2]

template<typename XprType >
pointer_based_stl_iterator operator- ( const pointer_based_stl_iterator< XprType > &  a,
Index  b 
)
friend

Definition at line 224 of file StlIterators.h.

◆ operator- [2/2]

template<typename XprType >
pointer_based_stl_iterator operator- ( Index  a,
const pointer_based_stl_iterator< XprType > &  b 
)
friend

Definition at line 226 of file StlIterators.h.

◆ pointer_based_stl_iterator< typename internal::add_const< XprType >::type >

template<typename XprType >
friend class pointer_based_stl_iterator< typename internal::add_const< XprType >::type >
friend

Definition at line 186 of file StlIterators.h.

◆ pointer_based_stl_iterator< typename internal::remove_const< XprType >::type >

template<typename XprType >
friend class pointer_based_stl_iterator< typename internal::remove_const< XprType >::type >
friend

Definition at line 187 of file StlIterators.h.

Member Data Documentation

◆ m_incr

template<typename XprType >
internal::variable_if_dynamic<Index, XprType::InnerStrideAtCompileTime> Eigen::internal::pointer_based_stl_iterator< XprType >::m_incr
protected

Definition at line 256 of file StlIterators.h.

◆ m_ptr

template<typename XprType >
pointer Eigen::internal::pointer_based_stl_iterator< XprType >::m_ptr
protected

Definition at line 255 of file StlIterators.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:45:02