Pioneer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LuaRef Class Reference

#include <LuaRef.h>

Public Member Functions

 LuaRef ()
 
 LuaRef (lua_State *l, int index)
 
 LuaRef (const LuaRef &ref)
 
 ~LuaRef ()
 
const LuaRefoperator= (const LuaRef &ref)
 
bool operator== (const LuaRef &ref) const
 
void PushCopyToStack () const
 
lua_State * GetLua () const
 
bool IsValid () const
 
bool IsNil () const
 
void SaveToJson (Json &jsonObj)
 
void LoadFromJson (const Json &jsonObj)
 
void Unref ()
 

Constructor & Destructor Documentation

◆ LuaRef() [1/3]

LuaRef::LuaRef ( )
inline

◆ LuaRef() [2/3]

LuaRef::LuaRef ( lua_State *  l,
int  index 
)

◆ LuaRef() [3/3]

LuaRef::LuaRef ( const LuaRef ref)

◆ ~LuaRef()

LuaRef::~LuaRef ( )
Here is the call graph for this function:

Member Function Documentation

◆ GetLua()

lua_State * LuaRef::GetLua ( ) const
inline

◆ IsNil()

bool LuaRef::IsNil ( ) const
inline

◆ IsValid()

bool LuaRef::IsValid ( ) const
inline

◆ LoadFromJson()

void LuaRef::LoadFromJson ( const Json jsonObj)
Here is the call graph for this function:

◆ operator=()

const LuaRef & LuaRef::operator= ( const LuaRef ref)
Here is the call graph for this function:

◆ operator==()

bool LuaRef::operator== ( const LuaRef ref) const
Here is the call graph for this function:

◆ PushCopyToStack()

void LuaRef::PushCopyToStack ( ) const

◆ SaveToJson()

void LuaRef::SaveToJson ( Json jsonObj)
Here is the call graph for this function:

◆ Unref()

void LuaRef::Unref ( )

The documentation for this class was generated from the following files: