Pyrogenesis
trunk
|
PutScriptVal implementation details. More...
#include <BinarySerializer.h>
Public Member Functions | |
CBinarySerializerScriptImpl (ScriptInterface &scriptInterface, ISerializer &serializer) | |
void | ScriptString (const char *name, JS::HandleString string) |
void | HandleScriptVal (JS::HandleValue val) |
void | SetSerializablePrototypes (shared_ptr< ObjectIdCache< std::wstring > > prototypes) |
Private Member Functions | |
u32 | GetScriptBackrefTag (JS::HandleObject obj) |
bool | IsSerializablePrototype (JS::HandleObject prototype) |
std::wstring | GetPrototypeName (JS::HandleObject prototype) |
Private Attributes | |
ScriptInterface & | m_ScriptInterface |
ISerializer & | m_Serializer |
ObjectIdCache< u32 > | m_ScriptBackrefs |
u32 | m_ScriptBackrefsNext |
shared_ptr< ObjectIdCache< std::wstring > > | m_SerializablePrototypes |
PutScriptVal implementation details.
(Split out from the main class because it's too big to be inlined.)
CBinarySerializerScriptImpl::CBinarySerializerScriptImpl | ( | ScriptInterface & | scriptInterface, |
ISerializer & | serializer | ||
) |
|
private |
|
private |
void CBinarySerializerScriptImpl::HandleScriptVal | ( | JS::HandleValue | val | ) |
|
private |
void CBinarySerializerScriptImpl::ScriptString | ( | const char * | name, |
JS::HandleString | string | ||
) |
void CBinarySerializerScriptImpl::SetSerializablePrototypes | ( | shared_ptr< ObjectIdCache< std::wstring > > | prototypes | ) |
|
private |
|
private |
|
private |
|
private |
|
private |