The Battle for Wesnoth  1.19.7+dev
Public Member Functions | List of all members
lua_getter< object_type, value_type > Struct Template Referenceabstract

#include <lua_attributes.hpp>

Public Member Functions

virtual value_type get (lua_State *L, const object_type &obj) const =0
 
virtual ~lua_getter ()=default
 

Detailed Description

template<typename object_type, typename value_type>
struct lua_getter< object_type, value_type >

Definition at line 66 of file lua_attributes.hpp.

Constructor & Destructor Documentation

◆ ~lua_getter()

template<typename object_type , typename value_type >
virtual lua_getter< object_type, value_type >::~lua_getter ( )
virtualdefault

Member Function Documentation

◆ get()

template<typename object_type , typename value_type >
virtual value_type lua_getter< object_type, value_type >::get ( lua_State *  L,
const object_type &  obj 
) const
pure virtual

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