$treeview $search $mathjax
00001 // ////////////////////////////////////////////////////////////////////// 00002 #ifndef __TRADEMGEN_BASIC_DICTIONARYMANAGER_HPP 00003 #define __TRADEMGEN_BASIC_DICTIONARYMANAGER_HPP 00004 00005 // ////////////////////////////////////////////////////////////////////// 00006 // Import section 00007 // ////////////////////////////////////////////////////////////////////// 00008 // StdAir 00009 #include <stdair/stdair_maths_types.hpp> 00010 00011 namespace TRADEMGEN { 00012 00013 // //////////// Type definitions ///////////////// 00015 //typedef unsigned short DictionaryKey_T; 00016 typedef stdair::Probability_T DictionaryKey_T; 00017 00021 class DictionaryManager { 00022 public: 00023 // //////////// Business methods ///////////////// 00027 static const stdair::Probability_T keyToValue (const DictionaryKey_T); 00028 00032 static const DictionaryKey_T valueToKey (const stdair::Probability_T); 00033 }; 00034 } 00035 #endif // __TRADEMGEN_BASIC_DICTIONARYMANAGER_HPP