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

Method AddOtherResponse

Modules/Forms/src/mitkQuestionWithOtherOption.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void QuestionWithOtherOption::AddOtherResponse(const std::string& response)
45{
46 if (!m_HasOtherOption)
47 mitkThrow() << "Adding \"Other\" response is disallowed!";
48
49 m_OtherResponse = response;
50}
51
52void QuestionWithOtherOption::RemoveOtherResponse()
53{

Callers 2

OnIdToggledMethod · 0.80
OnEditingFinishedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected