omegalib  13.1
omicron::KeyValue< K, T > Class Template Reference

A key-value pair, usually stored in objects of the Dictionary class. More...

#include <otypes.h>

Public Member Functions

 KeyValue (const K &k, T v)
 
 KeyValue (std::pair< K, T > src)
 
 KeyValue (std::pair< const K, T > src)
 
const K & getKey ()
 
getValue ()
 
operator-> ()
 

Detailed Description

template<typename K, typename T>
class omicron::KeyValue< K, T >

A key-value pair, usually stored in objects of the Dictionary class.

+ Inheritance diagram for omicron::KeyValue< K, T >:

Constructor & Destructor Documentation

template<typename K , typename T >
omicron::KeyValue< K, T >::KeyValue ( const K &  k,
v 
)
inline
template<typename K , typename T >
omicron::KeyValue< K, T >::KeyValue ( std::pair< K, T >  src)
inline
template<typename K , typename T >
omicron::KeyValue< K, T >::KeyValue ( std::pair< const K, T >  src)
inline

Member Function Documentation

template<typename K , typename T >
const K& omicron::KeyValue< K, T >::getKey ( )
inline
template<typename K , typename T >
T omicron::KeyValue< K, T >::getValue ( )
inline
template<typename K , typename T >
T omicron::KeyValue< K, T >::operator-> ( )
inline

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