WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
sleipnir::VariableBlock< Mat >::const_iterator Class Reference

#include </home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/sleipnir/include/sleipnir/autodiff/VariableBlock.hpp>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = Variable
 
using difference_type = std::ptrdiff_t
 
using pointer = Variable*
 
using const_reference = const Variable&
 

Public Member Functions

 const_iterator (const VariableBlock< Mat > *mat, int row, int col)
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
bool operator== (const const_iterator &) const =default
 
const_reference operator* () const
 

Member Typedef Documentation

◆ const_reference

template<typename Mat >
using sleipnir::VariableBlock< Mat >::const_iterator::const_reference = const Variable&

◆ difference_type

template<typename Mat >
using sleipnir::VariableBlock< Mat >::const_iterator::difference_type = std::ptrdiff_t

◆ iterator_category

template<typename Mat >
using sleipnir::VariableBlock< Mat >::const_iterator::iterator_category = std::forward_iterator_tag

◆ pointer

template<typename Mat >
using sleipnir::VariableBlock< Mat >::const_iterator::pointer = Variable*

◆ value_type

template<typename Mat >
using sleipnir::VariableBlock< Mat >::const_iterator::value_type = Variable

Constructor & Destructor Documentation

◆ const_iterator()

template<typename Mat >
sleipnir::VariableBlock< Mat >::const_iterator::const_iterator ( const VariableBlock< Mat > * mat,
int row,
int col )
inline

Member Function Documentation

◆ operator*()

template<typename Mat >
const_reference sleipnir::VariableBlock< Mat >::const_iterator::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename Mat >
const_iterator & sleipnir::VariableBlock< Mat >::const_iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<typename Mat >
const_iterator sleipnir::VariableBlock< Mat >::const_iterator::operator++ ( int )
inline

◆ operator==()

template<typename Mat >
bool sleipnir::VariableBlock< Mat >::const_iterator::operator== ( const const_iterator & ) const
default

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