qxLib
|
Contains reflection creator functionality. More...
#include <qx/containers/string/string_view.h>
#include <qx/macros/common.h>
#include <qx/rtti/class_identificator.h>
#include <functional>
#include <map>
#include <memory>
Go to the source code of this file.
Classes | |
class | qx::reflection_creator< base_class_t, smart_ptr_t, args_t > |
Reflection creator. More... | |
Macros | |
#define | QX_REGISTER_UNIQUE_CREATOR(...) |
Macro for base class. Use YourClass::Creator::create_object. More... | |
#define | QX_REGISTER_UNIQUE_CONSTRUCTOR(...) |
Macro for all classes inherited from base class. More... | |
#define | QX_REGISTER_SHARED_CREATOR(...) |
Macro for base class. Use YourClass::Creator::create_object. More... | |
#define | QX_REGISTER_SHARED_CONSTRUCTOR(...) |
Macro for all classes inherited from base class. More... | |
Contains reflection creator functionality.
The creator allows you to create instances of the class using its name or ID
Definition in file reflection_creator.h.
#define QX_REGISTER_SHARED_CONSTRUCTOR | ( | ... | ) |
Macro for all classes inherited from base class.
std::shared_ptr version
... | - constructor args types |
Definition at line 165 of file reflection_creator.h.
#define QX_REGISTER_SHARED_CREATOR | ( | ... | ) |
Macro for base class. Use YourClass::Creator::create_object.
std::shared_ptr version
... | - constructor args types |
Definition at line 154 of file reflection_creator.h.
#define QX_REGISTER_UNIQUE_CONSTRUCTOR | ( | ... | ) |
Macro for all classes inherited from base class.
std::unique_ptr version
... | - constructor args types |
Definition at line 141 of file reflection_creator.h.
#define QX_REGISTER_UNIQUE_CREATOR | ( | ... | ) |
Macro for base class. Use YourClass::Creator::create_object.
std::unique_ptr version
... | - constructor args types |
Definition at line 131 of file reflection_creator.h.