UGDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions
ugdk::script::lua::Constant Class Reference

Represents a constant value from the Lua library. More...

#include <header.h>

List of all members.

Classes

struct  err
struct  gc

Public Member Functions

template<typename Callable >
 Constant (Callable c)
 Constructs a Lua constant frm the result of a call to c.
int value ()
bool operator== (const Constant &st) const
bool operator!= (const Constant &st) const
 operator int () const

Detailed Description

Represents a constant value from the Lua library.


Constructor & Destructor Documentation

template<typename Callable >
ugdk::script::lua::Constant::Constant ( Callable  c) [inline, explicit]

Constructs a Lua constant frm the result of a call to c.

Parameters:
c- A callable object which must return int when called with zero arguments.

Member Function Documentation

ugdk::script::lua::Constant::operator int ( ) const [inline]
bool ugdk::script::lua::Constant::operator!= ( const Constant st) const [inline]
bool ugdk::script::lua::Constant::operator== ( const Constant st) const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines