GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | Static Private Member Functions | Static Private Attributes
radix::XmlScreenLoader Class Reference

#include <external/RadixEngine/include/radix/data/screen/XmlScreenLoader.hpp>

Inherits radix::XmlLoader.

Static Public Member Functions

static ScreengetScreen (const std::string &path)
 

Static Private Member Functions

static std::shared_ptr< ScreenloadScreen (const std::string &path)
 
static bool loadText (tinyxml2::XMLHandle &rootHandle, std::vector< Text > *text)
 

Static Private Attributes

static std::map< std::string,
std::shared_ptr< Screen > > 
screenCache = { }
 
static const std::string MODULE_NAME = "XmlScreenLoader"
 

Additional Inherited Members

- Static Protected Member Functions inherited from radix::XmlLoader
static bool extractColor (tinyxml2::XMLElement *currElement, Vector4f *color)
 
static void handleFailureForElement (std::string module, std::string element, std::string path)
 

Member Function Documentation

Screen & radix::XmlScreenLoader::getScreen ( const std::string &  path)
static
std::shared_ptr< Screen > radix::XmlScreenLoader::loadScreen ( const std::string &  path)
staticprivate
bool radix::XmlScreenLoader::loadText ( tinyxml2::XMLHandle &  rootHandle,
std::vector< Text > *  text 
)
staticprivate

Field Documentation

const std::string radix::XmlScreenLoader::MODULE_NAME = "XmlScreenLoader"
staticprivate
std::map< std::string, std::shared_ptr< Screen > > radix::XmlScreenLoader::screenCache = { }
staticprivate

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