clan::XMLResourceManager Class Reference

Resource manager loading from XMLResourceDocument. More...

#include <xml_resource_manager.h>

Static Public Member Functions

static void add_cache_factory (std::function< void(ResourceManager &, const XMLResourceDocument &)> factory_callback)
 Adds a cache factory callback. More...
 
static ResourceManager create (const XMLResourceDocument &doc)
 Creates a resource manager. More...
 
static XMLResourceDocumentget_doc (const ResourceManager &manager)
 Gets the XML resource document used by a resource manager. More...
 

Detailed Description

Resource manager loading from XMLResourceDocument.

Member Function Documentation

static void clan::XMLResourceManager::add_cache_factory ( std::function< void(ResourceManager &, const XMLResourceDocument &)>  factory_callback)
static

Adds a cache factory callback.

Each factory callback is invoked every time a resource manager is created.

static ResourceManager clan::XMLResourceManager::create ( const XMLResourceDocument doc)
static

Creates a resource manager.

static XMLResourceDocument& clan::XMLResourceManager::get_doc ( const ResourceManager manager)
static

Gets the XML resource document used by a resource manager.


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