![]() |
Manual for OpenFLUID 2.1.11 |
Manages I/O of ghost simulators signatures
#include <machine/GhostSimulatorFileIO.hpp>
Public Member Functions | |
| GhostSimulatorFileIO ()=delete | |
Static Public Member Functions | |
| static bool | saveToFile (const openfluid::ware::SimulatorSignature &Signature, const std::string &DirPath) |
| static bool | loadFromFile (const std::string &FilePath, openfluid::ware::SimulatorSignature &Signature) |
|
delete |
|
static |
Loads a signature of a ghost simulator from a file
| [in] | FilePath | The path to the file to load |
| [out] | Signature | The signature loaded from file |
|
static |
Saves given signature of a ghost simulator to file
| [in] | Signature | The signature to save to file |
| [in] | DirPath | The directory path where the signature is saved as a file. The name of the created file is automatically created using the simulator ID. |
1.8.17