Luwra
Minimal-overhead Lua wrapper for C++
Classes | Namespaces | Macros | Enumerations
values.hpp File Reference

Classes

struct  luwra::internal::InferValueType
 
struct  luwra::internal::NumericTransportValue< Type >
 
struct  luwra::internal::NumericTransportValue< Integer >
 
struct  luwra::internal::NumericTransportValue< Number >
 
struct  luwra::internal::NumericValueBase< Type, Transport >
 
struct  luwra::ReturnValue< Type >
 A version of Value for pushing return values onto the stack. ReturnValue inherits push implementations from Value. More...
 
struct  luwra::ReturnValue< const Type >
 Alias for ReturnValue<Type> More...
 
struct  luwra::ReturnValue< const volatile Type >
 Alias for ReturnValue<Type> More...
 
struct  luwra::ReturnValue< Type & >
 Alias for ReturnValue<Type> More...
 
struct  luwra::ReturnValue< Type && >
 Alias for ReturnValue<Type> More...
 
struct  luwra::ReturnValue< volatile Type >
 Alias for ReturnValue<Type> More...
 
struct  luwra::Value< bool >
 Enables reading/pushing booleans. More...
 
struct  luwra::Value< char * >
 Alias for Value<const char*> More...
 
struct  luwra::Value< char[N]>
 Alias for Value<const char*> More...
 
struct  luwra::Value< const char * >
 Enables reading/pushing strings as C strings. More...
 
struct  luwra::Value< const char[N]>
 Alias for Value<const char*> More...
 
struct  luwra::Value< const Type >
 Alias for Value<Type> More...
 
struct  luwra::Value< const void * >
 Enables reading constant light data. More...
 
struct  luwra::Value< const volatile Type >
 Alias for Value<Type> More...
 
struct  luwra::Value< double >
 
struct  luwra::Value< float >
 
struct  luwra::Value< internal::InferValueType >
 Enables reading of type-infered values. More...
 
struct  luwra::Value< long double >
 
struct  luwra::Value< LuaType >
 Enables reading the type of a value. More...
 
struct  luwra::Value< signed char >
 
struct  luwra::Value< signed int >
 
struct  luwra::Value< signed long int >
 
struct  luwra::Value< signed long long int >
 
struct  luwra::Value< signed short >
 
struct  luwra::Value< State * >
 Enables reading Lua threads. More...
 
struct  luwra::Value< std::nullptr_t >
 Enables reading/pushing nil More...
 
struct  luwra::Value< std::string >
 Enables reading/pushing string as std::string. More...
 
struct  luwra::Value< Type & >
 Alias for Value<Type> More...
 
struct  luwra::Value< Type && >
 Alias for Value<Type> More...
 
struct  luwra::Value< unsigned char >
 
struct  luwra::Value< unsigned int >
 
struct  luwra::Value< unsigned long int >
 
struct  luwra::Value< unsigned long long int >
 
struct  luwra::Value< unsigned short >
 
struct  luwra::Value< void * >
 Enables reading/pushing light data. More...
 
struct  luwra::Value< volatile Type >
 Alias for Value<Type> More...
 

Namespaces

namespace  luwra
 
namespace  luwra::internal
 

Macros

#define LUWRA_DEF_NUMERIC(base, type)
 

Enumerations

enum class  luwra::LuaType {
  luwra::Nil = LUA_TNIL ,
  luwra::Number = LUA_TNUMBER ,
  luwra::Boolean = LUA_TBOOLEAN ,
  luwra::String = LUA_TSTRING ,
  luwra::Table = LUA_TTABLE ,
  luwra::Function = LUA_TFUNCTION ,
  luwra::Userdata = LUA_TUSERDATA ,
  luwra::LightUserdata = LUA_TLIGHTUSERDATA ,
  luwra::Thread = LUA_TTHREAD
}
 Indicates the type of a Lua value. More...
 

Macro Definition Documentation

◆ LUWRA_DEF_NUMERIC

#define LUWRA_DEF_NUMERIC (   base,
  type 
)
Value:
template <> \
struct Value<type>: internal::NumericValueBase<type, base> {};