Function newObject

Synopsis

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

static DrObjectBase * newObject(const std::string &className)

Description

Create a new instance of the class named by className.

Parameters:

className - The name of the class

Return
DrObjectBase* The pointer to the newly created instance.

Source

Line 57 in lib/inc/drogon/DrClassMap.h.






Add Discussion as Guest

Log in to DocsForge