EasyLua  1.0
Lua API meta compiler for C++.
Public Member Functions | Public Attributes | List of all members
EasyLua::ParentTable Class Reference

A class that represents Lua table objects. This can be used to read table returns from the Lua runtime and it may also be used to pass table parameters to method calls. More...

#include <easylua.hpp>

Inheritance diagram for EasyLua::ParentTable:
EasyLua::Table

Public Member Functions

void set (const char *key, const int &value)
 
void set (const char *key, const float &value)
 
void set (const char *key, const char *value)
 

Public Attributes

std::unordered_map< size_t, float > mFloats
 
std::unordered_map< size_t, int > mIntegers
 
std::unordered_map< size_t, std::string > mStrings
 
std::unordered_map< size_t, void * > mContents
 
std::unordered_map< size_t, std::pair< const char *, unsigned char > > mTypes
 

Detailed Description

A class that represents Lua table objects. This can be used to read table returns from the Lua runtime and it may also be used to pass table parameters to method calls.

Note
When using this for passing table parameters, please consider the performance and memory requirements. So be sure to see if the more lightweight EasyLua::Utilities::Table is applicable.

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