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

#include <ConcurrentMap.h>

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

Public Types

typedef ConcurrentMapBase< KEY, VALUE > Base
 
- Public Types inherited from gtsam::FastMap< KEY, VALUE >
typedef std::map< KEY, VALUE, std::less< KEY >, typename internal::FastDefaultAllocator< std::pair< const KEY, VALUE > >::typeBase
 

Public Member Functions

 ConcurrentMap ()
 
template<typename INPUTITERATOR >
 ConcurrentMap (INPUTITERATOR first, INPUTITERATOR last)
 
 ConcurrentMap (const ConcurrentMap< KEY, VALUE > &x)
 
 ConcurrentMap (const Base &x)
 
bool exists (const KEY &e) const
 
void unsafe_erase (typename Base::iterator position)
 
Base::size_type unsafe_erase (const KEY &k)
 
void unsafe_erase (typename Base::iterator first, typename Base::iterator last)
 
- Public Member Functions inherited from gtsam::FastMap< KEY, VALUE >
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

void erase ()
 
template<class Archive >
void load (Archive &ar, const unsigned int)
 
template<class Archive >
void save (Archive &ar, const unsigned int) const
 

Friends

class boost::serialization::access
 

Detailed Description

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

Definition at line 68 of file ConcurrentMap.h.

Member Typedef Documentation

template<typename KEY, typename VALUE>
typedef ConcurrentMapBase<KEY,VALUE> gtsam::ConcurrentMap< KEY, VALUE >::Base

Definition at line 72 of file ConcurrentMap.h.

Constructor & Destructor Documentation

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

Default constructor

Definition at line 75 of file ConcurrentMap.h.

template<typename KEY, typename VALUE>
template<typename INPUTITERATOR >
gtsam::ConcurrentMap< KEY, VALUE >::ConcurrentMap ( INPUTITERATOR  first,
INPUTITERATOR  last 
)
inline

Constructor from a range, passes through to base class

Definition at line 79 of file ConcurrentMap.h.

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

Copy constructor from another ConcurrentMap

Definition at line 82 of file ConcurrentMap.h.

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

Copy constructor from the base map class

Definition at line 85 of file ConcurrentMap.h.

Member Function Documentation

template<typename KEY, typename VALUE>
void gtsam::ConcurrentMap< KEY, VALUE >::erase ( )
inlineprivate

Definition at line 98 of file ConcurrentMap.h.

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

Handy 'exists' function

Definition at line 88 of file ConcurrentMap.h.

template<typename KEY, typename VALUE>
template<class Archive >
void gtsam::ConcurrentMap< KEY, VALUE >::load ( Archive &  ar,
const unsigned  int 
)
inlineprivate

Definition at line 114 of file ConcurrentMap.h.

template<typename KEY, typename VALUE>
template<class Archive >
void gtsam::ConcurrentMap< KEY, VALUE >::save ( Archive &  ar,
const unsigned  int 
) const
inlineprivate

Definition at line 106 of file ConcurrentMap.h.

template<typename KEY, typename VALUE>
void gtsam::ConcurrentMap< KEY, VALUE >::unsafe_erase ( typename Base::iterator  position)
inline

Definition at line 93 of file ConcurrentMap.h.

template<typename KEY, typename VALUE>
Base::size_type gtsam::ConcurrentMap< KEY, VALUE >::unsafe_erase ( const KEY &  k)
inline

Definition at line 94 of file ConcurrentMap.h.

template<typename KEY, typename VALUE>
void gtsam::ConcurrentMap< KEY, VALUE >::unsafe_erase ( typename Base::iterator  first,
typename Base::iterator  last 
)
inline

Definition at line 95 of file ConcurrentMap.h.

Friends And Related Function Documentation

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

Serialization function

Definition at line 104 of file ConcurrentMap.h.


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


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