StdAir Logo  0.45.0
C++ Standard Airline IT Object Library
DictionaryManager.hpp
Go to the documentation of this file.
00001 // //////////////////////////////////////////////////////////////////////
00002 #ifndef __STDAIR_BASIC_DICTIONARYMANAGER_HPP
00003 #define __STDAIR_BASIC_DICTIONARYMANAGER_HPP
00004 
00005 // //////////////////////////////////////////////////////////////////////
00006 // Import section
00007 // //////////////////////////////////////////////////////////////////////
00008 // StdAir
00009 #include <stdair/stdair_maths_types.hpp>
00010 
00011 namespace stdair {
00012 
00013   // //////////// Type definitions /////////////////
00017   typedef unsigned short DictionaryKey_T;
00018   
00022   class DictionaryManager {
00023   public:
00024     // //////////// Business methods /////////////////
00028     static const stdair::Probability_T keyToValue (const DictionaryKey_T);
00029     
00033     static const DictionaryKey_T valueToKey (const stdair::Probability_T);
00034   };
00035 }
00036 #endif // __STDAIR_BASIC_DICTIONARYMANAGER_HPP