Simulator::SerializationTypes namespace

Contents

Classes

template<typename T>
struct SerializedType
template<>
struct SerializedType<bool>
template<>
struct SerializedType<float>
template<>
struct SerializedType<int>
template<>
struct SerializedType<ResourceKey>
template<>
struct SerializedType<string>
template<>
struct SerializedType<string16>
template<>
struct SerializedType<uint32_t>
template<typename T>
struct SerializedType<vector<T>>

Functions

template<typename T>
auto Read(ISerializerStream* stream, T* dst) -> bool
template<typename T>
auto Write(ISerializerStream* stream, T* src) -> bool
template<typename T>
void ReadText(const string& str, T* dst)
template<typename T>
void WriteText(char* buffer, T* src)

Function documentation

template<typename T>
bool Simulator::SerializationTypes::Read(ISerializerStream* stream, T* dst)

template<typename T>
bool Simulator::SerializationTypes::Write(ISerializerStream* stream, T* src)

template<typename T>
void Simulator::SerializationTypes::ReadText(const string& str, T* dst)

template<typename T>
void Simulator::SerializationTypes::WriteText(char* buffer, T* src)