ug4
lua_serialization.cpp File Reference

Namespaces

 ug
 the ug namespace
 
 ug::bridge
 

Functions

string ug::bridge::LUAStringEscape (string s)
 
void ug::bridge::LuaWrite (const char *filename, const char *obj)
 
void ug::bridge::LuaWriteCout (const char *obj)
 
bool ug::bridge::RegisterSerializationCommands (Registry &reg, const char *parentGroup)
 
size_t ug::SerializerGetLastID ()
 
void ug::bridge::WriteLUAObject (lua_State *L, std::string name, std::ostream &s)
 
void ug::bridge::WriteLUAObject2 (lua_State *L, std::string name, std::ostream &s)
 

Detailed Description

Author
Martin Rupp
Date
23.06.2014

Goethe-Center for Scientific Computing 2014.

Serialization stuff for lua. not fully developed. the idea is to call Serialize(obj, serializationObj) for all UserData-Objects, if this Serialize is registered in the registry.