MCPcopy Create free account
hub / github.com/MITK/MITK / GetVariableAsInt

Method GetVariableAsInt

Modules/Python/src/mitkPythonContext.cpp:258–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258std::optional<int> mitk::PythonContext::GetVariableAsInt(const std::string& varName)
259{
260 return m_Impl->GetVariableAs<int>(varName);
261}
262
263std::optional<double> mitk::PythonContext::GetVariableAsDouble(const std::string& varName)
264{

Callers 4

TestExecuteFileMethod · 0.80
TestBindImageToPythonMethod · 0.80
GetCUDADeviceInfoMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestExecuteFileMethod · 0.64
TestBindImageToPythonMethod · 0.64