1.00.6
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
11
namespace
TRADEMGEN
{
12
13
// //////////// Type definitions /////////////////
15
//typedef unsigned short DictionaryKey_T;
16
typedef
stdair::Probability_T
DictionaryKey_T
;
17
21
class
DictionaryManager
{
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
TRADEMGEN::DictionaryManager
Class wrapper of dictionary business methods.
Definition:
DictionaryManager.hpp:21
TRADEMGEN
Definition:
BasConst.cpp:10
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
Generated on Sun Aug 9 2020 00:00:00 for TraDemGen by
1.8.18