13 #ifndef mitkQuestionWithOtherOption_h
14 #define mitkQuestionWithOtherOption_h
37 std::vector<std::string> GetResponsesAsStrings()
const override;
38 void ClearResponses()
override;
40 bool IsComplete()
const override;
44 bool HasOtherOption()
const;
50 void EnableOtherOption();
53 void SetResponse(
size_t i)
override;
60 void AddOtherResponse(
const std::string& response);
64 void RemoveOtherResponse();
68 void SetOtherResponse(
const std::string& response);
71 bool m_HasOtherOption;
72 std::optional<std::string> m_OtherResponse;