Function newTemplate

Synopsis

#include <lib/inc/drogon/DrTemplateBase.h>

static std::shared_ptr< DrTemplateBase > newTemplate(std::string templateName)

Description

Create an object of the implementation class.

Parameters:

templateName - represents the name of the template file. A template file is a description file with a special format. Its extension is usually .csp. The user should preprocess the template file with the drogon_ctl tool to create c++ source files.

Source

Line 42 in lib/inc/drogon/DrTemplateBase.h.






Add Discussion as Guest

Log in to DocsForge