Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MITK/MITK
/ Create
Method
Create
Modules/Forms/src/mitkQuestionFactory.cpp:36–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
}
35
36
Question* QuestionFactory::Create(const std::string& type) const
37
{
38
try
39
{
40
return m_Prototypes.at(type)->CreateAnother();
41
}
42
catch (const std::out_of_range&)
43
{
44
}
45
46
return nullptr;
47
}
Callers
1
from_json
Method · 0.45
Calls
2
at
Method · 0.80
CreateAnother
Method · 0.45
Tested by
no test coverage detected