Empirical
Classes | Public Types | Public Member Functions | List of all members
emp::valsort_map< Key, T > Class Template Reference

#include <valsort_map.h>

Public Types

using key_type = Key
 
using mapped_type = T
 
using value_type = std::pair< const Key, T >
 

Public Member Functions

 valsort_map ()
 
 valsort_map (const valsort_map &)=default
 
 valsort_map (valsort_map &&)=default
 
 ~valsort_map ()
 
size_t size () const
 
const mapped_typeGet (key_type key)
 
void Set (key_type key, const mapped_type &value)
 
auto cbegin ()
 
auto cend ()
 
auto crbegin ()
 
auto crend ()
 
auto cvbegin ()
 
auto cvend ()
 
auto crvbegin ()
 
auto crvend ()
 

Member Typedef Documentation

template<class Key , class T >
using emp::valsort_map< Key, T >::key_type = Key
template<class Key , class T >
using emp::valsort_map< Key, T >::mapped_type = T
template<class Key , class T >
using emp::valsort_map< Key, T >::value_type = std::pair<const Key,T>

Constructor & Destructor Documentation

template<class Key , class T >
emp::valsort_map< Key, T >::valsort_map ( )
inline
template<class Key , class T >
emp::valsort_map< Key, T >::valsort_map ( const valsort_map< Key, T > &  )
default
template<class Key , class T >
emp::valsort_map< Key, T >::valsort_map ( valsort_map< Key, T > &&  )
default
template<class Key , class T >
emp::valsort_map< Key, T >::~valsort_map ( )
inline

Member Function Documentation

template<class Key , class T >
auto emp::valsort_map< Key, T >::cbegin ( )
inline
template<class Key , class T >
auto emp::valsort_map< Key, T >::cend ( )
inline
template<class Key , class T >
auto emp::valsort_map< Key, T >::crbegin ( )
inline
template<class Key , class T >
auto emp::valsort_map< Key, T >::crend ( )
inline
template<class Key , class T >
auto emp::valsort_map< Key, T >::crvbegin ( )
inline
template<class Key , class T >
auto emp::valsort_map< Key, T >::crvend ( )
inline
template<class Key , class T >
auto emp::valsort_map< Key, T >::cvbegin ( )
inline
template<class Key , class T >
auto emp::valsort_map< Key, T >::cvend ( )
inline
template<class Key , class T >
const mapped_type& emp::valsort_map< Key, T >::Get ( key_type  key)
inline
template<class Key , class T >
void emp::valsort_map< Key, T >::Set ( key_type  key,
const mapped_type value 
)
inline
template<class Key , class T >
size_t emp::valsort_map< Key, T >::size ( ) const
inline

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