#include <l_settings.h>
|
template<> |
bool | readParam (lua_State *L, int index) |
|
static bool | isNaN (lua_State *L, int idx) |
|
template<typename T > |
static T | readParam (lua_State *L, int index) |
| Read a value using a template type T from Lua State L and index. More...
|
|
template<typename T > |
static T | readParam (lua_State *L, int index, const T &default_value) |
| Read a value using a template type T from Lua State L and index. More...
|
|
◆ LuaSettings() [1/2]
LuaSettings::LuaSettings |
( |
Settings * |
settings, |
|
|
const std::string & |
filename |
|
) |
| |
◆ LuaSettings() [2/2]
LuaSettings::LuaSettings |
( |
const std::string & |
filename, |
|
|
bool |
write_allowed |
|
) |
| |
◆ ~LuaSettings()
LuaSettings::~LuaSettings |
( |
| ) |
|
◆ checkobject()
LuaSettings * LuaSettings::checkobject |
( |
lua_State * |
L, |
|
|
int |
narg |
|
) |
| |
|
static |
References className, and NO_MAP_LOCK_REQUIRED.
Referenced by l_get(), l_get_bool(), l_get_flags(), l_get_names(), l_get_np_group(), l_remove(), l_set(), l_set_bool(), l_set_np_group(), l_to_table(), and l_write().
◆ create()
void LuaSettings::create |
( |
lua_State * |
L, |
|
|
Settings * |
settings, |
|
|
const std::string & |
filename |
|
) |
| |
|
static |
◆ create_object()
int LuaSettings::create_object |
( |
lua_State * |
L | ) |
|
|
static |
◆ gc_object()
int LuaSettings::gc_object |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get()
int LuaSettings::l_get |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_bool()
int LuaSettings::l_get_bool |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_flags()
int LuaSettings::l_get_flags |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_names()
int LuaSettings::l_get_names |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_np_group()
int LuaSettings::l_get_np_group |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_remove()
int LuaSettings::l_remove |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_set()
int LuaSettings::l_set |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_set_bool()
int LuaSettings::l_set_bool |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_set_np_group()
int LuaSettings::l_set_np_group |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_to_table()
int LuaSettings::l_to_table |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_write()
int LuaSettings::l_write |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ Register()
void LuaSettings::Register |
( |
lua_State * |
L | ) |
|
|
static |
◆ className
const char LuaSettings::className = "Settings" |
|
staticprivate |
◆ m_filename
std::string LuaSettings::m_filename |
|
private |
◆ m_is_own_settings
bool LuaSettings::m_is_own_settings = false |
|
private |
◆ m_settings
Settings* LuaSettings::m_settings = nullptr |
|
private |
Referenced by LuaSettings(), ~LuaSettings(), l_get(), l_get_bool(), l_get_flags(), l_get_names(), l_get_np_group(), l_remove(), l_set(), l_set_bool(), l_set_np_group(), l_to_table(), and l_write().
◆ m_write_allowed
bool LuaSettings::m_write_allowed = true |
|
private |
◆ methods
const luaL_Reg LuaSettings::methods |
|
staticprivate |
Initial value:= {
{0,0}
}
Definition: l_settings.h:28
#define luamethod(class, name)
Definition: l_internal.h:31
Referenced by Register().
The documentation for this class was generated from the following files: