17#include <drogon/exports.h>
44 const std::string &templateName);
52 const DrTemplateData &data = DrTemplateData()) = 0;
54 virtual ~DrTemplateBase(){};
The base class for all drogon reflection classes.
Definition DrObject.h:34
The templating engine class.
Definition DrTemplateBase.h:34
virtual std::string genText(const DrTemplateData &data=DrTemplateData())=0
Generate the text string.
static std::shared_ptr< DrTemplateBase > newTemplate(const std::string &templateName)
Create an object of the implementation class.
This class represents the data set displayed in views.
Definition HttpViewData.h:33
Drogon Test is a minimal effort test framework developed because the major C++ test frameworks doesn'...
Definition Attribute.h:23