MRPT  1.9.9
mrpt::obs::CRawlog::iterator Class Reference

Detailed Description

A normal iterator, plus the extra method "getType" to determine the type of each entry in the sequence.

Definition at line 231 of file CRawlog.h.

#include <mrpt/obs/CRawlog.h>

Public Member Functions

 iterator ()
 
 iterator (const TListObjects::iterator &it)
 
virtual ~iterator ()=default
 
iteratoroperator= (const iterator &o)=default
 
bool operator== (const iterator &o)
 
bool operator!= (const iterator &o)
 
mrpt::serialization::CSerializable::Ptr operator* ()
 
iterator operator++ (int)
 
iteratoroperator++ ()
 
iterator operator-- (int)
 
iteratoroperator-- ()
 
TEntryType getType () const
 

Static Public Member Functions

static iterator erase (TListObjects &lst, const iterator &it)
 

Protected Attributes

TListObjects::iterator m_it
 

Constructor & Destructor Documentation

◆ iterator() [1/2]

mrpt::obs::CRawlog::iterator::iterator ( )
inline

Definition at line 237 of file CRawlog.h.

◆ iterator() [2/2]

mrpt::obs::CRawlog::iterator::iterator ( const TListObjects::iterator &  it)
inline

Definition at line 238 of file CRawlog.h.

◆ ~iterator()

virtual mrpt::obs::CRawlog::iterator::~iterator ( )
virtualdefault

Member Function Documentation

◆ erase()

static iterator mrpt::obs::CRawlog::iterator::erase ( TListObjects lst,
const iterator it 
)
inlinestatic

Definition at line 279 of file CRawlog.h.

References erase(), and m_it.

Referenced by erase(), and mrpt::obs::CRawlog::erase().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getType()

TEntryType mrpt::obs::CRawlog::iterator::getType ( ) const
inline

◆ operator!=()

bool mrpt::obs::CRawlog::iterator::operator!= ( const iterator o)
inline

Definition at line 243 of file CRawlog.h.

References m_it.

◆ operator*()

mrpt::serialization::CSerializable::Ptr mrpt::obs::CRawlog::iterator::operator* ( void  )
inline

Definition at line 244 of file CRawlog.h.

References m_it.

◆ operator++() [1/2]

iterator mrpt::obs::CRawlog::iterator::operator++ ( int  )
inline

Definition at line 245 of file CRawlog.h.

References m_it.

◆ operator++() [2/2]

iterator& mrpt::obs::CRawlog::iterator::operator++ ( )
inline

Definition at line 251 of file CRawlog.h.

References m_it.

◆ operator--() [1/2]

iterator mrpt::obs::CRawlog::iterator::operator-- ( int  )
inline

Definition at line 256 of file CRawlog.h.

References m_it.

◆ operator--() [2/2]

iterator& mrpt::obs::CRawlog::iterator::operator-- ( )
inline

Definition at line 262 of file CRawlog.h.

References m_it.

◆ operator=()

iterator& mrpt::obs::CRawlog::iterator::operator= ( const iterator o)
default

◆ operator==()

bool mrpt::obs::CRawlog::iterator::operator== ( const iterator o)
inline

Definition at line 242 of file CRawlog.h.

References m_it.

Member Data Documentation

◆ m_it

TListObjects::iterator mrpt::obs::CRawlog::iterator::m_it
protected

Definition at line 234 of file CRawlog.h.

Referenced by erase(), operator!=(), operator*(), operator++(), operator--(), and operator==().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019