OpenMiner  0.0.1a
Voxel game engine
Public Member Functions | Public Attributes | List of all members
sol::light< L > Struct Template Reference

#include <sol.hpp>

Public Member Functions

 light (L &x)
 
 light (L *x)
 
 light (void *x)
 
 operator L* () const
 
 operator L & () const
 

Public Attributes

L * value
 

Constructor & Destructor Documentation

§ light() [1/3]

template<typename L>
sol::light< L >::light ( L &  x)
inline
4876  : value(std::addressof(x)) {
4877  }
L * value
Definition: sol.hpp:4873

§ light() [2/3]

template<typename L>
sol::light< L >::light ( L *  x)
inline
4879  : value(x) {
4880  }
L * value
Definition: sol.hpp:4873

§ light() [3/3]

template<typename L>
sol::light< L >::light ( void *  x)
inline
4882  : value(static_cast<L*>(x)) {
4883  }
L * value
Definition: sol.hpp:4873

Member Function Documentation

§ operator L &()

template<typename L>
sol::light< L >::operator L& ( ) const
inline
4887  {
4888  return *value;
4889  }
L * value
Definition: sol.hpp:4873

§ operator L*()

template<typename L>
sol::light< L >::operator L* ( ) const
inline
4884  {
4885  return value;
4886  }
L * value
Definition: sol.hpp:4873

Member Data Documentation

§ value

template<typename L>
L* sol::light< L >::value

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