Public Member Functions | Private Member Functions | Private Attributes
cartographer::mapping::MapById< IdType, DataType >::ConstIterator Class Reference

#include <id.h>

List of all members.

Public Member Functions

 ConstIterator (const MapById &map_by_id, const int trajectory_id)
 ConstIterator (const MapById &map_by_id, const IdType &id)
bool operator!= (const ConstIterator &it) const
IdDataReference operator* () const
ConstIteratoroperator++ ()
ConstIteratoroperator-- ()
std::unique_ptr< const
IdDataReference
operator-> () const
bool operator== (const ConstIterator &it) const

Private Member Functions

void AdvanceToValidDataIterator ()

Private Attributes

std::map< int, DataType >
::const_iterator 
current_data_
std::map< int, MapByIndex >
::const_iterator 
current_trajectory_
std::map< int, MapByIndex >
::const_iterator 
end_trajectory_

Detailed Description

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

Definition at line 146 of file id.h.


Constructor & Destructor Documentation

template<typename IdType, typename DataType>
cartographer::mapping::MapById< IdType, DataType >::ConstIterator::ConstIterator ( const MapById map_by_id,
const int  trajectory_id 
) [inline, explicit]

Definition at line 154 of file id.h.

template<typename IdType, typename DataType>
cartographer::mapping::MapById< IdType, DataType >::ConstIterator::ConstIterator ( const MapById map_by_id,
const IdType &  id 
) [inline, explicit]

Definition at line 164 of file id.h.


Member Function Documentation

template<typename IdType, typename DataType>
void cartographer::mapping::MapById< IdType, DataType >::ConstIterator::AdvanceToValidDataIterator ( ) [inline, private]

Definition at line 216 of file id.h.

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

Definition at line 213 of file id.h.

template<typename IdType, typename DataType>
IdDataReference cartographer::mapping::MapById< IdType, DataType >::ConstIterator::operator* ( ) const [inline]

Definition at line 176 of file id.h.

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

Definition at line 187 of file id.h.

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

Definition at line 194 of file id.h.

template<typename IdType, typename DataType>
std::unique_ptr<const IdDataReference> cartographer::mapping::MapById< IdType, DataType >::ConstIterator::operator-> ( ) const [inline]

Definition at line 183 of file id.h.

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

Definition at line 204 of file id.h.


Member Data Documentation

template<typename IdType, typename DataType>
std::map<int, DataType>::const_iterator cartographer::mapping::MapById< IdType, DataType >::ConstIterator::current_data_ [private]

Definition at line 229 of file id.h.

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

Definition at line 227 of file id.h.

template<typename IdType, typename DataType>
std::map<int, MapByIndex>::const_iterator cartographer::mapping::MapById< IdType, DataType >::ConstIterator::end_trajectory_ [private]

Definition at line 228 of file id.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Thu May 9 2019 02:27:36