51 void writeModel(std::ifstream& inputFile, std::ofstream& outputFile);
62 void writeParam(std::ofstream& paramFile,
const std::unordered_map<std::string, double>& params);
Declares a line-based transformer for MARTY-generated C++ files.
Declares a small helper to write parameter maps to CSV files.
Processes lines of a template C++ file and injects custom code.
High-level helper for writing modified model code and parameter files.
void writeParam(std::ofstream ¶mFile, const std::unordered_map< std::string, double > ¶ms)
Writes parameters to the parameter file.
void writeModel(std::ifstream &inputFile, std::ofstream &outputFile)
Processes the model source and writes the transformed file.
Helper class to serialize parameter values to a text stream.