7 #ifndef CAFU_TYPESYS_VAR_VISITORS_LUA_HPP_INCLUDED
8 #define CAFU_TYPESYS_VAR_VISITORS_LUA_HPP_INCLUDED
10 #include "Variables.hpp"
28 unsigned int GetNumResults()
const {
return m_NumResults; }
50 lua_State* m_LuaState;
51 unsigned int m_NumResults;
83 lua_State* m_LuaState;
114 unsigned int m_Suffix;
147 void WriteString(
const std::string& s)
const;
This is the base class for the visitors of VarTs.
Definition: Variables.hpp:266
Like VisitorT, but for const VarTs.
Definition: Variables.hpp:294
This visitor is used to implement a "get()" function in Lua: It pushes the value(s) of the visited va...
Definition: VarVisitorsLua.hpp:22
This is a "wrapper" around a normal C++ variable specifically of type ArrayT<T>.
Definition: SetCompVar.hpp:16
This visitor is used to set float values in variables that are of type float, or composed of float...
Definition: VarVisitorsLua.hpp:88
This visitor writes the value of the visited variable into the given std::ostream, formatted as Lua code.
Definition: VarVisitorsLua.hpp:121
This visitor is used to implement a "set()" function in Lua: It sets the value of the visited variabl...
Definition: VarVisitorsLua.hpp:57