luna engine
software engine
Loading...
Searching...
No Matches
objectDB.h File Reference
#include <core/core.h>
#include <type_traits>
Include dependency graph for objectDB.h:
This graph shows which files directly or indirectly include this file:

Classes

class  luna::object
 
class  luna::objectDB
 object database class. @warn DO NOT TOUCH UNLESS YOU KNOW WHAT YOURE DOING!!! More...
 
struct  luna::objectDB::classInfo
 

Namespaces

namespace  luna
 

Macros

#define LN_REGISTER_CLASS(mClass)   objectDB::registerClass<mClass>();
 
#define LN_CLASS(mClass, mInherits)   objectDB::addClass<mClass,mInherits>();
 
#define LN_CLASS_STRINGIFY(mClass)   objectDB::getClassName<mClass>();
 creates stringid from class. More...
 
#define memnew(m_class)   _post_initialize(new m_class)
 

Macro Definition Documentation

◆ LN_CLASS

#define LN_CLASS (   mClass,
  mInherits 
)    objectDB::addClass<mClass,mInherits>();

◆ LN_CLASS_STRINGIFY

#define LN_CLASS_STRINGIFY (   mClass)    objectDB::getClassName<mClass>();

creates stringid from class.

◆ LN_REGISTER_CLASS

#define LN_REGISTER_CLASS (   mClass)    objectDB::registerClass<mClass>();

◆ memnew

#define memnew (   m_class)    _post_initialize(new m_class)