#include <pathutils.h>
Path utility. Helper class for path manipulation.
LM_NAMESPACE_BEGIN std::string PathUtils::ResolveAssetPath |
( |
const Config & |
config, |
|
|
const std::string & |
path |
|
) |
| |
|
static |
Resolve asset path. If the given #path is absolute, returns the path as it is. Otherwise, returns the path relative to the configuration file.
- Parameters
-
config | Configuration. |
path | A path (absolute or relative). |
- Returns
- A resolved path.
The documentation for this class was generated from the following files:
- /home/travis/build/hi2p-perim/lightmetrica/include/lightmetrica/pathutils.h
- /home/travis/build/hi2p-perim/lightmetrica/src/liblightmetrica/pathutils.cpp