Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
Teuchos::HashPair< Key, Value > Class Template Reference

Helper class for Teuchos::Hashtable, representing a single <key, value> pair. More...

#include <Teuchos_Hashtable.hpp>

Public Member Functions

 HashPair ()
 Empty constructor. More...
 
 HashPair (const Key &key, const Value &value)
 Basic <key, value> constructor. More...
 

Public Attributes

Key key_
 Templated key variable. More...
 
Value value_
 Templated value variable. More...
 

Detailed Description

template<class Key, class Value>
class Teuchos::HashPair< Key, Value >

Helper class for Teuchos::Hashtable, representing a single <key, value> pair.

Definition at line 28 of file Teuchos_Hashtable.hpp.

Constructor & Destructor Documentation

template<class Key, class Value>
Teuchos::HashPair< Key, Value >::HashPair ( )
inline

Empty constructor.

Definition at line 32 of file Teuchos_Hashtable.hpp.

template<class Key, class Value>
Teuchos::HashPair< Key, Value >::HashPair ( const Key &  key,
const Value &  value 
)
inline

Basic <key, value> constructor.

Definition at line 34 of file Teuchos_Hashtable.hpp.

Member Data Documentation

template<class Key, class Value>
Key Teuchos::HashPair< Key, Value >::key_

Templated key variable.

Definition at line 38 of file Teuchos_Hashtable.hpp.

template<class Key, class Value>
Value Teuchos::HashPair< Key, Value >::value_

Templated value variable.

Definition at line 40 of file Teuchos_Hashtable.hpp.


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