Program Listing for File XMLStateReader.h
↰ Return to documentation for file (include/flamegpu/io/XMLStateReader.h
)
#ifndef INCLUDE_FLAMEGPU_IO_XMLSTATEREADER_H_
#define INCLUDE_FLAMEGPU_IO_XMLSTATEREADER_H_
#include <memory>
#include <string>
#include "flamegpu/io/StateReader.h"
namespace flamegpu {
namespace io {
class XMLStateReader : public StateReader {
public:
void parse(const std::string &input_file, const std::shared_ptr<const ModelData> &model, Verbosity verbosity) override;
private:
static std::string getInitialState(const std::shared_ptr<const ModelData> &model, const std::string& agent_name);
};
} // namespace io
} // namespace flamegpu
#endif // INCLUDE_FLAMEGPU_IO_XMLSTATEREADER_H_