MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / seedModelicaFile

Method seedModelicaFile

src/utilities/filetypes/WorkflowJSON.cpp:584–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582 }
583
584 boost::optional<openstudio::path> WorkflowJSON_Impl::seedModelicaFile() const {
585 Json::Value defaultValue("");
586 Json::Value seed = m_value.get("seed_modelica_file", defaultValue);
587 std::string result = seed.asString();
588 if (result.empty()) {
589 return boost::none;
590 }
591 return toPath(result);
592 }
593
594 boost::optional<std::string> WorkflowJSON_Impl::seedModelicaModel() const {
595 Json::Value defaultValue("");

Callers 2

getModelicaSetupFunction · 0.80
runInitializationMethod · 0.80

Calls 3

toPathFunction · 0.50
getMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected