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

Method GetParameter

Modules/ModelFit/src/Common/mitkModelFitInfo.cpp:47–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47mitk::modelFit::Parameter::ConstPointer
48mitk::modelFit::ModelFitInfo::GetParameter(const std::string& name,
49 const Parameter::Type& type) const
50{
51 for (ConstIterType iter = parameterList.begin(); iter != parameterList.end(); ++iter)
52 {
53 Parameter::ConstPointer p = static_cast<Parameter::ConstPointer>(*iter);
54
55 if (p->name == name && p->type == type)
56 {
57 return p;
58 }
59 }
60
61 return nullptr;
62}
63
64
65const mitk::modelFit::ModelFitInfo::ParamListType& mitk::modelFit::ModelFitInfo::GetParameters()

Callers 6

CheckModelFitInfoMethod · 0.45
InitializeMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 3

CheckModelFitInfoMethod · 0.36