Class JSONStateReader

Inheritance Relationships

Base Type

Class Documentation

class JSONStateReader : public flamegpu::io::StateReader

JSON format StateReader

Public Functions

virtual void parse(const std::string &input_file, const std::shared_ptr<const ModelData> &model, Verbosity verbosity) override

Loads the specified XML file to an internal data-structure

  • input_file – Path to file to be read

  • model – Model description to ensure file loaded is suitable

  • verbosity – Verbosity level to use during load