Serious Sam's Bogus Detour  2016/06/09
Engine documentation
Classes
Serialization

Classes

class  SValue
 Object containing serialization information. This can be several types of data. More...
 
class  SValueBuilder
 Class that can create SValue objects. More...
 

Detailed Description


Class Documentation

class SValue

Object containing serialization information. This can be several types of data.

Public Member Functions

SValueType GetType ()
 
array< SValue * > * GetArray ()
 
dictionaryGetDictionary ()
 
array< uint8 > * GetByteArray ()
 
bool GetBoolean ()
 
float GetFloat ()
 
int32 GetInteger ()
 
string GetString ()
 
vec2 GetVector2 ()
 
vec3 GetVector3 ()
 
vec4 GetVector4 ()
 
SValueGetDictionaryEntry (string name)
 
void Dump ()
 

Member Function Documentation

void SValue::Dump ( )
array<SValue*>* SValue::GetArray ( )
bool SValue::GetBoolean ( )
array<uint8>* SValue::GetByteArray ( )
dictionary* SValue::GetDictionary ( )
SValue* SValue::GetDictionaryEntry ( string  name)
float SValue::GetFloat ( )
int32 SValue::GetInteger ( )
string SValue::GetString ( )
SValueType SValue::GetType ( )
vec2 SValue::GetVector2 ( )
vec3 SValue::GetVector3 ( )
vec4 SValue::GetVector4 ( )
class SValueBuilder

Class that can create SValue objects.

Public Member Functions

void PushArray ()
 
void PopArray ()
 
void PushDictionary ()
 
void PopDictionary ()
 
void PushNull ()
 
void PushBoolean (bool val)
 
void PushFloat (float val)
 
void PushInteger (int32 val)
 
void PushString (const string &val)
 
void PushVector2 (vec2 val)
 
void PushVector3 (vec3 val)
 
void PushVector4 (vec4 val)
 
void PushDictionary (string name)
 
void PushArray (string name)
 
void PushNull (string name)
 
void PushBoolean (string name, bool val)
 
void PushFloat (string name, float val)
 
void PushInteger (string name, int32 val)
 
void PushString (string name, const string &val)
 
void PushVector2 (string name, vec2 val)
 
void PushVector3 (string name, vec3 val)
 
void PushVector4 (string name, vec4 val)
 
SValueBuild ()
 

Member Function Documentation

SValue* SValueBuilder::Build ( )
void SValueBuilder::PopArray ( )
void SValueBuilder::PopDictionary ( )
void SValueBuilder::PushArray ( )
void SValueBuilder::PushArray ( string  name)
void SValueBuilder::PushBoolean ( bool  val)
void SValueBuilder::PushBoolean ( string  name,
bool  val 
)
void SValueBuilder::PushDictionary ( )
void SValueBuilder::PushDictionary ( string  name)
void SValueBuilder::PushFloat ( float  val)
void SValueBuilder::PushFloat ( string  name,
float  val 
)
void SValueBuilder::PushInteger ( int32  val)
void SValueBuilder::PushInteger ( string  name,
int32  val 
)
void SValueBuilder::PushNull ( )
void SValueBuilder::PushNull ( string  name)
void SValueBuilder::PushString ( const string val)
void SValueBuilder::PushString ( string  name,
const string val 
)
void SValueBuilder::PushVector2 ( vec2  val)
void SValueBuilder::PushVector2 ( string  name,
vec2  val 
)
void SValueBuilder::PushVector3 ( vec3  val)
void SValueBuilder::PushVector3 ( string  name,
vec3  val 
)
void SValueBuilder::PushVector4 ( vec4  val)
void SValueBuilder::PushVector4 ( string  name,
vec4  val 
)