wxLuaObject Class Reference

#include <wxlbind.h>

Collaboration diagram for wxLuaObject:
[legend]

List of all members.

Public Member Functions

 wxLuaObject (const wxLuaState &wxlState, int stack_idx)
virtual ~wxLuaObject ()
bool GetObject ()
void SetObject (int stack_idx)
bool * GetBoolPtr ()
int * GetIntPtr ()
wxString * GetStringPtr ()
wxArrayInt * GetArrayPtr ()
wxLuaObject_Type GetAllocationFlag () const
wxLuaState GetwxLuaState () const

Protected Attributes

wxLuaStatem_wxlState
int m_reference
wxLuaObject_Type m_alloc_flag
union {
   bool   m_bool
   int   m_int
   wxString *   m_string
   wxArrayInt *   m_arrayInt
}; 

Detailed Description

Definition at line 293 of file wxlbind.h.


Constructor & Destructor Documentation

wxLuaObject::wxLuaObject ( const wxLuaState wxlState,
int  stack_idx 
)

Definition at line 65 of file wxlbind.cpp.

References wxlua_lreg_refs_key.

wxLuaObject::~wxLuaObject (  )  [virtual]

Member Function Documentation

wxLuaObject_Type wxLuaObject::GetAllocationFlag (  )  const

Definition at line 325 of file wxlbind.h.

wxArrayInt * wxLuaObject::GetArrayPtr (  ) 
bool * wxLuaObject::GetBoolPtr (  ) 
int * wxLuaObject::GetIntPtr (  ) 
bool wxLuaObject::GetObject (  ) 
wxString * wxLuaObject::GetStringPtr (  ) 
wxLuaState wxLuaObject::GetwxLuaState (  )  const

Definition at line 89 of file wxlbind.cpp.

References m_wxlState, and wxNullLuaState.

void wxLuaObject::SetObject ( int  stack_idx  ) 

Member Data Documentation

union { ... } [protected]

Definition at line 333 of file wxlbind.h.

Referenced by GetArrayPtr(), GetBoolPtr(), GetIntPtr(), GetObject(), GetStringPtr(), and ~wxLuaObject().

Definition at line 340 of file wxlbind.h.

Referenced by GetArrayPtr(), GetObject(), and ~wxLuaObject().

Definition at line 337 of file wxlbind.h.

Referenced by GetBoolPtr(), and GetObject().

Definition at line 338 of file wxlbind.h.

Referenced by GetIntPtr(), and GetObject().

int wxLuaObject::m_reference [protected]

Definition at line 339 of file wxlbind.h.

Referenced by GetObject(), GetStringPtr(), and ~wxLuaObject().


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 10:30:39 2010 for wxLua by  doxygen 1.6.3