Save/load trace and graph setup

This commit is contained in:
Jan Käberich 2020-12-04 23:49:52 +01:00
parent b91f431473
commit 9ad8def2ea
33 changed files with 605 additions and 28 deletions

View file

@ -0,0 +1,12 @@
#ifndef SAVABLE_H
#define SAVABLE_H
#include "json.hpp"
class Savable {
public:
virtual nlohmann::json toJSON() = 0;
virtual void fromJSON(nlohmann::json j) = 0;
};
#endif // SAVABLE_H