rex/src/loaders/Conf.cpp

18 lines
360 B
C++
Raw Normal View History

2017-04-22 12:07:11 +00:00
#include "Conf.h"
Conf::Conf( std::string filename ): JSON_Loader( filename )
2017-04-22 12:07:11 +00:00
{
this->plan_path = this->as_serialized()["plan_path"].asString();
this->units_path = this->as_serialized()["units_path"].asString();
2017-04-22 12:07:11 +00:00
};
std::string Conf::get_plan_path()
{
return this->plan_path;
}
std::string Conf::get_units_path()
{
return this->units_path;
}