My Project
Public Member Functions | List of all members
ParaScripting::StackObjectPtr< _Ty > Class Template Reference

this is for luabinding a pointer object on lua stack, instead of invoking new operator each time an object is created. More...

#include <ParaScriptingGlobal.h>

Public Member Functions

 StackObjectPtr (_Ty *obj)
 
 StackObjectPtr (_Ty const &obj)
 
 operator bool () const
 
bool operator! () const
 
_Ty & operator* () const
 
_Ty * operator-> () const
 
_Ty * get () const
 

Detailed Description

template<typename _Ty>
class ParaScripting::StackObjectPtr< _Ty >

this is for luabinding a pointer object on lua stack, instead of invoking new operator each time an object is created.

Note: this class is not used, since we now uses a more universal template which treats all objects in ParaScripting namespace as stack object.


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