TraDemGen Logo  1.00.8
C++ Simulated Travel Demand Generation Library
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
11namespace 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
stdair::Probability_T DictionaryKey_T
Class wrapper of dictionary business methods.
static const stdair::Probability_T keyToValue(const DictionaryKey_T)
static const DictionaryKey_T valueToKey(const stdair::Probability_T)