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

Method GetQuestions

Modules/Forms/src/mitkForm.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73std::vector<Question*> Form::Section::GetQuestions() const
74{
75 std::vector<Question*> questions;
76 questions.reserve(m_Questions.size());
77
78 for (const auto& question : m_Questions)
79 questions.push_back(question.get());
80
81 return questions;
82}
83
84void Form::Section::AddQuestion(Question* question)
85{

Callers 4

CreateQuestionWidgetsMethod · 0.80
UpdateFormHeaderMethod · 0.80
SubmitToCSVMethod · 0.80
to_jsonMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected