ug4
ug::lua_traits< MathMatrix< dim, dim > > Struct Template Reference

#include <lua_traits.h>

Static Public Member Functions

static bool check (lua_State *L, int index=-1)
 
static std::string name ()
 
static void push (lua_State *L, const MathMatrix< dim, dim > &D)
 
static void read (lua_State *L, MathMatrix< dim, dim > &D, int index=-1)
 
static void read (MathMatrix< dim, dim > &D, const double ret[size], bool *dummy)
 
static void read (MathMatrix< dim, dim > &D, const double ret[size], void *dummy)
 
static std::string signature ()
 

Static Public Attributes

static const int size = dim*dim
 

Member Function Documentation

◆ check()

template<std::size_t dim>
static bool ug::lua_traits< MathMatrix< dim, dim > >::check ( lua_State L,
int  index = -1 
)
inlinestatic

References dim.

◆ name()

template<std::size_t dim>
static std::string ug::lua_traits< MathMatrix< dim, dim > >::name ( )
inlinestatic

◆ push()

template<std::size_t dim>
static void ug::lua_traits< MathMatrix< dim, dim > >::push ( lua_State L,
const MathMatrix< dim, dim > &  D 
)
inlinestatic

References dim.

◆ read() [1/3]

template<std::size_t dim>
static void ug::lua_traits< MathMatrix< dim, dim > >::read ( lua_State L,
MathMatrix< dim, dim > &  D,
int  index = -1 
)
inlinestatic

References dim, and ug::ReturnValueToNumber().

◆ read() [2/3]

template<std::size_t dim>
static void ug::lua_traits< MathMatrix< dim, dim > >::read ( MathMatrix< dim, dim > &  D,
const double  ret[size],
bool *  dummy 
)
inlinestatic

References dim.

◆ read() [3/3]

template<std::size_t dim>
static void ug::lua_traits< MathMatrix< dim, dim > >::read ( MathMatrix< dim, dim > &  D,
const double  ret[size],
void *  dummy 
)
inlinestatic

References dim.

◆ signature()

template<std::size_t dim>
static std::string ug::lua_traits< MathMatrix< dim, dim > >::signature ( )
inlinestatic

References dim.

Member Data Documentation

◆ size

template<std::size_t dim>
const int ug::lua_traits< MathMatrix< dim, dim > >::size = dim*dim
static

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