#include <xmltooling/util/PathResolver.h>
Public Types | |
enum | file_type_t { XMLTOOLING_LIB_FILE, XMLTOOLING_LOG_FILE, XMLTOOLING_XML_FILE, XMLTOOLING_RUN_FILE, XMLTOOLING_CFG_FILE, XMLTOOLING_CACHE_FILE } |
Types of file resources to resolve. | |
Public Member Functions | |
virtual void | setDefaultPackageName (const char *pkgname) |
Set the default package to use when resolving files. | |
virtual void | setDefaultPrefix (const char *prefix) |
Set the default installation prefix to use when resolving files. | |
virtual void | setLibDir (const char *dir) |
Set the lib directory to use when resolving files. | |
virtual void | setLogDir (const char *dir) |
Set the log directory to use when resolving files. | |
virtual void | setXMLDir (const char *dir) |
Set the XML directory to use when resolving files. | |
virtual void | setRunDir (const char *dir) |
Set the run directory to use when resolving files. | |
virtual void | setCfgDir (const char *dir) |
Set the config directory to use when resolving files. | |
virtual void | setCacheDir (const char *dir) |
Set the cache directory to use when resolving files. | |
virtual const std::string & | resolve (std::string &s, file_type_t filetype, const char *pkgname=0, const char *prefix=0) const |
Changes the input filename into an absolute pathname to the same file. |
|
Changes the input filename into an absolute pathname to the same file.
|
|
Set the cache directory to use when resolving files. If relative, the default prefix will be prepended.
|
|
Set the config directory to use when resolving files. If relative, the default prefix will be prepended.
|
|
Set the default package to use when resolving files.
|
|
Set the default installation prefix to use when resolving files.
|
|
Set the lib directory to use when resolving files. If relative, the default prefix will be prepended.
|
|
Set the log directory to use when resolving files. If relative, the default prefix will be prepended.
|
|
Set the run directory to use when resolving files. If relative, the default prefix will be prepended.
|
|
Set the XML directory to use when resolving files. If relative, the default prefix will be prepended.
|