NetDEM v1.0
Loading...
Searching...
No Matches
netdem::MiniMap< T_key, T_val > Class Template Reference

#include <mini_map.hpp>

Public Member Functions

const Pair< T_key, T_val > * begin () const
 
Pair< T_key, T_val > * begin ()
 
const Pair< T_key, T_val > * end () const
 
Pair< T_key, T_val > * end ()
 
void erase (Pair< T_key, T_val > *it)
 
void erase (const T_key &key)
 
const Pair< T_key, T_val > * find (const T_key &key) const
 
Pair< T_key, T_val > * find (const T_key &key)
 
int size () const
 
int size ()
 
const T_val & operator[] (const T_key &key) const
 
T_val & operator[] (const T_key &key)
 
const T_val & at (const T_key &key) const
 
T_val & at (const T_key &key)
 
void clear ()
 

Member Function Documentation

◆ at() [1/2]

template<typename T_key , typename T_val >
T_val & netdem::MiniMap< T_key, T_val >::at ( const T_key & key)
inline

◆ at() [2/2]

template<typename T_key , typename T_val >
const T_val & netdem::MiniMap< T_key, T_val >::at ( const T_key & key) const
inline

◆ begin() [1/2]

template<typename T_key , typename T_val >
Pair< T_key, T_val > * netdem::MiniMap< T_key, T_val >::begin ( )
inline

◆ begin() [2/2]

template<typename T_key , typename T_val >
const Pair< T_key, T_val > * netdem::MiniMap< T_key, T_val >::begin ( ) const
inline

◆ clear()

template<typename T_key , typename T_val >
void netdem::MiniMap< T_key, T_val >::clear ( )
inline

◆ end() [1/2]

template<typename T_key , typename T_val >
Pair< T_key, T_val > * netdem::MiniMap< T_key, T_val >::end ( )
inline

◆ end() [2/2]

template<typename T_key , typename T_val >
const Pair< T_key, T_val > * netdem::MiniMap< T_key, T_val >::end ( ) const
inline

◆ erase() [1/2]

template<typename T_key , typename T_val >
void netdem::MiniMap< T_key, T_val >::erase ( const T_key & key)
inline

◆ erase() [2/2]

template<typename T_key , typename T_val >
void netdem::MiniMap< T_key, T_val >::erase ( Pair< T_key, T_val > * it)
inline

◆ find() [1/2]

template<typename T_key , typename T_val >
Pair< T_key, T_val > * netdem::MiniMap< T_key, T_val >::find ( const T_key & key)
inline

◆ find() [2/2]

template<typename T_key , typename T_val >
const Pair< T_key, T_val > * netdem::MiniMap< T_key, T_val >::find ( const T_key & key) const
inline

◆ operator[]() [1/2]

template<typename T_key , typename T_val >
T_val & netdem::MiniMap< T_key, T_val >::operator[] ( const T_key & key)
inline

◆ operator[]() [2/2]

template<typename T_key , typename T_val >
const T_val & netdem::MiniMap< T_key, T_val >::operator[] ( const T_key & key) const
inline

◆ size() [1/2]

template<typename T_key , typename T_val >
int netdem::MiniMap< T_key, T_val >::size ( )
inline

◆ size() [2/2]

template<typename T_key , typename T_val >
int netdem::MiniMap< T_key, T_val >::size ( ) const
inline

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