Public Types | Public Member Functions | Private Member Functions | Friends | List of all members
gtsam::FastMap< KEY, VALUE > Class Template Reference

#include <FastMap.h>

Inheritance diagram for gtsam::FastMap< KEY, VALUE >:
Inheritance graph
[legend]

Public Types

typedef std::map< KEY, VALUE, std::less< KEY >, typename internal::FastDefaultAllocator< std::pair< const KEY, VALUE > >::typeBase
 

Public Member Functions

bool exists (const KEY &e) const
 
 FastMap ()
 
template<typename INPUTITERATOR >
 FastMap (INPUTITERATOR first, INPUTITERATOR last)
 
 FastMap (const FastMap< KEY, VALUE > &x)
 
 FastMap (const Base &x)
 
bool insert2 (const KEY &key, const VALUE &val)
 
 operator std::map< KEY, VALUE > () const
 

Private Member Functions

template<class ARCHIVE >
void serialize (ARCHIVE &ar, const unsigned int)
 

Friends

class boost::serialization::access
 

Detailed Description

template<typename KEY, typename VALUE>
class gtsam::FastMap< KEY, VALUE >

Definition at line 37 of file FastMap.h.

Member Typedef Documentation

template<typename KEY, typename VALUE>
typedef std::map<KEY, VALUE, std::less<KEY>, typename internal::FastDefaultAllocator<std::pair<const KEY, VALUE> >::type > gtsam::FastMap< KEY, VALUE >::Base

Definition at line 43 of file FastMap.h.

Constructor & Destructor Documentation

template<typename KEY, typename VALUE>
gtsam::FastMap< KEY, VALUE >::FastMap ( )
inline

Default constructor

Definition at line 46 of file FastMap.h.

template<typename KEY, typename VALUE>
template<typename INPUTITERATOR >
gtsam::FastMap< KEY, VALUE >::FastMap ( INPUTITERATOR  first,
INPUTITERATOR  last 
)
inlineexplicit

Constructor from a range, passes through to base class

Definition at line 50 of file FastMap.h.

template<typename KEY, typename VALUE>
gtsam::FastMap< KEY, VALUE >::FastMap ( const FastMap< KEY, VALUE > &  x)
inline

Copy constructor from another FastMap

Definition at line 53 of file FastMap.h.

template<typename KEY, typename VALUE>
gtsam::FastMap< KEY, VALUE >::FastMap ( const Base x)
inline

Copy constructor from the base map class

Definition at line 56 of file FastMap.h.

Member Function Documentation

template<typename KEY, typename VALUE>
bool gtsam::FastMap< KEY, VALUE >::exists ( const KEY &  e) const
inline

Handy 'exists' function

Definition at line 67 of file FastMap.h.

template<typename KEY, typename VALUE>
bool gtsam::FastMap< KEY, VALUE >::insert2 ( const KEY &  key,
const VALUE &  val 
)
inline

Handy 'insert' function for Matlab wrapper

Definition at line 64 of file FastMap.h.

template<typename KEY, typename VALUE>
gtsam::FastMap< KEY, VALUE >::operator std::map< KEY, VALUE > ( ) const
inline

Conversion to a standard STL container

Definition at line 59 of file FastMap.h.

template<typename KEY, typename VALUE>
template<class ARCHIVE >
void gtsam::FastMap< KEY, VALUE >::serialize ( ARCHIVE &  ar,
const unsigned  int 
)
inlineprivate

Definition at line 73 of file FastMap.h.

Friends And Related Function Documentation

template<typename KEY, typename VALUE>
friend class boost::serialization::access
friend

Serialization function

Definition at line 71 of file FastMap.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:09