My Project
src
config_manager.h
1
6
#ifndef SRC_CONFIG_MANAGER_H_
7
#define SRC_CONFIG_MANAGER_H_
8
9
#include <vector>
10
#include <string>
11
12
13
class
Route
;
18
class
ConfigManager
{
19
public
:
20
ConfigManager
();
21
~
ConfigManager
();
22
30
int
ReadConfig
(
const
std::string filename);
36
std::vector<Route *>
GetRoutes
()
const
{
return
routes; }
37
private
:
38
std::vector<Route *> routes;
39
};
40
41
#endif // SRC_CONFIG_MANAGER_H_
Route
The main class to define route.
Definition:
route.h:25
ConfigManager::GetRoutes
std::vector< Route * > GetRoutes() const
Getter of route derived from configuration file.
Definition:
config_manager.h:36
ConfigManager
The main class to read from configuration files.
Definition:
config_manager.h:18
ConfigManager::ReadConfig
int ReadConfig(const std::string filename)
Method read from configuration file.
Definition:
config_manager.cc:29
Generated by
1.8.16