Public Types | Public Member Functions | Private Attributes | List of all members
cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator Class Reference

#include <id.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, MapByIndex >::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, MapByIndex >::const_iterator current_trajectory_
 

Detailed Description

template<typename IdType, typename DataType>
class cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator

Definition at line 226 of file id.h.

Member Typedef Documentation

◆ difference_type

template<typename IdType, typename DataType>
using cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::difference_type = int64

Definition at line 230 of file id.h.

◆ iterator_category

template<typename IdType, typename DataType>
using cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::iterator_category = std::bidirectional_iterator_tag

Definition at line 228 of file id.h.

◆ pointer

template<typename IdType, typename DataType>
using cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::pointer = const int*

Definition at line 231 of file id.h.

◆ reference

template<typename IdType, typename DataType>
using cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::reference = const int&

Definition at line 232 of file id.h.

◆ value_type

template<typename IdType, typename DataType>
using cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::value_type = int

Definition at line 229 of file id.h.

Constructor & Destructor Documentation

◆ ConstTrajectoryIterator()

template<typename IdType, typename DataType>
cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::ConstTrajectoryIterator ( typename std::map< int, MapByIndex >::const_iterator  current_trajectory)
inlineexplicit

Definition at line 234 of file id.h.

Member Function Documentation

◆ operator!=()

template<typename IdType, typename DataType>
bool cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::operator!= ( const ConstTrajectoryIterator it) const
inline

Definition at line 254 of file id.h.

◆ operator*()

template<typename IdType, typename DataType>
int cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::operator* ( ) const
inline

Definition at line 238 of file id.h.

◆ operator++()

template<typename IdType, typename DataType>
ConstTrajectoryIterator& cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::operator++ ( )
inline

Definition at line 240 of file id.h.

◆ operator--()

template<typename IdType, typename DataType>
ConstTrajectoryIterator& cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::operator-- ( )
inline

Definition at line 245 of file id.h.

◆ operator==()

template<typename IdType, typename DataType>
bool cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::operator== ( const ConstTrajectoryIterator it) const
inline

Definition at line 250 of file id.h.

Member Data Documentation

◆ current_trajectory_

template<typename IdType, typename DataType>
std::map<int, MapByIndex>::const_iterator cartographer::mapping::MapById< IdType, DataType >::ConstTrajectoryIterator::current_trajectory_
private

Definition at line 259 of file id.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