PlasCom2  1.0
XPACC Multi-physics simluation application
keyvaluepair< K, V > Class Template Reference

Simple key-value pair. More...

Detailed Description

template<typename K, typename V>
class apptools::keyvaluepair< K, V >

Simple key-value pair.

Definition at line 30 of file AppTools.H.

#include <AppTools.H>

Public Member Functions

 keyvaluepair (const std::pair< K, V > &p)
 
 keyvaluepair (const K &k, const V &v)
 
 keyvaluepair ()
 
Key () const
 
V Value () const
 
K & Key ()
 
VValue ()
 
K & Key (const K &k)
 
VValue (const V &v)
 
Inheritance diagram for keyvaluepair< K, V >:
Collaboration diagram for keyvaluepair< K, V >:

Constructor & Destructor Documentation

◆ keyvaluepair() [1/3]

keyvaluepair ( const std::pair< K, V > &  p)
inline

Definition at line 33 of file AppTools.H.

◆ keyvaluepair() [2/3]

keyvaluepair ( const K &  k,
const V v 
)
inline

Definition at line 37 of file AppTools.H.

◆ keyvaluepair() [3/3]

keyvaluepair ( )
inline

Definition at line 41 of file AppTools.H.

Member Function Documentation

◆ Key() [1/3]

K Key ( ) const
inline

Definition at line 42 of file AppTools.H.

Referenced by apptools::operator<<(), parameters::ReadFromStream(), and parameters::SetValue().

Here is the caller graph for this function:

◆ Key() [2/3]

K& Key ( )
inline

Definition at line 44 of file AppTools.H.

◆ Key() [3/3]

K& Key ( const K &  k)
inline

Definition at line 46 of file AppTools.H.

◆ Value() [1/3]

V Value ( ) const
inline

Definition at line 43 of file AppTools.H.

Referenced by apptools::operator<<(), parameters::ReadFromStream(), and parameters::SetValue().

Here is the caller graph for this function:

◆ Value() [2/3]

V& Value ( )
inline

Definition at line 45 of file AppTools.H.

◆ Value() [3/3]

V& Value ( const V v)
inline

Definition at line 47 of file AppTools.H.


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