MCPcopy 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
36Question* 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_jsonMethod · 0.45

Calls 2

atMethod · 0.80
CreateAnotherMethod · 0.45

Tested by

no test coverage detected