Lightmetrica  0.0.1.50dbee3 (yosakoi)
 All Classes Functions Variables Typedefs Enumerations Enumerator
Static Public Member Functions | List of all members
PathUtils Class Reference

#include <pathutils.h>

Static Public Member Functions

static std::string ResolveAssetPath (const Config &config, const std::string &path)
 

Detailed Description

Path utility. Helper class for path manipulation.

Member Function Documentation

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
configConfiguration.
pathA path (absolute or relative).
Returns
A resolved path.

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