Otclient
14/8/2020
|
#include "declarations.h"
#include <framework/otml/declarations.h>
#include "luaexception.h"
#include "luainterface.h"
#include "luaobject.h"
Go to the source code of this file.
Classes | |
struct | push_tuple_internal_luavalue< N > |
struct | push_tuple_internal_luavalue< 0 > |
struct | push_tuple_luavalue< N > |
struct | push_tuple_luavalue< 0 > |
Functions | |
template<typename T > | |
int | push_internal_luavalue (T v) |
int | push_luavalue (bool b) |
bool | luavalue_cast (int index, bool &b) |
int | push_luavalue (int i) |
bool | luavalue_cast (int index, int &i) |
int | push_luavalue (double d) |
bool | luavalue_cast (int index, double &d) |
int | push_luavalue (float f) |
bool | luavalue_cast (int index, float &f) |
int | push_luavalue (int8 v) |
bool | luavalue_cast (int index, int8 &v) |
int | push_luavalue (uint8 v) |
bool | luavalue_cast (int index, uint8 &v) |
int | push_luavalue (int16 v) |
bool | luavalue_cast (int index, int16 &v) |
int | push_luavalue (uint16 v) |
bool | luavalue_cast (int index, uint16 &v) |
int | push_luavalue (uint32 v) |
bool | luavalue_cast (int index, uint32 &v) |
int | push_luavalue (int64 v) |
bool | luavalue_cast (int index, int64 &v) |
int | push_luavalue (uint64 v) |
bool | luavalue_cast (int index, uint64 &v) |
int | push_luavalue (const char *cstr) |
int | push_luavalue (const std::string &str) |
bool | luavalue_cast (int index, std::string &str) |
int | push_luavalue (const LuaCppFunction &func) |
int | push_luavalue (const Color &color) |
bool | luavalue_cast (int index, Color &color) |
int | push_luavalue (const Rect &rect) |
bool | luavalue_cast (int index, Rect &rect) |
int | push_luavalue (const Point &point) |
bool | luavalue_cast (int index, Point &point) |
int | push_luavalue (const Size &size) |
bool | luavalue_cast (int index, Size &size) |
int | push_luavalue (const OTMLNodePtr &node) |
bool | luavalue_cast (int index, OTMLNodePtr &node) |
template<class T > | |
std::enable_if< std::is_enum< T >::value, int >::type | push_luavalue (T e) |
template<class T > | |
std::enable_if< std::is_enum< T >::value, bool >::type | luavalue_cast (int index, T &myenum) |
template<class T > | |
std::enable_if< std::is_base_of< LuaObject, typename T::element_type >::value, int >::type | push_luavalue (const T &obj) |
bool | luavalue_cast (int index, LuaObjectPtr &obj) |
template<class T > | |
std::enable_if< std::is_base_of< LuaObject, T >::value, bool >::type | luavalue_cast (int index, stdext::shared_object_ptr< T > &ptr) |
template<typename Ret , typename... Args> | |
int | push_luavalue (const std::function< Ret(Args...)> &func) |
template<typename... Args> | |
bool | luavalue_cast (int index, std::function< void(Args...)> &func) |
template<typename Ret , typename... Args> | |
std::enable_if<!std::is_void< Ret >::value, bool >::type | luavalue_cast (int index, std::function< Ret(Args...)> &func) |
template<typename T > | |
int | push_luavalue (const std::list< T > &list) |
template<typename T > | |
bool | luavalue_cast (int index, std::list< T > &list) |
template<typename T > | |
int | push_luavalue (const std::vector< T > &vec) |
template<typename T > | |
bool | luavalue_cast (int index, std::vector< T > &vec) |
template<class T > | |
int | push_luavalue (const std::deque< T > &vec) |
template<typename T > | |
bool | luavalue_cast (int index, std::deque< T > &vec) |
template<class K , class V > | |
int | push_luavalue (const std::map< K, V > &map) |
template<class K , class V > | |
bool | luavalue_cast (int index, std::map< K, V > &map) |
template<typename... Args> | |
int | push_luavalue (const std::tuple< Args... > &tuple) |
template<typename... Args> | |
int | push_internal_luavalue (const std::tuple< Args... > &tuple) |
bool luavalue_cast | ( | int | index, |
bool & | b | ||
) |
bool luavalue_cast | ( | int | index, |
Color & | color | ||
) |
bool luavalue_cast | ( | int | index, |
double & | d | ||
) |
|
inline |
bool luavalue_cast | ( | int | index, |
int & | i | ||
) |
|
inline |
|
inline |
|
inline |
bool luavalue_cast | ( | int | index, |
LuaObjectPtr & | obj | ||
) |
bool luavalue_cast | ( | int | index, |
OTMLNodePtr & | node | ||
) |
bool luavalue_cast | ( | int | index, |
Point & | point | ||
) |
bool luavalue_cast | ( | int | index, |
Rect & | rect | ||
) |
bool luavalue_cast | ( | int | index, |
Size & | size | ||
) |
bool luavalue_cast | ( | int | index, |
std::deque< T > & | vec | ||
) |
std::enable_if<!std::is_void< Ret >::value, bool >::type luavalue_cast | ( | int | index, |
std::function< Ret(Args...)> & | func | ||
) |
bool luavalue_cast | ( | int | index, |
std::function< void(Args...)> & | func | ||
) |
bool luavalue_cast | ( | int | index, |
std::list< T > & | list | ||
) |
bool luavalue_cast | ( | int | index, |
std::map< K, V > & | map | ||
) |
bool luavalue_cast | ( | int | index, |
std::string & | str | ||
) |
bool luavalue_cast | ( | int | index, |
std::vector< T > & | vec | ||
) |
std::enable_if< std::is_base_of< LuaObject, T >::value, bool >::type luavalue_cast | ( | int | index, |
stdext::shared_object_ptr< T > & | ptr | ||
) |
std::enable_if< std::is_enum< T >::value, bool >::type luavalue_cast | ( | int | index, |
T & | myenum | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
int push_internal_luavalue | ( | const std::tuple< Args... > & | tuple | ) |
int push_internal_luavalue | ( | T | v | ) |
Definition at line 173 of file luavaluecasts.h.
int push_luavalue | ( | bool | b | ) |
int push_luavalue | ( | const char * | cstr | ) |
int push_luavalue | ( | const Color & | color | ) |
int push_luavalue | ( | const LuaCppFunction & | func | ) |
int push_luavalue | ( | const OTMLNodePtr & | node | ) |
int push_luavalue | ( | const Point & | point | ) |
int push_luavalue | ( | const Rect & | rect | ) |
int push_luavalue | ( | const Size & | size | ) |
int push_luavalue | ( | const std::deque< T > & | vec | ) |
int push_luavalue | ( | const std::function< Ret(Args...)> & | func | ) |
int push_luavalue | ( | const std::list< T > & | list | ) |
int push_luavalue | ( | const std::map< K, V > & | map | ) |
int push_luavalue | ( | const std::string & | str | ) |
int push_luavalue | ( | const std::tuple< Args... > & | tuple | ) |
Definition at line 441 of file luavaluecasts.h.
int push_luavalue | ( | const std::vector< T > & | vec | ) |
std::enable_if< std::is_base_of< LuaObject, typename T::element_type >::value, int >::type push_luavalue | ( | const T & | obj | ) |
int push_luavalue | ( | double | d | ) |
|
inline |
int push_luavalue | ( | int | i | ) |
|
inline |
|
inline |
|
inline |
std::enable_if<std::is_enum<T>::value, int>::type push_luavalue | ( | T | e | ) |
|
inline |
|
inline |
|
inline |
|
inline |