|
| LM_COMPONENT_IMPL_DEF ("stub") |
|
virtual bool | Load (const std::string &path) |
|
virtual bool | Load (const std::string &path, const std::string &basePath) |
|
virtual const ConfigNode | Root () const |
|
virtual std::string | BasePath () const |
|
virtual bool | LoadFromString (const std::string &data, const std::string &basePath) |
|
ConfigNode | LoadFromStringAndGetFirstChild (const std::string &data) |
|
| LM_COMPONENT_INTERFACE_DEF ("config") |
|
virtual std::string | ComponentInterfaceTypeName () const =0 |
|
virtual std::string | ComponentImplTypeName () const =0 |
|
void * | operator new (std::size_t size) throw (std::bad_alloc) |
|
void | operator delete (void *p) |
|
virtual std::string StubConfig::BasePath |
( |
| ) |
const |
|
inlinevirtual |
virtual bool StubConfig::Load |
( |
const std::string & |
path | ) |
|
|
inlinevirtual |
Load the configuration file.
- Parameters
-
path | Path to the configuration file. |
- Return values
-
true | Succeeded to load the configuration. |
false | Failed to load the configuration. |
Implements Config.
virtual bool StubConfig::Load |
( |
const std::string & |
path, |
|
|
const std::string & |
basePath |
|
) |
| |
|
inlinevirtual |
Load the configuration file.
- Parameters
-
path | Path to the configuration file. |
path | Base path for asset loading. |
- Return values
-
true | Succeeded to load the configuration. |
false | Failed to load the configuration. |
Implements Config.
virtual bool StubConfig::LoadFromString |
( |
const std::string & |
data, |
|
|
const std::string & |
basePath |
|
) |
| |
|
inlinevirtual |
Load the configuration from a string. Use the function to load the configuration from a string.
- Parameters
-
data | Configuration string. |
basePath | Base path for asset loading. |
- Return values
-
true | Succeeded to load the configuration. |
false | Failed to load the configuration. |
Implements Config.
virtual const ConfigNode StubConfig::Root |
( |
| ) |
const |
|
inlinevirtual |
Get the root node.
- Returns
- Root node.
Implements Config.
The documentation for this class was generated from the following file:
- /home/travis/build/hi2p-perim/lightmetrica/include/lightmetrica.test/stub.config.h