7#include "cdm/properties/SEScalarTime.h"
21 virtual bool Convert(
const std::string& logFilename,
SEScenario& dst);
24 virtual void AbsentAdditionalTime(
const SEScalarTime& time);
27 static bool GenerateScenarioFromLegacyLog(
const std::string& logFilename,
const std::string& stateFilename,
double extraTime_s=0);
30 void DetectEOL(
const std::string& content);
31 bool Extract(
const std::string& filename);
32 bool ExtractTagStrings(
const std::string& tag,
const std::string& content, std::vector<std::string>& tagStrs,
bool braces=
true);
33 bool ExtractTagStrings(
const std::string& tag,
const std::string& content, std::map<
double, std::vector<std::string>>& tagStrs,
bool braces=
true);
34 bool GetActions(
const std::string& content);
35 bool GetConditions(
const std::string& content);
36 bool GetFinalSimTime(
const std::string& content);
37 bool GetPatient(
const std::string& content);
38 bool GetSerializeFromFile(
const std::string& content);
39 bool GetSerializeFromString(
const std::string& content);
40 bool IdentifyTagStringEnd(
const std::string& content,
size_t& endIdx);
41 bool ParseTime(
const std::string& timeStr,
double& time_s);
44 std::map<double, std::vector<std::string>>
m_Actions;
Definition: SEScalarTime.h:28
Definition: SEScenario.h:12
Definition: SEScenarioLog.h:14
std::vector< std::string > m_Conditions
Definition: SEScenarioLog.h:45
std::string m_StateFilename
Definition: SEScenarioLog.h:49
SEScalarTime m_AdditionalTime
Definition: SEScenarioLog.h:53
std::string m_State
Definition: SEScenarioLog.h:50
std::string m_Patient
Definition: SEScenarioLog.h:48
std::map< double, std::vector< std::string > > m_Actions
Definition: SEScenarioLog.h:44
std::string m_EOL
Definition: SEScenarioLog.h:46
double m_FinalSimTime_s
Definition: SEScenarioLog.h:47