UGDK
0.5.0
|
#include <ugdk/script/virtualdata.h>
#include <ugdk/script/type.h>
#include <ugdk/system/exceptions.h>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
ugdk | |
ugdk::script | |
Macros | |
#define | TYPENAME_MAP(definition) |
#define | DEFINE_SCRIPT_PRIMITIVE_VALUE(type, name, arg) |
#define | DEFINE_SCRIPT_SIMPLE_PRIMITIVE_VALUE(type, name) DEFINE_SCRIPT_PRIMITIVE_VALUE(type, name, value) |
Functions | |
template<typename T , typename S > | |
T | ugdk::script::CheckAndCast (S value) |
template<> | |
std::string | ugdk::script::CheckAndCast< std::string, const char * > (const char *value) |
ugdk::script::DEFINE_SCRIPT_PRIMITIVE_VALUE (std::string, String, value.c_str()) | |
#define DEFINE_SCRIPT_PRIMITIVE_VALUE | ( | type, | |
name, | |||
arg | |||
) |
#define DEFINE_SCRIPT_SIMPLE_PRIMITIVE_VALUE | ( | type, | |
name | |||
) | DEFINE_SCRIPT_PRIMITIVE_VALUE(type, name, value) |
#define TYPENAME_MAP | ( | definition | ) |