Public Member Functions | Private Attributes | List of all members
lvr2::MeapPair< KeyT, ValueT > Class Template Reference

Element in a meap, consisting of a key and a value. More...

#include <Meap.hpp>

Public Member Functions

KeyT & key ()
 
const KeyT & key () const
 
 MeapPair (KeyT key, ValueT value)
 
ValueT & value ()
 
const ValueT & value () const
 

Private Attributes

KeyT m_key
 
ValueT m_value
 

Detailed Description

template<typename KeyT, typename ValueT>
class lvr2::MeapPair< KeyT, ValueT >

Element in a meap, consisting of a key and a value.

This is equivalent to pair<KeyT, ValueT>, but with proper names instead of first and second.

Definition at line 57 of file Meap.hpp.

Constructor & Destructor Documentation

◆ MeapPair()

template<typename KeyT , typename ValueT >
lvr2::MeapPair< KeyT, ValueT >::MeapPair ( KeyT  key,
ValueT  value 
)
inline

Definition at line 60 of file Meap.hpp.

Member Function Documentation

◆ key() [1/2]

template<typename KeyT , typename ValueT >
KeyT& lvr2::MeapPair< KeyT, ValueT >::key ( )
inline

Definition at line 65 of file Meap.hpp.

◆ key() [2/2]

template<typename KeyT , typename ValueT >
const KeyT& lvr2::MeapPair< KeyT, ValueT >::key ( ) const
inline

Definition at line 69 of file Meap.hpp.

◆ value() [1/2]

template<typename KeyT , typename ValueT >
ValueT& lvr2::MeapPair< KeyT, ValueT >::value ( )
inline

Definition at line 73 of file Meap.hpp.

◆ value() [2/2]

template<typename KeyT , typename ValueT >
const ValueT& lvr2::MeapPair< KeyT, ValueT >::value ( ) const
inline

Definition at line 77 of file Meap.hpp.

Member Data Documentation

◆ m_key

template<typename KeyT , typename ValueT >
KeyT lvr2::MeapPair< KeyT, ValueT >::m_key
private

Definition at line 81 of file Meap.hpp.

◆ m_value

template<typename KeyT , typename ValueT >
ValueT lvr2::MeapPair< KeyT, ValueT >::m_value
private

Definition at line 82 of file Meap.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27