lua::bind::AutoSuppressLuaError Class Reference

Auto-class to temporarily suppress raising an error in Lua. Instead, a C++ exception will be thrown, which allows C++ bindings to use try/catch to test for optional table members. More...

#include <_src_lua_bind_macros_generic.hh>

List of all members.

Public Member Functions

 AutoSuppressLuaError (bool suppress)
 ~AutoSuppressLuaError ()


Detailed Description

Auto-class to temporarily suppress raising an error in Lua. Instead, a C++ exception will be thrown, which allows C++ bindings to use try/catch to test for optional table members.

Constructor & Destructor Documentation

lua::bind::AutoSuppressLuaError::AutoSuppressLuaError ( bool  suppress  )  [inline]

lua::bind::AutoSuppressLuaError::~AutoSuppressLuaError (  )  [inline]


The documentation for this class was generated from the following file:
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:49 2010