Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
internal::counting_iterator Class Reference

Classes

struct  value_type

Public Types

using iterator_category = std::output_iterator_tag
using difference_type = std::ptrdiff_t
using pointer = void
using reference = void
using _Unchecked_type = counting_iterator

Public Member Functions

std::size_t count () const
counting_iterator & operator++ ()
counting_iterator operator++ (int)
value_type operator* () const

Private Attributes

std::size_t count_

Constructor & Destructor Documentation

◆ counting_iterator()

internal::counting_iterator::counting_iterator ( )
inline
16634: count_(0) {}

Member Function Documentation

◆ count()

std::size_t internal::counting_iterator::count ( ) const
inline
16636{ return count_; }

◆ operator++() [1/2]

counting_iterator & internal::counting_iterator::operator++ ( )
inline
16638 {
16639 ++count_;
16640 return *this;
16641 }

◆ operator++() [2/2]

counting_iterator internal::counting_iterator::operator++ ( int )
inline
16643 {
16644 auto it = *this;
16645 ++*this;
16646 return it;
16647 }

◆ operator*()

value_type internal::counting_iterator::operator* ( ) const
inline
16649{ return {}; }

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