Resolves a relative path name using a specified path. More...
#include <ilviews/maps/format/dftrslv.h>
Public Member Functions | |
IlvDefaultDataPathResolver (const char *directory) | |
Initializes a new data path resolver to find files in a specified directory. More... | |
char * | resolvePath (const char *filename) |
Resolves the specified relative path name. More... | |
Resolves a relative path name using a specified path.
Library: ilvmaps
This default implementation of IlvMapDataPathResolver
searches for a file in a directory.
IlvDefaultDataPathResolver::IlvDefaultDataPathResolver | ( | const char * | directory | ) |
Initializes a new data path resolver to find files in a specified directory.
directory | The absolute path of the directory in which the files are to be searched. |
|
virtual |
Resolves the specified relative path name.
filename | The relative file name to resolve. |
0
if this resolver cannot resolve the path. If a non-null value is returned, it must be freed using the delete []
operator. Implements IlvMapDataPathResolver.