Privacy
An open-source, flexible 3D physical simulation framework
configmaps::FIFOMap< Key, T > Class Template Reference

#include <FIFOMap.h>

Public Types

typedef std::map< Key, T >::iterator mapIterator
 
typedef std::map< Key, T >::const_iterator const_mapIterator
 
typedef std::list< FIFOItem< Key, T > >::iterator iterator
 
typedef std::list< FIFOItem< Key, T > >::const_iterator const_iterator
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
 FIFOMap ()
 
 FIFOMap (const FIFOMap< Key, T > &other)
 
FIFOMap< Key, T > & operator= (const FIFOMap< Key, T > &other)
 
virtual ~FIFOMap ()
 
T & operator[] (const Key &x)
 
std::pair< iterator, bool > insert (const std::pair< const Key, T > &x)
 
void erase (iterator position)
 
size_t erase (const Key &x)
 
void erase (iterator first, iterator last)
 
void swap (FIFOMap< Key, T > &other)
 
void clear ()
 
void append (FIFOMap< Key, T > &other)
 
void append (const FIFOMap< Key, T > &other)
 
iterator find (const Key &x)
 
const_iterator find (const Key &x) const
 

Private Attributes

std::list< FIFOItem< Key, T > > insertOrder
 

Detailed Description

template<typename Key, typename T>
class configmaps::FIFOMap< Key, T >

Definition at line 53 of file FIFOMap.h.

Member Typedef Documentation

◆ const_iterator

template<typename Key, typename T>
typedef std::list<FIFOItem<Key, T> >::const_iterator configmaps::FIFOMap< Key, T >::const_iterator

Definition at line 58 of file FIFOMap.h.

◆ const_mapIterator

template<typename Key, typename T>
typedef std::map<Key, T>::const_iterator configmaps::FIFOMap< Key, T >::const_mapIterator

Definition at line 56 of file FIFOMap.h.

◆ iterator

template<typename Key, typename T>
typedef std::list<FIFOItem<Key, T> >::iterator configmaps::FIFOMap< Key, T >::iterator

Definition at line 57 of file FIFOMap.h.

◆ mapIterator

template<typename Key, typename T>
typedef std::map<Key, T>::iterator configmaps::FIFOMap< Key, T >::mapIterator

Definition at line 55 of file FIFOMap.h.

Constructor & Destructor Documentation

◆ FIFOMap() [1/2]

template<typename Key, typename T>
configmaps::FIFOMap< Key, T >::FIFOMap ( )
inline

Definition at line 71 of file FIFOMap.h.

◆ FIFOMap() [2/2]

template<typename Key, typename T>
configmaps::FIFOMap< Key, T >::FIFOMap ( const FIFOMap< Key, T > &  other)
inline

Definition at line 72 of file FIFOMap.h.

◆ ~FIFOMap()

template<typename Key, typename T>
virtual configmaps::FIFOMap< Key, T >::~FIFOMap ( )
inlinevirtual

Definition at line 75 of file FIFOMap.h.

Member Function Documentation

◆ append() [1/2]

template<typename Key, typename T>
void configmaps::FIFOMap< Key, T >::append ( FIFOMap< Key, T > &  other)

Definition at line 229 of file FIFOMap.h.

◆ append() [2/2]

template<typename Key, typename T>
void configmaps::FIFOMap< Key, T >::append ( const FIFOMap< Key, T > &  other)

Definition at line 238 of file FIFOMap.h.

◆ begin() [1/2]

template<typename Key, typename T>
iterator configmaps::FIFOMap< Key, T >::begin ( )
inline

Definition at line 61 of file FIFOMap.h.

◆ begin() [2/2]

template<typename Key, typename T>
const_iterator configmaps::FIFOMap< Key, T >::begin ( ) const
inline

Definition at line 63 of file FIFOMap.h.

◆ clear()

template<typename Key , typename T >
void configmaps::FIFOMap< Key, T >::clear ( )

Definition at line 247 of file FIFOMap.h.

◆ end() [1/2]

template<typename Key, typename T>
iterator configmaps::FIFOMap< Key, T >::end ( )
inline

Definition at line 65 of file FIFOMap.h.

◆ end() [2/2]

template<typename Key, typename T>
const_iterator configmaps::FIFOMap< Key, T >::end ( ) const
inline

Definition at line 67 of file FIFOMap.h.

◆ erase() [1/3]

template<typename Key, typename T>
void configmaps::FIFOMap< Key, T >::erase ( iterator  position)

◆ erase() [2/3]

template<typename Key, typename T >
size_t configmaps::FIFOMap< Key, T >::erase ( const Key &  x)

Definition at line 197 of file FIFOMap.h.

◆ erase() [3/3]

template<typename Key, typename T >
void configmaps::FIFOMap< Key, T >::erase ( FIFOMap< Key, T >::iterator  first,
FIFOMap< Key, T >::iterator  last 
)

Definition at line 212 of file FIFOMap.h.

◆ find() [1/2]

template<typename Key, typename T >
FIFOMap< Key, T >::iterator configmaps::FIFOMap< Key, T >::find ( const Key &  x)

Definition at line 254 of file FIFOMap.h.

◆ find() [2/2]

template<typename Key, typename T>
const_iterator configmaps::FIFOMap< Key, T >::find ( const Key &  x) const
inline

Definition at line 120 of file FIFOMap.h.

◆ insert()

template<typename Key, typename T>
std::pair< typename FIFOMap< Key, T >::iterator, bool > configmaps::FIFOMap< Key, T >::insert ( const std::pair< const Key, T > &  x)

Definition at line 171 of file FIFOMap.h.

◆ operator=()

template<typename Key, typename T>
FIFOMap< Key, T > & configmaps::FIFOMap< Key, T >::operator= ( const FIFOMap< Key, T > &  other)

Definition at line 143 of file FIFOMap.h.

◆ operator[]()

template<typename Key, typename T >
T & configmaps::FIFOMap< Key, T >::operator[] ( const Key &  x)

Definition at line 158 of file FIFOMap.h.

◆ swap()

template<typename Key, typename T>
void configmaps::FIFOMap< Key, T >::swap ( FIFOMap< Key, T > &  other)

Definition at line 222 of file FIFOMap.h.

Member Data Documentation

◆ insertOrder

template<typename Key, typename T>
std::list<FIFOItem<Key, T> > configmaps::FIFOMap< Key, T >::insertOrder
private

Definition at line 133 of file FIFOMap.h.


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