#include "pinocchio/multibody/parser/lua/lua_tables.hpp"
#include <assert.h>
#include <iostream>
#include <cstdlib>
#include <vector>
#include <sstream>
#include <cmath>
#include <lua.hpp>
#include <stdio.h>
#include <unistd.h>
Defines | |
#define | get_current_dir getcwd |
Functions | |
std::string | get_file_directory (const char *filename) |
void | bail (lua_State *L, const char *msg) |
void | stack_print (const char *file, int line, lua_State *L) |
void | l_push_LuaKey (lua_State *L, const LuaKey &key) |
bool | query_key_stack (lua_State *L, std::vector< LuaKey > key_stack) |
void | create_key_stack (lua_State *L, std::vector< LuaKey > key_stack) |
template<> | |
std::string | LuaTableNode::getDefault< std::string > (const std::string &default_value) |
template<> | |
void | LuaTableNode::set< std::string > (const std::string &value) |
Variables | |
const char | serialize_std [] |
#define get_current_dir getcwd |
void bail | ( | lua_State * | L, |
const char * | msg | ||
) |
Referenced by LuaTable::fromFile(), LuaTable::fromLuaExpression(), LuaTable::orderedSerialize(), and LuaTable::serialize().
void create_key_stack | ( | lua_State * | L, |
std::vector< LuaKey > | key_stack | ||
) |
References l_push_LuaKey().
Referenced by LuaTableNode::stackCreateLuaTable(), and LuaTableNode::stackCreateValue().
std::string get_file_directory | ( | const char * | filename | ) |
Referenced by LuaTable::fromFile().
void l_push_LuaKey | ( | lua_State * | L, |
const LuaKey & | key | ||
) |
References LuaKey::int_value, LuaKey::Integer, LuaKey::string_value, and LuaKey::type.
Referenced by create_key_stack(), LuaTableNode::set< std::string >(), query_key_stack(), LuaTableNode::remove(), LuaTableNode::set(), and LuaTableNode::stackPushKey().
std::string LuaTableNode::getDefault< std::string > | ( | const std::string & | default_value | ) |
void LuaTableNode::set< std::string > | ( | const std::string & | value | ) |
References l_push_LuaKey().
bool query_key_stack | ( | lua_State * | L, |
std::vector< LuaKey > | key_stack | ||
) |
References l_push_LuaKey().
Referenced by LuaTableNode::stackQueryTable(), and LuaTableNode::stackQueryValue().
void stack_print | ( | const char * | file, |
int | line, | ||
lua_State * | L | ||
) |
const char serialize_std[] |
Referenced by LuaTable::orderedSerialize(), and LuaTable::serialize().