Lightmetrica
0.0.1.50dbee3 (yosakoi)
|
#include <config.h>
Public Member Functions | |
LM_COMPONENT_INTERFACE_DEF ("config") | |
virtual bool | Load (const std::string &path)=0 |
virtual bool | Load (const std::string &path, const std::string &basePath)=0 |
virtual bool | LoadFromString (const std::string &data, const std::string &basePath)=0 |
virtual const ConfigNode | Root () const =0 |
virtual std::string | BasePath () const =0 |
Public Member Functions inherited from Component | |
virtual std::string | ComponentInterfaceTypeName () const =0 |
virtual std::string | ComponentImplTypeName () const =0 |
Public Member Functions inherited from SIMDAlignedType | |
void * | operator new (std::size_t size) throw (std::bad_alloc) |
void | operator delete (void *p) |
Configuration of the renderer. The renderer is configured by a XML document. All configuration needed for rendering is contained the document.
|
pure virtual |
Get base path. Returns the base path of the assets.
Implemented in ConfigImpl, StubConfig, and StubConfig_PathUtilsTest.
|
pure virtual |
Load the configuration file.
path | Path to the configuration file. |
true | Succeeded to load the configuration. |
false | Failed to load the configuration. |
Implemented in ConfigImpl, and StubConfig.
|
pure virtual |
Load the configuration file.
path | Path to the configuration file. |
path | Base path for asset loading. |
true | Succeeded to load the configuration. |
false | Failed to load the configuration. |
Implemented in ConfigImpl, and StubConfig.
|
pure virtual |
Load the configuration from a string. Use the function to load the configuration from a string.
data | Configuration string. |
basePath | Base path for asset loading. |
true | Succeeded to load the configuration. |
false | Failed to load the configuration. |
Implemented in ConfigImpl, and StubConfig.
|
pure virtual |