Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::XML Namespace Reference

Namespaces

namespace  anonymous_namespace{XMLParser.cpp}
 
namespace  detail
 

Classes

class  IXMLSerializable
 
struct  SceneNode
 

Functions

bool loadFromXML (IXMLSerializable &object, const ResourcePath &filePath, const char *fileName)
 
bool saveToXML (const IXMLSerializable &object, const ResourcePath &filePath, const char *fileName)
 
void writeXML (const ResourcePath &path, const boost::property_tree::ptree &tree)
 
void readXML (const ResourcePath &path, boost::property_tree::ptree &tree)
 
void loadDefaultKeyBindings (const ResourcePath &file, const Scene *scene)
 Child Functions.
 
void loadMusicPlaylist (const ResourcePath &scenePath, const Str< 64 > &fileName, Scene *scene, const Configuration &config)
 
static void PopulatePressRelease (const ptree &attributes, PressReleaseActions::Entry &entryOut)
 
void writeXML (const ResourcePath &path, const ptree &tree)
 
void readXML (const ResourcePath &path, ptree &tree)
 

Function Documentation

◆ loadDefaultKeyBindings()

void Divide::XML::loadDefaultKeyBindings ( const ResourcePath file,
const Scene scene 
)

Child Functions.

Definition at line 174 of file XMLParser.cpp.

◆ loadFromXML()

bool Divide::XML::loadFromXML ( IXMLSerializable object,
const ResourcePath filePath,
const char *  fileName 
)

Definition at line 18 of file XMLParser.cpp.

◆ loadMusicPlaylist()

void Divide::XML::loadMusicPlaylist ( const ResourcePath scenePath,
const Str< 64 > &  fileName,
Scene scene,
const Configuration config 
)

Definition at line 235 of file XMLParser.cpp.

◆ PopulatePressRelease()

static void Divide::XML::PopulatePressRelease ( const ptree &  attributes,
PressReleaseActions::Entry entryOut 
)
static

Definition at line 121 of file XMLParser.cpp.

◆ readXML() [1/2]

void Divide::XML::readXML ( const ResourcePath path,
boost::property_tree::ptree &  tree 
)

◆ readXML() [2/2]

void Divide::XML::readXML ( const ResourcePath path,
ptree &  tree 
)

Definition at line 265 of file XMLParser.cpp.

◆ saveToXML()

bool Divide::XML::saveToXML ( const IXMLSerializable object,
const ResourcePath filePath,
const char *  fileName 
)

Definition at line 23 of file XMLParser.cpp.

◆ writeXML() [1/2]

void Divide::XML::writeXML ( const ResourcePath path,
const boost::property_tree::ptree &  tree 
)

◆ writeXML() [2/2]

void Divide::XML::writeXML ( const ResourcePath path,
const ptree &  tree 
)

Definition at line 258 of file XMLParser.cpp.