22 #ifndef METEO_VM2_SOURCE_H
23 #define METEO_VM2_SOURCE_H
66 CoreSource(
const std::string& path, lua_State* L);
100 Source(
const std::string& path);
void lua_push_station(int id)
std::vector< int > lua_find_stations(int idx)
std::vector< int > lua_find_variables(int idx)
void lua_push_variable(int id)
~CoreSource()
Unload the attributes.
std::vector< int > lua_find_variables(int idx)
List of station id matching the table at the given index.
void lua_push_variable(int id)
Push on top of the stack the variable attributes (or nil if not found)
CoreSource(const std::string &path, lua_State *L)
Load the attributes file path in Lua VM L.
std::vector< int > lua_find_stations(int idx)
List of station id matching the table at the given index.
void lua_push_station(int id)
Push on top of the stack the station attributes (or nil if not found)