Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBpair.icc

Go to the documentation of this file.
00001 
00006 /*----------------------------------------------------------------------------*/
00007 /* C Tool Box: Designed and implemented by:                                   */
00008 /*    Walter F.J. Mueller   Gesellschaft fuer Schwerionenforschung (GSI)      */
00009 /*                          Planckstrasse 1, D-64291 Darmstadt, Germany       */
00010 /*                  Email:  W.F.J.Mueller@gsi.de                              */
00011 /*                  WWW:    http://www-kp3.gsi.de/www/kp3/people/mueller.html */
00012 /*------------------------------------------+---------------------------------*/
00023 //------------------------------------------+-----------------------------------
00025 
00026 template <class K, class V>
00027 inline CTBpair<K,V>::CTBpair()
00028 {}
00029 
00030 //------------------------------------------+-----------------------------------
00032 
00033 template <class K, class V>
00034 inline CTBpair<K,V>::CTBpair(const K& key)
00035   : m_key(key)
00036 {}
00037 
00038 //------------------------------------------+-----------------------------------
00040 
00041 template <class K, class V>
00042 inline CTBpair<K,V>::CTBpair(const K& key, const V& value)
00043   : m_key(key),
00044     m_value(value)
00045 {}
00046 
00047 //------------------------------------------+-----------------------------------
00049 
00050 template <class K, class V>
00051 inline K& CTBpair<K,V>::Key()
00052 {
00053   return m_key;
00054 }
00055 
00056 //------------------------------------------+-----------------------------------
00058 
00059 template <class K, class V>
00060 inline const K& CTBpair<K,V>::Key() const
00061 {
00062   return m_key;
00063 }
00064 
00065 //------------------------------------------+-----------------------------------
00067 
00068 template <class K, class V>
00069 inline V& CTBpair<K,V>::Value()
00070 {
00071   return m_value;
00072 }
00073 
00074 //------------------------------------------+-----------------------------------
00076 
00077 template <class K, class V>
00078 inline const V& CTBpair<K,V>::Value() const
00079 {
00080   return m_value;
00081 }

Generated at Fri Oct 24 18:11:29 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001