Commit d8a0ccbc authored by Aaron Bray's avatar Aaron Bray
Browse files

Interface and Scenario Files page updates

parent 86031699
This diff is collapsed.
This diff is collapsed.
......@@ -57,15 +57,18 @@ public:
//--------------------------------------------------------------------------------------------------
/// \brief
/// Reset engine and set it to the state in the provided file.
/// The file may contain json or binary.
/// Anything but an extension of .json will be interpreted as binary.
/// Return value indicates engine was able to load provided state file.
/// Engine will be in a cleared state if this method fails.
//--------------------------------------------------------------------------------------------------
virtual bool SerializeFromFile(const std::string& filename) = 0;
virtual bool SerializeFromFile(const std::string& file) = 0;
//--------------------------------------------------------------------------------------------------
/// \brief
/// Save the current state of the engine to provided filename.
/// Engine will be in a cleared state if this method fails.
/// Using a .json extension will save a json/ascii file.
/// Anything else will save as binary.
//--------------------------------------------------------------------------------------------------
virtual bool SerializeToFile(const std::string& filename) const = 0;
......@@ -84,7 +87,6 @@ public:
/// Save the current state of the engine.
/// The state can be saved as JSON or bytes in the given string.
/// Note that the bytes are binary, not text; we only use the string class as a convenient container.
/// Engine will be in a cleared state if this method fails.
//--------------------------------------------------------------------------------------------------
virtual bool SerializeToString(std::string& state, SerializationFormat m) const = 0;
......
......@@ -60,7 +60,7 @@ message PatientAssessmentRequestData
ePatientAssessmentType Type = 2;/**<<@brief @ref ePatientAssessmentTypeTable */
}
/** @brief Worsen the effects of the Acute Respiratory Distress Syndrome condition. */
/** @brief Worsen the effects of the Acute %Respiratory Distress Syndrome condition. */
message AcuteRespiratoryDistressSyndromeExacerbationData
{
PatientActionData PatientAction = 1;
......@@ -179,7 +179,7 @@ message ForcedPauseData
{
ScalarTimeData Period = 1;/**<<@brief Duration of the breath hold. */
}
/** @brief Administer a substance through an Inhaler. This command will represent a single press of an Inhaler. */
/** @brief Administer a substance through an %Inhaler. This command will represent a single press of an %Inhaler. */
message UseInhalerData
{
}
......@@ -306,7 +306,7 @@ message PulmonaryShuntExacerbationData
Scalar0To1Data Severity = 2;/**<<@brief Scale of affect, 0 being none, 1 being the highest possible.*/
}
/** @brief Respiratory muscle weakness caused by excessive effort relative to the strength and endurance of the muscles. */
/** @brief %Respiratory muscle weakness caused by excessive effort relative to the strength and endurance of the muscles. */
message RespiratoryFatigueData
{
PatientActionData PatientAction = 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment