#include <Question.h>

Öffentliche Typen | |
| enum | Type {  TypeUndefined = 0, TypeSimple, TypeMultipleChoice, TypeFloat, TypeYear, TypeDate }  | 
| Type einer Frage.  Mehr ... | |
Öffentliche Methoden | |
| Type | getType () const | 
| Typ abfragen.  | |
| operator bool () const | |
| Prüft, ob es sich um eine gültige Frage handelt (sollte immer wahr sein).  | |
| bool | isSimple () const | 
| Gibt an, ob es sich um eine einfache Frage handelt.  | |
| bool | isMultipleChoice () const | 
| Gibt an, ob es sich um eine Multiple-Choice-Frage handelt.  | |
| bool | isFloat () const | 
| Gibt an, ob es sich um eine Kommazahl-Frage handelt.  | |
| bool | isYear () const | 
| Gibt an, ob es sich um eine Jahreszahl-Frage handelt.  | |
| bool | isDate () const | 
| Gibt an, ob es sich um eine Datum-Frage handelt.  | |
| virtual const std::string | qText () const | 
| Gibt den Frage-String zurück.  | |
| virtual const std::string | aText () const | 
| Gibt den Antwort-String zurück (bei einfachen Fragen).  | |
| 
virtual const std::vector < std::string >  | aList () const | 
| Gibt eine Liste mit Antwortmöglichkeiten zurück (bei Multiple-Choice-Fragen).  | |
| virtual const Result | checkAnswer (const std::string &answer) const =0 | 
| Überprüft die Frage.  | |
| virtual void | writeXml (xmlTextWriterPtr writer) const =0 | 
| Schreibt die Frage in eine content.xml-Datei eines OpenDocument-Textes.  | |
Geschützte Attribute | |
| Type | m_type | 
| Typ der Frage.  | |
Type einer Frage.
| TypeUndefined | Undefinierter Typ (ungültige Frage). | 
| TypeSimple | Einfache Frage: SimpleQuestion. | 
| TypeMultipleChoice | Multiple-Choice-Frage: MultipleChoiceQuestion. | 
| TypeFloat | Kommazahl-Frage: FloatQuestion. | 
| TypeYear | Jahreszahl-Frage: YearQuestion. | 
| TypeDate | Datum-Frage: DateQuestion. | 
 1.5.6