Lugre::cBitMask_L Class Reference

Inheritance diagram for Lugre::cBitMask_L:

Inheritance graph
[legend]
Collaboration diagram for Lugre::cBitMask_L:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void RegisterMethods (lua_State *L)
 called by Register(), registers object-methods (see cLuaBind constructor for examples)
virtual const char * GetLuaTypeName ()

Static Public Member Functions

static int Destroy (lua_State *L)
 bitmask:Destroy()
static int GetSize (lua_State *L)
 cx,cy = bitmask:GetSize()
static int GetWrap (lua_State *L)
 bool GetWrap ()
static int SetWrap (lua_State *L)
 void SetWrap (bWrap)
static int TestBit (lua_State *L)
 bool = bitmask:TestBit(x,y) : false if transparent


Detailed Description

Definition at line 13 of file lugre_bitmask_L.cpp.


Member Function Documentation

virtual void Lugre::cBitMask_L::RegisterMethods ( lua_State *  L  )  [inline, virtual]

called by Register(), registers object-methods (see cLuaBind constructor for examples)

Reimplemented from Lugre::cLuaBind< _T >.

Definition at line 17 of file lugre_bitmask_L.cpp.

References Destroy(), GetSize(), GetWrap(), PROFILE, REGISTER_METHOD, SetWrap(), and TestBit().

static int Lugre::cBitMask_L::Destroy ( lua_State *  L  )  [inline, static]

bitmask:Destroy()

Definition at line 30 of file lugre_bitmask_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cBitMask_L::GetSize ( lua_State *  L  )  [inline, static]

cx,cy = bitmask:GetSize()

Definition at line 36 of file lugre_bitmask_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cBitMask_L::GetWrap ( lua_State *  L  )  [inline, static]

bool GetWrap ()

Definition at line 44 of file lugre_bitmask_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cBitMask_L::SetWrap ( lua_State *  L  )  [inline, static]

void SetWrap (bWrap)

Definition at line 50 of file lugre_bitmask_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

static int Lugre::cBitMask_L::TestBit ( lua_State *  L  )  [inline, static]

bool = bitmask:TestBit(x,y) : false if transparent

Definition at line 57 of file lugre_bitmask_L.cpp.

References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.

Referenced by RegisterMethods().

virtual const char* Lugre::cBitMask_L::GetLuaTypeName (  )  [inline, virtual]

Implements Lugre::cLuaBind< _T >.

Definition at line 62 of file lugre_bitmask_L.cpp.


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

Generated on Wed Feb 8 06:00:18 2012 for cpp by  doxygen 1.5.6