NGen
Loading...
Searching...
No Matches
routing.hpp
1#ifndef NGEN_REALIZATION_CONFIG_ROUTING_H
2#define NGEN_REALIZATION_CONFIG_ROUTING_H
3
4#include <boost/property_tree/ptree.hpp>
5
6#include "routing/Routing_Params.h"
7
8namespace realization{
9 namespace config{
10
11 static const std::string ROUTING_CONFIG_KEY = "t_route_config_file_with_path";
12 struct Routing{
13 std::shared_ptr<routing_params> params;
14 Routing(const boost::property_tree::ptree& tree){
15 params = std::make_shared<routing_params>(tree.get(ROUTING_CONFIG_KEY, ""));
16 }
17 };
18
19 }//end namespace config
20}//end namespace realization
21#endif //NGEN_REALIZATION_CONFIG_ROUTING_H
static const std::string ROUTING_CONFIG_KEY
Definition routing.hpp:11
Definition Bmi_C_Formulation.hpp:11
Definition routing.hpp:12
std::shared_ptr< routing_params > params
Definition routing.hpp:13
Routing(const boost::property_tree::ptree &tree)
Definition routing.hpp:14