Function className

Synopsis

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

virtual const std::string & className() const

Description

Get the class name.

Return
const std::string& the class name

Source

Lines 40-44 in lib/inc/drogon/DrObject.h.

virtual const std::string &className() const
{
    static const std::string name{"DrObjectBase"};
    return name;
}





Add Discussion as Guest

Log in to DocsForge