class mrpt::obs::CRawlog::const_iterator

Overview

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

#include <mrpt/obs/CRawlog.h>

class const_iterator
{
public:
    // construction

    const_iterator();
    const_iterator(const TListObjects::const_iterator& it);

    // methods

    bool operator == (const const_iterator& o);
    bool operator != (const const_iterator& o);
    const mrpt::serialization::CSerializable::Ptr operator * () const;
    const_iterator operator ++ (int);
    const_iterator& operator ++ ();
    const_iterator operator -- (int);
    const_iterator& operator -- ();
    TEntryType getType() const;
};