Skip to content

TutorialElement ​

#include "Tutorial/Tutorial.h"

Inherited by Explanation, Headline, Hint, Task, TestQuestion

Public Functions ​

Name
TutorialElement()
TutorialElement(std::string content)
virtual~TutorialElement() =default
virtual voidacceptRenderer(ITutorialRenderer * tutorialRenderer) =0

Public Attributes ​

Name
std::stringm_content

Public Functions Documentation ​

function TutorialElement ​

cpp
inline TutorialElement()

function TutorialElement ​

cpp
inline explicit TutorialElement(
    std::string content
)

function ~TutorialElement ​

cpp
virtual ~TutorialElement() =default

function acceptRenderer ​

cpp
virtual void acceptRenderer(
    ITutorialRenderer * tutorialRenderer
) =0

Reimplemented by: Explanation::acceptRenderer, Headline::acceptRenderer, Task::acceptRenderer, Hint::acceptRenderer, ChoiceTask::acceptRenderer, MultiChoiceTask::acceptRenderer, InputTask::acceptRenderer

Public Attributes Documentation ​

variable m_content ​

cpp
std::string m_content;

Updated on 2026-09-11 at 21:24:24 +0000