Public Types | Public Member Functions | Private Attributes | List of all members
cartographer::sensor::MapByTime< DataType >::ConstIterator Class Reference

#include <map_by_time.h>

Public Types

using difference_type = int64
 
using iterator_category = std::bidirectional_iterator_tag
 
using pointer = const DataType *
 
using reference = const DataType &
 
using value_type = DataType
 

Public Member Functions

 ConstIterator (typename std::map< common::Time, DataType >::const_iterator iterator)
 
bool operator!= (const ConstIterator &it) const
 
const DataType & operator* () const
 
ConstIteratoroperator++ ()
 
ConstIteratoroperator-- ()
 
const DataType * operator-> () const
 
bool operator== (const ConstIterator &it) const
 

Private Attributes

std::map< common::Time, DataType >::const_iterator iterator_
 

Detailed Description

template<typename DataType>
class cartographer::sensor::MapByTime< DataType >::ConstIterator

Definition at line 103 of file map_by_time.h.

Member Typedef Documentation

◆ difference_type

template<typename DataType>
using cartographer::sensor::MapByTime< DataType >::ConstIterator::difference_type = int64

Definition at line 107 of file map_by_time.h.

◆ iterator_category

template<typename DataType>
using cartographer::sensor::MapByTime< DataType >::ConstIterator::iterator_category = std::bidirectional_iterator_tag

Definition at line 105 of file map_by_time.h.

◆ pointer

template<typename DataType>
using cartographer::sensor::MapByTime< DataType >::ConstIterator::pointer = const DataType*

Definition at line 108 of file map_by_time.h.

◆ reference

template<typename DataType>
using cartographer::sensor::MapByTime< DataType >::ConstIterator::reference = const DataType&

Definition at line 109 of file map_by_time.h.

◆ value_type

template<typename DataType>
using cartographer::sensor::MapByTime< DataType >::ConstIterator::value_type = DataType

Definition at line 106 of file map_by_time.h.

Constructor & Destructor Documentation

◆ ConstIterator()

template<typename DataType>
cartographer::sensor::MapByTime< DataType >::ConstIterator::ConstIterator ( typename std::map< common::Time, DataType >::const_iterator  iterator)
inlineexplicit

Definition at line 111 of file map_by_time.h.

Member Function Documentation

◆ operator!=()

template<typename DataType>
bool cartographer::sensor::MapByTime< DataType >::ConstIterator::operator!= ( const ConstIterator it) const
inline

Definition at line 133 of file map_by_time.h.

◆ operator*()

template<typename DataType>
const DataType& cartographer::sensor::MapByTime< DataType >::ConstIterator::operator* ( ) const
inline

Definition at line 115 of file map_by_time.h.

◆ operator++()

template<typename DataType>
ConstIterator& cartographer::sensor::MapByTime< DataType >::ConstIterator::operator++ ( )
inline

Definition at line 119 of file map_by_time.h.

◆ operator--()

template<typename DataType>
ConstIterator& cartographer::sensor::MapByTime< DataType >::ConstIterator::operator-- ( )
inline

Definition at line 124 of file map_by_time.h.

◆ operator->()

template<typename DataType>
const DataType* cartographer::sensor::MapByTime< DataType >::ConstIterator::operator-> ( ) const
inline

Definition at line 117 of file map_by_time.h.

◆ operator==()

template<typename DataType>
bool cartographer::sensor::MapByTime< DataType >::ConstIterator::operator== ( const ConstIterator it) const
inline

Definition at line 129 of file map_by_time.h.

Member Data Documentation

◆ iterator_

template<typename DataType>
std::map<common::Time, DataType>::const_iterator cartographer::sensor::MapByTime< DataType >::ConstIterator::iterator_
private

Definition at line 136 of file map_by_time.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59