Crow  1.0
A C++ microframework for the web
crow::returnable Struct Referenceabstract

An abstract class that allows any other class to be returned by a handler. More...

Inheritance diagram for crow::returnable:
Collaboration diagram for crow::returnable:

Public Member Functions

virtual std::string dump () const =0
 
 returnable (std::string ctype)
 
virtual ~returnable ()
 

Public Attributes

std::string content_type
 

Detailed Description

An abstract class that allows any other class to be returned by a handler.

Constructor & Destructor Documentation

◆ returnable()

crow::returnable::returnable ( std::string  ctype)
inline

◆ ~returnable()

virtual crow::returnable::~returnable ( )
inlinevirtual

Member Function Documentation

◆ dump()

virtual std::string crow::returnable::dump ( ) const
pure virtual

Implemented in crow::multipart::message, crow::mustache::rendered_template, and crow::json::wvalue.

Here is the caller graph for this function:

Member Data Documentation

◆ content_type

std::string crow::returnable::content_type

The documentation for this struct was generated from the following file: