#include <Question.h>
Öffentliche Methoden | |
| DynamicString (const std::string &source, bool parse=true) | |
| Standard-Konstruktor. | |
| std::string | bake (lua_State *L) |
| Erzeugt einen String. | |
| bool | isDynamic () const |
| Gibt an, ob der String dynamisch ist, d. h. Script-Segmente enthält. | |
Klassen | |
| class | DPart |
| Teil eines DynamicString. | |
| Limiro::DynamicString::DynamicString | ( | const std::string & | source, | |
| bool | parse = true | |||
| ) |
Standard-Konstruktor.
| source | Quelle des Strings | |
| parse |
|
| std::string Limiro::DynamicString::bake | ( | lua_State * | L | ) |
Erzeugt einen String.
Alle Script-Segmente werden im übergebenen Lua-Kontext L ausgeführt und in den fertigen String eingesetzt.
Wird benutzt von Limiro::DateQuestionPattern::bake(), Limiro::FloatQuestionPattern::bake(), Limiro::YearQuestionPattern::bake(), Limiro::MultipleChoiceQuestionPattern::bake() und Limiro::SimpleQuestionPattern::bake().
1.5.6