WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
slp::VariableBlock< Mat >::const_iterator Class Reference

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

Public Types

using iterator_category = std::bidirectional_iterator_tag
using value_type = Variable<Scalar>
using difference_type = std::ptrdiff_t
using pointer = Variable<Scalar>*
using const_reference = const Variable<Scalar>&

Public Member Functions

constexpr const_iterator () noexcept=default
constexpr const_iterator (const VariableBlock< Mat > *mat, int index) noexcept
constexpr const_iteratoroperator++ () noexcept
constexpr const_iterator operator++ (int) noexcept
constexpr const_iteratoroperator-- () noexcept
constexpr const_iterator operator-- (int) noexcept
constexpr bool operator== (const const_iterator &) const noexcept=default
constexpr const_reference operator* () const noexcept

Member Typedef Documentation

◆ const_reference

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

◆ difference_type

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

◆ iterator_category

template<typename Mat>
using slp::VariableBlock< Mat >::const_iterator::iterator_category = std::bidirectional_iterator_tag

◆ pointer

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

◆ value_type

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

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

template<typename Mat>
slp::VariableBlock< Mat >::const_iterator::const_iterator ( )
constexprdefaultnoexcept

◆ const_iterator() [2/2]

template<typename Mat>
slp::VariableBlock< Mat >::const_iterator::const_iterator ( const VariableBlock< Mat > * mat,
int index )
inlineconstexprnoexcept

Member Function Documentation

◆ operator*()

template<typename Mat>
const_reference slp::VariableBlock< Mat >::const_iterator::operator* ( ) const
inlineconstexprnoexcept

◆ operator++() [1/2]

template<typename Mat>
const_iterator & slp::VariableBlock< Mat >::const_iterator::operator++ ( )
inlineconstexprnoexcept

◆ operator++() [2/2]

template<typename Mat>
const_iterator slp::VariableBlock< Mat >::const_iterator::operator++ ( int )
inlineconstexprnoexcept

◆ operator--() [1/2]

template<typename Mat>
const_iterator & slp::VariableBlock< Mat >::const_iterator::operator-- ( )
inlineconstexprnoexcept

◆ operator--() [2/2]

template<typename Mat>
const_iterator slp::VariableBlock< Mat >::const_iterator::operator-- ( int )
inlineconstexprnoexcept

◆ operator==()

template<typename Mat>
bool slp::VariableBlock< Mat >::const_iterator::operator== ( const const_iterator & ) const
constexprdefaultnoexcept

The documentation for this class was generated from the following file:
  • /home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/sleipnir/include/sleipnir/autodiff/variable_block.hpp