Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkTextQuestion.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkTextQuestion_h
14
#define mitkTextQuestion_h
15
16
#include <
mitkQuestion.h
>
17
18
namespace
mitk::Forms
19
{
20
class
MITKFORMS_EXPORT
TextQuestion
:
public
Question
21
{
22
public
:
23
~
TextQuestion
()
override
;
24
25
std::vector<std::string> GetResponsesAsStrings()
const override
;
26
void
ClearResponses()
override
;
27
28
bool
IsComplete()
const override
;
29
30
std::string GetResponse()
const
;
31
void
SetResponse(
const
std::string& response);
32
33
private
:
34
std::string m_Response;
35
};
36
}
37
38
#endif
mitkQuestion.h
mitk::Forms::TextQuestion
Definition:
mitkTextQuestion.h:20
mitk::Forms
Definition:
mitkCheckboxesQuestion.h:18
mitk::Forms::Question
Abstract base class for all types of questions used in a Form.
Definition:
mitkQuestion.h:31
MITKFORMS_EXPORT
#define MITKFORMS_EXPORT
Definition:
MitkFormsExports.h:15
src
MITK
Modules
Forms
include
mitkTextQuestion.h
Generated on Tue Dec 24 2024 02:12:28 for Medical Imaging Interaction Toolkit by
1.8.17