18 #ifndef __H__OCULAR_CORE_UTILS_STRING_REGISTRAR__H__
19 #define __H__OCULAR_CORE_UTILS_STRING_REGISTRAR__H__
21 #include "OcularEngine.hpp"
44 OcularString->registerToString<T>(func);
55 OcularString->registerFromString<T>(func);
78 #define OCULAR_REGISTER_TO_STRING(X,Y) const Ocular::Utils::ToStringRegistrar<X> OCULAR_INTERNAL_ToStringRegister(Y)
91 #define OCULAR_REGISTER_FROM_STRING(X,Y) const Ocular::Utils::FromStringRegistrar<X> OCULAR_INTERNAL_FromStringRegister(Y)
102 #define OCULAR_TO_STRING_LAMBDA [](void* raw, bool isPointer)->std::string
113 #define OCULAR_FROM_STRING_LAMBDA [](std::string const& str, void* out)
Definition: StringRegistrar.hpp:49
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: StringRegistrar.hpp:38