ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::ResourceSerializer Class Reference

#include <stateprovider.h>

Inheritance diagram for Stark::ResourceSerializer:
Collaboration diagram for Stark::ResourceSerializer:

List of all members.

Public Member Functions

 ResourceSerializer (Common::SeekableReadStream *in, Common::WriteStream *out, uint32 version)
void syncAsFloat (float &value)
void syncAsVector3d (Math::Vector3d &value)
void syncAsResourceReference (ResourceReference &reference)
void syncAsString32 (Common::String &string)
template<typename T >
void syncAsResourceReference (T **object, Version minVersion=0, Version maxVersion=kLastVersion)
template<typename T >
void syncArraySize (Common::Array< T > &array, Version minVersion=0, Version maxVersion=kLastVersion)

Detailed Description

Definition at line 52 of file stateprovider.h.


Constructor & Destructor Documentation

Stark::ResourceSerializer::ResourceSerializer ( Common::SeekableReadStream in,
Common::WriteStream out,
uint32  version 
)

Definition at line 239 of file stateprovider.cpp.


Member Function Documentation

template<typename T >
void Stark::ResourceSerializer::syncArraySize ( Common::Array< T > &  array,
Version  minVersion = 0,
Version  maxVersion = kLastVersion 
)

Definition at line 87 of file stateprovider.h.

void Stark::ResourceSerializer::syncAsFloat ( float &  value  ) 

Definition at line 244 of file stateprovider.cpp.

template<typename T >
void Stark::ResourceSerializer::syncAsResourceReference ( T **  object,
Version  minVersion = 0,
Version  maxVersion = kLastVersion 
)

Definition at line 69 of file stateprovider.h.

void Stark::ResourceSerializer::syncAsResourceReference ( ResourceReference reference  ) 

Definition at line 258 of file stateprovider.cpp.

void Stark::ResourceSerializer::syncAsString32 ( Common::String string  ) 

Definition at line 266 of file stateprovider.cpp.

void Stark::ResourceSerializer::syncAsVector3d ( Math::Vector3d value  ) 

Definition at line 252 of file stateprovider.cpp.


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


Generated on Sat Jan 12 2019 05:05:08 for ResidualVM by doxygen 1.7.1
curved edge   curved edge