Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
us::ShrinkableMap< Key, T > Class Template Reference

#include <usShrinkableMap.h>

Public Types

typedef std::map< Key, T > container_type
 
typedef container_type::iterator iterator
 
typedef container_type::const_iterator const_iterator
 
typedef container_type::size_type size_type
 
typedef container_type::key_type key_type
 
typedef container_type::mapped_type mapped_type
 
typedef container_type::value_type value_type
 
typedef container_type::reference reference
 
typedef container_type::const_reference const_reference
 

Public Member Functions

 ShrinkableMap ()
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void erase (iterator pos)
 
void erase (iterator first, iterator last)
 
size_type erase (const Key &key)
 
bool empty () const
 
void clear ()
 
size_type size () const
 
size_type max_size () const
 
T & operator[] (const Key &key)
 
size_type count (const Key &key) const
 
iterator find (const Key &key)
 
const_iterator find (const Key &key) const
 
std::pair< iterator, iteratorequal_range (const Key &key)
 
std::pair< const_iterator, const_iteratorequal_range (const Key &key) const
 
iterator lower_bound (const Key &key)
 
const_iterator lower_bound (const Key &key) const
 
iterator upper_bound (const Key &key)
 
const_iterator upper_bound (const Key &key) const
 

Detailed Description

template<class Key, class T>
class us::ShrinkableMap< Key, T >

A std::map style associative container allowing query and removal operations only.

Definition at line 38 of file usShrinkableMap.h.

Member Typedef Documentation

template<class Key , class T >
typedef container_type::const_iterator us::ShrinkableMap< Key, T >::const_iterator

Definition at line 47 of file usShrinkableMap.h.

template<class Key , class T >
typedef container_type::const_reference us::ShrinkableMap< Key, T >::const_reference

Definition at line 53 of file usShrinkableMap.h.

template<class Key , class T >
typedef std::map<Key,T> us::ShrinkableMap< Key, T >::container_type

Definition at line 45 of file usShrinkableMap.h.

template<class Key , class T >
typedef container_type::iterator us::ShrinkableMap< Key, T >::iterator

Definition at line 46 of file usShrinkableMap.h.

template<class Key , class T >
typedef container_type::key_type us::ShrinkableMap< Key, T >::key_type

Definition at line 49 of file usShrinkableMap.h.

template<class Key , class T >
typedef container_type::mapped_type us::ShrinkableMap< Key, T >::mapped_type

Definition at line 50 of file usShrinkableMap.h.

template<class Key , class T >
typedef container_type::reference us::ShrinkableMap< Key, T >::reference

Definition at line 52 of file usShrinkableMap.h.

template<class Key , class T >
typedef container_type::size_type us::ShrinkableMap< Key, T >::size_type

Definition at line 48 of file usShrinkableMap.h.

template<class Key , class T >
typedef container_type::value_type us::ShrinkableMap< Key, T >::value_type

Definition at line 51 of file usShrinkableMap.h.

Constructor & Destructor Documentation

template<class Key , class T >
us::ShrinkableMap< Key, T >::ShrinkableMap ( )
inline

Definition at line 55 of file usShrinkableMap.h.

Member Function Documentation

template<class Key , class T >
iterator us::ShrinkableMap< Key, T >::begin ( )
inline

Definition at line 60 of file usShrinkableMap.h.

template<class Key , class T >
const_iterator us::ShrinkableMap< Key, T >::begin ( ) const
inline

Definition at line 65 of file usShrinkableMap.h.

template<class Key , class T >
void us::ShrinkableMap< Key, T >::clear ( )
inline

Definition at line 100 of file usShrinkableMap.h.

template<class Key , class T >
size_type us::ShrinkableMap< Key, T >::count ( const Key &  key) const
inline

Definition at line 120 of file usShrinkableMap.h.

template<class Key , class T >
bool us::ShrinkableMap< Key, T >::empty ( ) const
inline

Definition at line 95 of file usShrinkableMap.h.

template<class Key , class T >
iterator us::ShrinkableMap< Key, T >::end ( )
inline

Definition at line 70 of file usShrinkableMap.h.

template<class Key , class T >
const_iterator us::ShrinkableMap< Key, T >::end ( ) const
inline

Definition at line 75 of file usShrinkableMap.h.

template<class Key , class T >
std::pair<iterator,iterator> us::ShrinkableMap< Key, T >::equal_range ( const Key &  key)
inline

Definition at line 135 of file usShrinkableMap.h.

template<class Key , class T >
std::pair<const_iterator,const_iterator> us::ShrinkableMap< Key, T >::equal_range ( const Key &  key) const
inline

Definition at line 140 of file usShrinkableMap.h.

template<class Key , class T >
void us::ShrinkableMap< Key, T >::erase ( iterator  pos)
inline

Definition at line 80 of file usShrinkableMap.h.

template<class Key , class T >
void us::ShrinkableMap< Key, T >::erase ( iterator  first,
iterator  last 
)
inline

Definition at line 85 of file usShrinkableMap.h.

template<class Key , class T >
size_type us::ShrinkableMap< Key, T >::erase ( const Key &  key)
inline

Definition at line 90 of file usShrinkableMap.h.

template<class Key , class T >
iterator us::ShrinkableMap< Key, T >::find ( const Key &  key)
inline

Definition at line 125 of file usShrinkableMap.h.

template<class Key , class T >
const_iterator us::ShrinkableMap< Key, T >::find ( const Key &  key) const
inline

Definition at line 130 of file usShrinkableMap.h.

template<class Key , class T >
iterator us::ShrinkableMap< Key, T >::lower_bound ( const Key &  key)
inline

Definition at line 145 of file usShrinkableMap.h.

template<class Key , class T >
const_iterator us::ShrinkableMap< Key, T >::lower_bound ( const Key &  key) const
inline

Definition at line 150 of file usShrinkableMap.h.

template<class Key , class T >
size_type us::ShrinkableMap< Key, T >::max_size ( ) const
inline

Definition at line 110 of file usShrinkableMap.h.

template<class Key , class T >
T& us::ShrinkableMap< Key, T >::operator[] ( const Key &  key)
inline

Definition at line 115 of file usShrinkableMap.h.

template<class Key , class T >
size_type us::ShrinkableMap< Key, T >::size ( ) const
inline

Definition at line 105 of file usShrinkableMap.h.

template<class Key , class T >
iterator us::ShrinkableMap< Key, T >::upper_bound ( const Key &  key)
inline

Definition at line 155 of file usShrinkableMap.h.

template<class Key , class T >
const_iterator us::ShrinkableMap< Key, T >::upper_bound ( const Key &  key) const
inline

Definition at line 160 of file usShrinkableMap.h.


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