VR-Forces 4.1 Class Documentation
Classes | Namespaces | Typedefs | Functions
luaObjectSerializer.h File Reference

Go to the source code of this file.

Classes

class  DtLuaObjectSerializer

Namespaces

namespace  vrfLua

Typedefs

typedef DtAsciiSerializable *(* DtSerializableCreatorFunc )()
typedef luabind::object(* DtDeserializerFunc )(lua_State *state, const DtString &typeName, const DtString &serializedString)
typedef bool(* DtSerializerFunc )(const luabind::object &, DtString &serializedString)

Functions

template<typename T >
bool vrfLua::DtAsciiSerializeLua (const luabind::object &lobj, DtString &serializedString)
 This is a templated function that is used and registered to the serializer for each object we have defined in lua.
template<typename T >
luabind::object vrfLua::DtAsciiDeserializeLua (lua_State *state, const DtString &typeName, const DtString &serializedString)
 This is a templated function that is used and registered to the (de)serializer for each object we have defined in lua.

Typedef Documentation

typedef DtAsciiSerializable*(* DtSerializableCreatorFunc)()
typedef luabind::object(* DtDeserializerFunc)(lua_State *state, const DtString &typeName, const DtString &serializedString)
typedef bool(* DtSerializerFunc)(const luabind::object &, DtString &serializedString)

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)