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

#include <map_by_time.h>

Public Types

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

Public Member Functions

 ConstTrajectoryIterator (typename std::map< int, std::map< common::Time, DataType >>::const_iterator current_trajectory)
 
bool operator!= (const ConstTrajectoryIterator &it) const
 
int operator* () const
 
ConstTrajectoryIteratoroperator++ ()
 
ConstTrajectoryIteratoroperator-- ()
 
bool operator== (const ConstTrajectoryIterator &it) const
 

Private Attributes

std::map< int, std::map< common::Time, DataType > >::const_iterator current_trajectory_
 

Detailed Description

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

Definition at line 139 of file map_by_time.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 143 of file map_by_time.h.

◆ iterator_category

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

Definition at line 141 of file map_by_time.h.

◆ pointer

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

Definition at line 144 of file map_by_time.h.

◆ reference

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

Definition at line 145 of file map_by_time.h.

◆ value_type

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

Definition at line 142 of file map_by_time.h.

Constructor & Destructor Documentation

◆ ConstTrajectoryIterator()

template<typename DataType>
cartographer::sensor::MapByTime< DataType >::ConstTrajectoryIterator::ConstTrajectoryIterator ( typename std::map< int, std::map< common::Time, DataType >>::const_iterator  current_trajectory)
inlineexplicit

Definition at line 147 of file map_by_time.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 168 of file map_by_time.h.

◆ operator*()

template<typename DataType>
int cartographer::sensor::MapByTime< DataType >::ConstTrajectoryIterator::operator* ( ) const
inline

Definition at line 152 of file map_by_time.h.

◆ operator++()

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

Definition at line 154 of file map_by_time.h.

◆ operator--()

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

Definition at line 159 of file map_by_time.h.

◆ operator==()

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

Definition at line 164 of file map_by_time.h.

Member Data Documentation

◆ current_trajectory_

template<typename DataType>
std::map<int, std::map<common::Time, DataType> >::const_iterator cartographer::sensor::MapByTime< DataType >::ConstTrajectoryIterator::current_trajectory_
private

Definition at line 174 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