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 ///////////////// 00015 typedef unsigned short DictionaryKey_T; 00016 00020 class DictionaryManager { 00021 public: 00022 // //////////// Business methods ///////////////// 00026 static const stdair::Probability_T keyToValue (const DictionaryKey_T); 00027 00031 static const DictionaryKey_T valueToKey (const stdair::Probability_T); 00032 }; 00033 } 00034 #endif // __STDAIR_BASIC_DICTIONARYMANAGER_HPP