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 232 of file CRawlog.h.

#include <mrpt/obs/CRawlog.h>

Public Member Functions

 iterator ()
 
 iterator (const TListObjects::iterator &it)
 
virtual ~iterator ()
 
iteratoroperator= (const iterator &o)
 
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 238 of file CRawlog.h.

◆ iterator() [2/2]

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

Definition at line 239 of file CRawlog.h.

◆ ~iterator()

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

Definition at line 240 of file CRawlog.h.

Member Function Documentation

◆ erase()

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

Definition at line 284 of file CRawlog.h.

References erase(), and m_it.

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

◆ getType()

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

◆ operator!=()

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

Definition at line 248 of file CRawlog.h.

References m_it.

◆ operator*()

mrpt::serialization::CSerializable::Ptr mrpt::obs::CRawlog::iterator::operator* ( void  )
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 250 of file CRawlog.h.

References m_it.

◆ operator++() [2/2]

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

Definition at line 256 of file CRawlog.h.

References m_it.

◆ operator--() [1/2]

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

Definition at line 261 of file CRawlog.h.

References m_it.

◆ operator--() [2/2]

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

Definition at line 267 of file CRawlog.h.

References m_it.

◆ operator=()

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

Definition at line 241 of file CRawlog.h.

References m_it.

◆ operator==()

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

Definition at line 247 of file CRawlog.h.

References m_it.

Member Data Documentation

◆ m_it

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

Definition at line 235 of file CRawlog.h.

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




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020