Pyrogenesis  trunk
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CBinarySerializerScriptImpl Class Reference

PutScriptVal implementation details. More...

#include <BinarySerializer.h>

Collaboration diagram for CBinarySerializerScriptImpl:
Collaboration graph
[legend]

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

ScriptInterfacem_ScriptInterface
 
ISerializerm_Serializer
 
ObjectIdCache< u32m_ScriptBackrefs
 
u32 m_ScriptBackrefsNext
 
shared_ptr< ObjectIdCache< std::wstring > > m_SerializablePrototypes
 

Detailed Description

PutScriptVal implementation details.

(Split out from the main class because it's too big to be inlined.)

Constructor & Destructor Documentation

CBinarySerializerScriptImpl::CBinarySerializerScriptImpl ( ScriptInterface scriptInterface,
ISerializer serializer 
)

Member Function Documentation

std::wstring CBinarySerializerScriptImpl::GetPrototypeName ( JS::HandleObject  prototype)
private
u32 CBinarySerializerScriptImpl::GetScriptBackrefTag ( JS::HandleObject  obj)
private
void CBinarySerializerScriptImpl::HandleScriptVal ( JS::HandleValue  val)
bool CBinarySerializerScriptImpl::IsSerializablePrototype ( JS::HandleObject  prototype)
private
void CBinarySerializerScriptImpl::ScriptString ( const char *  name,
JS::HandleString  string 
)
void CBinarySerializerScriptImpl::SetSerializablePrototypes ( shared_ptr< ObjectIdCache< std::wstring > >  prototypes)

Member Data Documentation

ObjectIdCache<u32> CBinarySerializerScriptImpl::m_ScriptBackrefs
private
u32 CBinarySerializerScriptImpl::m_ScriptBackrefsNext
private
ScriptInterface& CBinarySerializerScriptImpl::m_ScriptInterface
private
shared_ptr<ObjectIdCache<std::wstring> > CBinarySerializerScriptImpl::m_SerializablePrototypes
private
ISerializer& CBinarySerializerScriptImpl::m_Serializer
private

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