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

Method pythonPluginVariable

src/model/PythonPluginTrendVariable.cpp:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 PythonPluginVariable PythonPluginTrendVariable_Impl::pythonPluginVariable() const {
54 boost::optional<PythonPluginVariable> value = optionalPythonPluginVariable();
55 if (!value) {
56 LOG_AND_THROW(briefDescription() << " does not have a PythonPluginVariable attached.");
57 }
58 return value.get();
59 }
60
61 int PythonPluginTrendVariable_Impl::numberofTimestepstobeLogged() const {
62 boost::optional<int> value = getInt(OS_PythonPlugin_TrendVariableFields::NumberofTimestepstobeLogged, true);

Callers 5

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

getMethod · 0.45

Tested by 3

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36