Unravel Engine C++ Reference
Loading...
Searching...
No Matches
input::bimap< K, V > Class Template Reference

#include <bimap.hpp>

Public Member Functions

void clear ()
 
auto get_key (const V value) const -> K
 
auto get_key (const V value, const K defaultKey) const -> K
 
auto get_value (const K key) const -> V
 
auto get_value (const K key, const V defaultValue) const -> V
 
void map (const K key, const V value)
 

Detailed Description

template<typename K, typename V>
class input::bimap< K, V >

Definition at line 8 of file bimap.hpp.

Member Function Documentation

◆ clear()

template<typename K , typename V >
void input::bimap< K, V >::clear ( )
inline

Definition at line 14 of file bimap.hpp.

◆ get_key() [1/2]

template<typename K , typename V >
auto input::bimap< K, V >::get_key ( const V value) const -> K
inline

Definition at line 20 of file bimap.hpp.

◆ get_key() [2/2]

template<typename K , typename V >
auto input::bimap< K, V >::get_key ( const V value,
const K defaultKey ) const -> K
inline

Definition at line 25 of file bimap.hpp.

◆ get_value() [1/2]

template<typename K , typename V >
auto input::bimap< K, V >::get_value ( const K key) const -> V
inline

Definition at line 36 of file bimap.hpp.

◆ get_value() [2/2]

template<typename K , typename V >
auto input::bimap< K, V >::get_value ( const K key,
const V defaultValue ) const -> V
inline

Definition at line 41 of file bimap.hpp.

◆ map()

template<typename K , typename V >
void input::bimap< K, V >::map ( const K key,
const V value )
inline

Definition at line 52 of file bimap.hpp.


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