Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
cartographer::mapping::NestedVectorsById< ValueType, IdType > Class Template Reference

#include <id.h>

Public Member Functions

IdType Append (int trajectory_id, const ValueType &value)
 
const ValueType & at (const IdType &id) const
 
ValueType & at (const IdType &id)
 
const std::vector< std::vector< ValueType > > data () const
 
int num_indices (int trajectory_id) const
 
int num_trajectories () const
 

Static Private Member Functions

static int GetIndex (const NodeId &id)
 
static int GetIndex (const SubmapId &id)
 

Private Attributes

std::vector< std::vector< ValueType > > data_
 

Detailed Description

template<typename ValueType, typename IdType>
class cartographer::mapping::NestedVectorsById< ValueType, IdType >

Definition at line 68 of file id.h.

Member Function Documentation

template<typename ValueType, typename IdType>
IdType cartographer::mapping::NestedVectorsById< ValueType, IdType >::Append ( int  trajectory_id,
const ValueType &  value 
)
inline

Definition at line 71 of file id.h.

template<typename ValueType, typename IdType>
const ValueType& cartographer::mapping::NestedVectorsById< ValueType, IdType >::at ( const IdType &  id) const
inline

Definition at line 79 of file id.h.

template<typename ValueType, typename IdType>
ValueType& cartographer::mapping::NestedVectorsById< ValueType, IdType >::at ( const IdType &  id)
inline

Definition at line 82 of file id.h.

template<typename ValueType, typename IdType>
const std::vector<std::vector<ValueType> > cartographer::mapping::NestedVectorsById< ValueType, IdType >::data ( ) const
inline

Definition at line 92 of file id.h.

template<typename ValueType, typename IdType>
static int cartographer::mapping::NestedVectorsById< ValueType, IdType >::GetIndex ( const NodeId id)
inlinestaticprivate

Definition at line 95 of file id.h.

template<typename ValueType, typename IdType>
static int cartographer::mapping::NestedVectorsById< ValueType, IdType >::GetIndex ( const SubmapId id)
inlinestaticprivate

Definition at line 96 of file id.h.

template<typename ValueType, typename IdType>
int cartographer::mapping::NestedVectorsById< ValueType, IdType >::num_indices ( int  trajectory_id) const
inline

Definition at line 87 of file id.h.

template<typename ValueType, typename IdType>
int cartographer::mapping::NestedVectorsById< ValueType, IdType >::num_trajectories ( ) const
inline

Definition at line 86 of file id.h.

Member Data Documentation

template<typename ValueType, typename IdType>
std::vector<std::vector<ValueType> > cartographer::mapping::NestedVectorsById< ValueType, IdType >::data_
private

Definition at line 98 of file id.h.


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


cartographer
Author(s):
autogenerated on Mon Jun 10 2019 12:51:39