|
drogon
C++14/17-based HTTP application framework
|
This class is used by the drogon to generate the 404 page. Users don't use this class directly. More...
#include <drogon/NotFound.h>


Public Member Functions | |
| std::string | genText (const drogon::HttpViewData &) override |
| Generate the text string. | |
| Public Member Functions inherited from drogon::DrObject< NotFound > | |
| const std::string & | className () const override |
| Get the class name. | |
| bool | isClass (const std::string &class_name) const override |
| Return true if the class name is 'class_name'. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from drogon::DrObject< NotFound > | |
| static const std::string & | classTypeName () |
| Static Public Member Functions inherited from drogon::DrTemplateBase | |
| static std::shared_ptr< DrTemplateBase > | newTemplate (const std::string &templateName) |
| Create an object of the implementation class. | |
This class is used by the drogon to generate the 404 page. Users don't use this class directly.
|
overridevirtual |
Generate the text string.
| data | represents data rendered in the string in a format according to the template file. |
Implements drogon::DrTemplateBase.