WPILibC++ 2024.3.2
wpi::log::DataLogIterator Class Reference

DataLogReader iterator. More...

#include <wpi/DataLogReader.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = DataLogRecord
 
using pointer = const value_type *
 
using reference = const value_type &
 

Public Member Functions

 DataLogIterator (const DataLogReader *reader, size_t pos)
 
bool operator== (const DataLogIterator &oth) const
 
bool operator!= (const DataLogIterator &oth) const
 
bool operator< (const DataLogIterator &oth) const
 
bool operator> (const DataLogIterator &oth) const
 
bool operator<= (const DataLogIterator &oth) const
 
bool operator>= (const DataLogIterator &oth) const
 
DataLogIteratoroperator++ ()
 
DataLogIterator operator++ (int)
 
reference operator* () const
 
pointer operator-> () const
 

Protected Attributes

const DataLogReaderm_reader
 
size_t m_pos
 
bool m_valid = false
 
DataLogRecord m_value
 

Detailed Description

DataLogReader iterator.

Member Typedef Documentation

◆ iterator_category

using wpi::log::DataLogIterator::iterator_category = std::forward_iterator_tag

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ DataLogIterator()

wpi::log::DataLogIterator::DataLogIterator ( const DataLogReader reader,
size_t  pos 
)
inline

Member Function Documentation

◆ operator!=()

bool wpi::log::DataLogIterator::operator!= ( const DataLogIterator oth) const
inline

◆ operator*()

DataLogIterator::reference wpi::log::DataLogIterator::operator* ( ) const
inline

◆ operator++() [1/2]

DataLogIterator & wpi::log::DataLogIterator::operator++ ( )
inline

◆ operator++() [2/2]

DataLogIterator wpi::log::DataLogIterator::operator++ ( int  )
inline

◆ operator->()

pointer wpi::log::DataLogIterator::operator-> ( ) const
inline

◆ operator<()

bool wpi::log::DataLogIterator::operator< ( const DataLogIterator oth) const
inline

◆ operator<=()

bool wpi::log::DataLogIterator::operator<= ( const DataLogIterator oth) const
inline

◆ operator==()

bool wpi::log::DataLogIterator::operator== ( const DataLogIterator oth) const
inline

◆ operator>()

bool wpi::log::DataLogIterator::operator> ( const DataLogIterator oth) const
inline

◆ operator>=()

bool wpi::log::DataLogIterator::operator>= ( const DataLogIterator oth) const
inline

Member Data Documentation

◆ m_pos

size_t wpi::log::DataLogIterator::m_pos
protected

◆ m_reader

const DataLogReader* wpi::log::DataLogIterator::m_reader
protected

◆ m_valid

bool wpi::log::DataLogIterator::m_valid = false
mutableprotected

◆ m_value

DataLogRecord wpi::log::DataLogIterator::m_value
mutableprotected

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