Function registerClass

Synopsis

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

static void registerClass(const std::string &className, const DrAllocFunc &func)

Description

Register a class into the map.

Parameters

className - The name of the class

func - The function which can create a new instance of the class.

Source

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






Add Discussion as Guest

Log in