TraDemGen Logo  1.00.4
C++ Simulated Travel Demand Generation Library
DictionaryManager.cpp
Go to the documentation of this file.
1 // //////////////////////////////////////////////////////////////////////
2 // Import section
3 // //////////////////////////////////////////////////////////////////////
4 // TRADEMGEN
6 
7 namespace TRADEMGEN {
8  // ////////////////////////////////////////////////////////////////////
9  const stdair::Probability_T DictionaryManager::
11  // return static_cast<stdair::Probability_T>(iKey) / 1000;
12  return iKey;
13  }
14 
15  // ////////////////////////////////////////////////////////////////////
17  valueToKey (const stdair::Probability_T iValue) {
18  // return iValue * 1000;
19  return iValue;
20  }
21 }
DictionaryManager.hpp
TRADEMGEN::DictionaryManager::valueToKey
static const DictionaryKey_T valueToKey(const stdair::Probability_T)
Definition: DictionaryManager.cpp:17
TRADEMGEN::DictionaryManager::keyToValue
static const stdair::Probability_T keyToValue(const DictionaryKey_T)
Definition: DictionaryManager.cpp:10
TRADEMGEN::DictionaryKey_T
stdair::Probability_T DictionaryKey_T
Definition: DictionaryManager.hpp:16
TRADEMGEN
Definition: BasConst.cpp:10