13 #ifndef mitkTextQuestion_h
14 #define mitkTextQuestion_h
63 std::string m_Response;
Abstract base class for questions with a single free-text response.
void ClearResponses() override
Clear the text response.
bool IsComplete() const override
Check whether the response is non-empty.
void SetResponse(const std::string &response)
Set the text response.
std::vector< std::string > GetResponsesAsStrings() const override
Return the text response as a single-element vector.
~TextQuestion() override
Virtual destructor.
std::string GetResponse() const
Get the current text response.