Function isClass

Synopsis

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

virtual bool isClass(const std::string &class_name) const override

Description

Return true if the class name is 'class_name'.

Source

Lines 75-78 in lib/inc/drogon/DrObject.h.

virtual bool isClass(const std::string &class_name) const override
{
    return (className() == class_name);
}





Add Discussion as Guest

Log in to DocsForge