15 m_pProgramParams->destroy();
16 m_pCaseParams->destroy();
17 m_pThreadParams->destroy();
23 const char* pPathToCaseFile;
24 const char* pPathToThreadFile;
31 m_pTextParser_Ptr = std::make_shared<MF::Parser::TextParser>();
34 m_pProgramParams = m_pTextParser_Ptr->ProgramConfigFileParse(pPathToProgramConfigFile, m_pScope, verbose);
36 if (strcmp(pPathToCaseFolder,
"") == 0)
37 CaseFolder = m_pProgramParams->lookupString(m_pScope,
"CaseFolder");
41 GeometryFile = (
CaseFolder + m_pProgramParams->lookupString(m_pScope,
"GeometryFolder") + m_pProgramParams->lookupString(m_pScope,
"GeometryFileName"));
44 CaseFile = (
CaseFolder + m_pProgramParams->lookupString(m_pScope,
"CaseParametersFile"));
46 m_pCaseParams = m_pTextParser_Ptr->CaseConfigFileParse(pPathToCaseFile, m_pScope, verbose);
51 m_pThreadParams = m_pTextParser_Ptr->ThreadConfigFileParse(pPathToThreadFile, m_pScope, verbose);
std::string GeometryFile
Full path to geometry file (relative to program folder).
std::string CaseFile
Full path to case config file (relative to program folder).
ConfigData(const char *pPathToProgramConfigFile, const char *pPathToCaseFolder, const char *pScope, bool verbose)
std::string ThreadFile
Full path to thread file (relative to program folder).
std::string CaseFolder
Path to case folder (relative to program folder).
std::string ProgramConfigFile
Full path to program config file (relative to program folder).