Overload  1.1
Game engine with editor
Static Public Member Functions | List of all members
OvCore::Helpers::Serializer Class Reference

#include <Serializer.h>

Static Public Member Functions

static void SerializeBoolean (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, bool p_value)
 
static void SerializeString (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, const std::string &p_value)
 
static void SerializeFloat (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, float p_value)
 
static void SerializeDouble (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, double p_value)
 
static void SerializeInt (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, int p_value)
 
static void SerializeUint (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, unsigned p_value)
 
static void SerializeInt64 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, int64_t p_value)
 
static void SerializeVec2 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, const OvMaths::FVector2 &p_value)
 
static void SerializeVec3 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, const OvMaths::FVector3 &p_value)
 
static void SerializeVec4 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, const OvMaths::FVector4 &p_value)
 
static void SerializeQuat (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, const OvMaths::FQuaternion &p_value)
 
static void SerializeColor (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, const OvUI::Types::Color &p_value)
 
static void SerializeModel (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvRendering::Resources::Model *p_value)
 
static void SerializeTexture (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvRendering::Resources::Texture *p_value)
 
static void SerializeShader (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvRendering::Resources::Shader *p_value)
 
static void SerializeMaterial (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvCore::Resources::Material *p_value)
 
static void SerializeSound (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvAudio::Resources::Sound *p_value)
 
static void DeserializeBoolean (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, bool &p_out)
 
static void DeserializeString (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, std::string &p_out)
 
static void DeserializeFloat (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, float &p_out)
 
static void DeserializeDouble (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, double &p_out)
 
static void DeserializeInt (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, int &p_out)
 
static void DeserializeUint (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, unsigned &p_out)
 
static void DeserializeInt64 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, int64_t &p_out)
 
static void DeserializeVec2 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvMaths::FVector2 &p_out)
 
static void DeserializeVec3 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvMaths::FVector3 &p_out)
 
static void DeserializeVec4 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvMaths::FVector4 &p_out)
 
static void DeserializeQuat (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvMaths::FQuaternion &p_out)
 
static void DeserializeColor (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvUI::Types::Color &p_out)
 
static void DeserializeModel (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvRendering::Resources::Model *&p_out)
 
static void DeserializeTexture (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvRendering::Resources::Texture *&p_out)
 
static void DeserializeShader (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvRendering::Resources::Shader *&p_out)
 
static void DeserializeMaterial (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvCore::Resources::Material *&p_out)
 
static void DeserializeSound (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name, OvAudio::Resources::Sound *&p_out)
 
static bool DeserializeBoolean (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static std::string DeserializeString (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static float DeserializeFloat (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static double DeserializeDouble (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static int DeserializeInt (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static unsigned DeserializeUint (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static int64_t DeserializeInt64 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static OvMaths::FVector2 DeserializeVec2 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static OvMaths::FVector3 DeserializeVec3 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static OvMaths::FVector4 DeserializeVec4 (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static OvMaths::FQuaternion DeserializeQuat (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static OvUI::Types::Color DeserializeColor (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static OvRendering::Resources::ModelDeserializeModel (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static OvRendering::Resources::TextureDeserializeTexture (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static OvRendering::Resources::ShaderDeserializeShader (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static OvCore::Resources::MaterialDeserializeMaterial (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 
static OvAudio::Resources::SoundDeserializeSound (tinyxml2::XMLDocument &p_doc, tinyxml2::XMLNode *p_node, const std::string &p_name)
 

Member Function Documentation

◆ DeserializeBoolean() [1/2]

bool OvCore::Helpers::Serializer::DeserializeBoolean ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeBoolean() [2/2]

void OvCore::Helpers::Serializer::DeserializeBoolean ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
bool &  p_out 
)
static

◆ DeserializeColor() [1/2]

OvUI::Types::Color OvCore::Helpers::Serializer::DeserializeColor ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeColor() [2/2]

void OvCore::Helpers::Serializer::DeserializeColor ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvUI::Types::Color p_out 
)
static

◆ DeserializeDouble() [1/2]

double OvCore::Helpers::Serializer::DeserializeDouble ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeDouble() [2/2]

void OvCore::Helpers::Serializer::DeserializeDouble ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
double &  p_out 
)
static

◆ DeserializeFloat() [1/2]

float OvCore::Helpers::Serializer::DeserializeFloat ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeFloat() [2/2]

void OvCore::Helpers::Serializer::DeserializeFloat ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
float &  p_out 
)
static

◆ DeserializeInt() [1/2]

int OvCore::Helpers::Serializer::DeserializeInt ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeInt() [2/2]

void OvCore::Helpers::Serializer::DeserializeInt ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
int &  p_out 
)
static

◆ DeserializeInt64() [1/2]

int64_t OvCore::Helpers::Serializer::DeserializeInt64 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeInt64() [2/2]

void OvCore::Helpers::Serializer::DeserializeInt64 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
int64_t &  p_out 
)
static

◆ DeserializeMaterial() [1/2]

OvCore::Resources::Material * OvCore::Helpers::Serializer::DeserializeMaterial ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeMaterial() [2/2]

void OvCore::Helpers::Serializer::DeserializeMaterial ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvCore::Resources::Material *&  p_out 
)
static

◆ DeserializeModel() [1/2]

OvRendering::Resources::Model * OvCore::Helpers::Serializer::DeserializeModel ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeModel() [2/2]

void OvCore::Helpers::Serializer::DeserializeModel ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvRendering::Resources::Model *&  p_out 
)
static

◆ DeserializeQuat() [1/2]

OvMaths::FQuaternion OvCore::Helpers::Serializer::DeserializeQuat ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeQuat() [2/2]

void OvCore::Helpers::Serializer::DeserializeQuat ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvMaths::FQuaternion p_out 
)
static

◆ DeserializeShader() [1/2]

OvRendering::Resources::Shader * OvCore::Helpers::Serializer::DeserializeShader ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeShader() [2/2]

void OvCore::Helpers::Serializer::DeserializeShader ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvRendering::Resources::Shader *&  p_out 
)
static

◆ DeserializeSound() [1/2]

OvAudio::Resources::Sound * OvCore::Helpers::Serializer::DeserializeSound ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeSound() [2/2]

void OvCore::Helpers::Serializer::DeserializeSound ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvAudio::Resources::Sound *&  p_out 
)
static

◆ DeserializeString() [1/2]

std::string OvCore::Helpers::Serializer::DeserializeString ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeString() [2/2]

void OvCore::Helpers::Serializer::DeserializeString ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
std::string &  p_out 
)
static

◆ DeserializeTexture() [1/2]

OvRendering::Resources::Texture * OvCore::Helpers::Serializer::DeserializeTexture ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeTexture() [2/2]

void OvCore::Helpers::Serializer::DeserializeTexture ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvRendering::Resources::Texture *&  p_out 
)
static

◆ DeserializeUint() [1/2]

unsigned OvCore::Helpers::Serializer::DeserializeUint ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeUint() [2/2]

void OvCore::Helpers::Serializer::DeserializeUint ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
unsigned &  p_out 
)
static

◆ DeserializeVec2() [1/2]

OvMaths::FVector2 OvCore::Helpers::Serializer::DeserializeVec2 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeVec2() [2/2]

void OvCore::Helpers::Serializer::DeserializeVec2 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvMaths::FVector2 p_out 
)
static

◆ DeserializeVec3() [1/2]

OvMaths::FVector3 OvCore::Helpers::Serializer::DeserializeVec3 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeVec3() [2/2]

void OvCore::Helpers::Serializer::DeserializeVec3 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvMaths::FVector3 p_out 
)
static

◆ DeserializeVec4() [1/2]

OvMaths::FVector4 OvCore::Helpers::Serializer::DeserializeVec4 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name 
)
static

◆ DeserializeVec4() [2/2]

void OvCore::Helpers::Serializer::DeserializeVec4 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvMaths::FVector4 p_out 
)
static

◆ SerializeBoolean()

void OvCore::Helpers::Serializer::SerializeBoolean ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
bool  p_value 
)
static

@project: Overload

Author
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

◆ SerializeColor()

void OvCore::Helpers::Serializer::SerializeColor ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
const OvUI::Types::Color p_value 
)
static

◆ SerializeDouble()

void OvCore::Helpers::Serializer::SerializeDouble ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
double  p_value 
)
static

◆ SerializeFloat()

void OvCore::Helpers::Serializer::SerializeFloat ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
float  p_value 
)
static

◆ SerializeInt()

void OvCore::Helpers::Serializer::SerializeInt ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
int  p_value 
)
static

◆ SerializeInt64()

void OvCore::Helpers::Serializer::SerializeInt64 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
int64_t  p_value 
)
static

◆ SerializeMaterial()

void OvCore::Helpers::Serializer::SerializeMaterial ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvCore::Resources::Material p_value 
)
static

◆ SerializeModel()

void OvCore::Helpers::Serializer::SerializeModel ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvRendering::Resources::Model p_value 
)
static

◆ SerializeQuat()

void OvCore::Helpers::Serializer::SerializeQuat ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
const OvMaths::FQuaternion p_value 
)
static

◆ SerializeShader()

void OvCore::Helpers::Serializer::SerializeShader ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvRendering::Resources::Shader p_value 
)
static

◆ SerializeSound()

void OvCore::Helpers::Serializer::SerializeSound ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvAudio::Resources::Sound p_value 
)
static

◆ SerializeString()

void OvCore::Helpers::Serializer::SerializeString ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
const std::string &  p_value 
)
static

◆ SerializeTexture()

void OvCore::Helpers::Serializer::SerializeTexture ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
OvRendering::Resources::Texture p_value 
)
static

◆ SerializeUint()

void OvCore::Helpers::Serializer::SerializeUint ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
unsigned  p_value 
)
static

◆ SerializeVec2()

void OvCore::Helpers::Serializer::SerializeVec2 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
const OvMaths::FVector2 p_value 
)
static

◆ SerializeVec3()

void OvCore::Helpers::Serializer::SerializeVec3 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
const OvMaths::FVector3 p_value 
)
static

◆ SerializeVec4()

void OvCore::Helpers::Serializer::SerializeVec4 ( tinyxml2::XMLDocument &  p_doc,
tinyxml2::XMLNode *  p_node,
const std::string &  p_name,
const OvMaths::FVector4 p_value 
)
static

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