MRPT  2.0.4
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
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 229 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 235 of file CRawlog.h.

◆ iterator() [2/2]

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

Definition at line 236 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 277 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 241 of file CRawlog.h.

References m_it.

◆ operator*()

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

Definition at line 242 of file CRawlog.h.

References m_it.

◆ operator++() [1/2]

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

Definition at line 243 of file CRawlog.h.

References m_it.

◆ operator++() [2/2]

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

Definition at line 249 of file CRawlog.h.

References m_it.

◆ operator--() [1/2]

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

Definition at line 254 of file CRawlog.h.

References m_it.

◆ operator--() [2/2]

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

Definition at line 260 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 240 of file CRawlog.h.

References m_it.

Member Data Documentation

◆ m_it

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

Definition at line 232 of file CRawlog.h.

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




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020