wxLuaDebugData Class Reference

#include <wxldebug.h>

List of all members.

Public Member Functions

 wxLuaDebugData (bool create)
 wxLuaDebugData (const wxLuaDebugData &debugData)
virtual ~wxLuaDebugData ()
bool Ok () const
wxLuaDebugItemArray * GetArray ()
const wxLuaDebugItemArray * GetArray () const
size_t GetCount () const
wxLuaDebugItemItem (size_t index) const
void Add (wxLuaDebugItem *item)
int EnumerateStack (const wxLuaState &wxlState)
int EnumerateStackEntry (const wxLuaState &wxlState, int stack_frame, wxArrayInt &references)
int EnumerateTable (const wxLuaState &wxlState, int nRef, int nEntry, wxArrayInt &references)
wxLuaDebugData Copy () const
int RefTable (lua_State *L, int stack_idx, int *flag_type, int extra_flag, wxArrayInt &references)
bool operator== (const wxLuaDebugData &debugData) const
bool operator!= (const wxLuaDebugData &debugData) const
wxLuaDebugDataoperator= (const wxLuaDebugData &debugData)

Static Public Member Functions

static int GetTypeValue (const wxLuaState &wxlState, int stack_idx, int *wxl_type, wxString &value)
static wxString GetTableInfo (const wxLuaState &wxlState, int stack_idx)
static wxString GetUserDataInfo (const wxLuaState &wxlState, int stack_idx, bool full_userdata)
static int SortFunction (wxLuaDebugItem *elem1, wxLuaDebugItem *elem2)

Detailed Description

Definition at line 110 of file wxldebug.h.


Constructor & Destructor Documentation

wxLuaDebugData::wxLuaDebugData ( bool  create  ) 

Definition at line 84 of file wxldebug.cpp.

wxLuaDebugData::wxLuaDebugData ( const wxLuaDebugData debugData  ) 

Definition at line 114 of file wxldebug.h.

virtual wxLuaDebugData::~wxLuaDebugData (  )  [virtual]

Definition at line 116 of file wxldebug.h.


Member Function Documentation

void wxLuaDebugData::Add ( wxLuaDebugItem item  ) 
wxLuaDebugData wxLuaDebugData::Copy (  )  const

Definition at line 118 of file wxldebug.cpp.

References Add(), GetCount(), M_DEBUGREFDATA, and wxNullLuaDebugData.

int wxLuaDebugData::EnumerateStack ( const wxLuaState wxlState  ) 
int wxLuaDebugData::EnumerateStackEntry ( const wxLuaState wxlState,
int  stack_frame,
wxArrayInt &  references 
)
int wxLuaDebugData::EnumerateTable ( const wxLuaState wxlState,
int  nRef,
int  nEntry,
wxArrayInt &  references 
)
const wxLuaDebugItemArray * wxLuaDebugData::GetArray (  )  const

Definition at line 95 of file wxldebug.cpp.

References M_DEBUGREFDATA.

wxLuaDebugItemArray * wxLuaDebugData::GetArray (  ) 

Definition at line 90 of file wxldebug.cpp.

References M_DEBUGREFDATA.

size_t wxLuaDebugData::GetCount (  )  const
wxString wxLuaDebugData::GetTableInfo ( const wxLuaState wxlState,
int  stack_idx 
) [static]

Definition at line 595 of file wxldebug.cpp.

References wxLuaState::GetLuaState(), wxLuaState::Ok(), wxlua_iswxuserdatatype, and wxluaT_type().

Referenced by GetTypeValue().

int wxLuaDebugData::GetTypeValue ( const wxLuaState wxlState,
int  stack_idx,
int *  wxl_type,
wxString &  value 
) [static]
wxString wxLuaDebugData::GetUserDataInfo ( const wxLuaState wxlState,
int  stack_idx,
bool  full_userdata 
) [static]
wxLuaDebugItem * wxLuaDebugData::Item ( size_t  index  )  const
bool wxLuaDebugData::Ok (  )  const
bool wxLuaDebugData::operator!= ( const wxLuaDebugData debugData  )  const

Definition at line 171 of file wxldebug.h.

wxLuaDebugData& wxLuaDebugData::operator= ( const wxLuaDebugData debugData  ) 

Definition at line 174 of file wxldebug.h.

bool wxLuaDebugData::operator== ( const wxLuaDebugData debugData  )  const

Definition at line 169 of file wxldebug.h.

int wxLuaDebugData::RefTable ( lua_State *  L,
int  stack_idx,
int *  flag_type,
int  extra_flag,
wxArrayInt &  references 
)

Definition at line 493 of file wxldebug.cpp.

References WXLUA_DEBUGITEM_IS_REFED, wxlua_lreg_debug_refs_key, and wxluaR_ref().

Referenced by EnumerateTable().

int wxLuaDebugData::SortFunction ( wxLuaDebugItem elem1,
wxLuaDebugItem elem2 
) [static]

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