netxsimdg
Loading...
Searching...
No Matches
ConfigMap.hpp
Go to the documentation of this file.
1
8#ifndef CONFIGMAP_HPP
9#define CONFIGMAP_HPP
10
11#include <map>
12#include <string>
13#include <variant>
14
15namespace Nextsim {
16
17typedef std::variant<double, unsigned, int, std::string> Fusi;
18typedef std::map<std::string, Fusi> ConfigMap;
19
20static const std::size_t CONFIGMAP_DOUBLE = 0;
21static const std::size_t CONFIGMAP_UNSIGNED = 1;
22static const std::size_t CONFIGMAP_INT = 2;
23static const std::size_t CONFIGMAP_STRING = 3;
24
25}
26#endif /* CONFIGMAP_HPP */