Parse sources from file

- Parsing source from inifile
- as well as from a file.
parent b232ae02
Pipeline #18307 passed with stages
in 19 minutes and 9 seconds
This diff is collapsed.
......@@ -23,6 +23,7 @@
#define JPSCORE_PEDDISTRIBUTIONPARSER_H
#include "../pedestrian/PedDistributionLoader.h"
#include "../tinyxml/tinyxml.h"
class PedDistributionParser : public PedDistributionLoader {
......@@ -32,6 +33,8 @@ public:
virtual bool LoadPedDistribution(std::vector<std::shared_ptr<StartDistribution> >& startDis,
std::vector<std::shared_ptr<StartDistribution> >& startDisSub,
std::vector<std::shared_ptr<AgentsSource> >& startDisSources) override;
std::shared_ptr<AgentsSource> parseSourceNode(TiXmlElement* e);
private:
const Configuration* _configuration;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment