TraDemGen Logo  1.00.0
C++ Simulated Travel Demand Generation Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
DictionaryManager.hpp
Go to the documentation of this file.
1 // //////////////////////////////////////////////////////////////////////
2 #ifndef __TRADEMGEN_BASIC_DICTIONARYMANAGER_HPP
3 #define __TRADEMGEN_BASIC_DICTIONARYMANAGER_HPP
4 
5 // //////////////////////////////////////////////////////////////////////
6 // Import section
7 // //////////////////////////////////////////////////////////////////////
8 // StdAir
9 #include <stdair/stdair_maths_types.hpp>
10 
11 namespace TRADEMGEN {
12 
13  // //////////// Type definitions /////////////////
15  //typedef unsigned short DictionaryKey_T;
16  typedef stdair::Probability_T DictionaryKey_T;
17 
22  public:
23  // //////////// Business methods /////////////////
27  static const stdair::Probability_T keyToValue (const DictionaryKey_T);
28 
32  static const DictionaryKey_T valueToKey (const stdair::Probability_T);
33  };
34 }
35 #endif // __TRADEMGEN_BASIC_DICTIONARYMANAGER_HPP