#include <FileByPath.h>
◆ FileByPath() [1/4]
Nice::FileByPath::FileByPath |
( |
| ) |
|
|
inline |
◆ FileByPath() [2/4]
Nice::FileByPath::FileByPath |
( |
const std::string & |
_searchPath | ) |
|
|
inline |
◆ FileByPath() [3/4]
Nice::FileByPath::FileByPath |
( |
| ) |
|
|
inline |
◆ FileByPath() [4/4]
Nice::FileByPath::FileByPath |
( |
const std::string & |
_searchPath | ) |
|
|
inline |
◆ find() [1/2]
std::string Nice::FileByPath::find |
( |
const std::string & |
_f, |
|
|
bool |
_create = false |
|
) |
| |
construct a file name
- Parameters
-
_f | the trailing part of the full file's path name. This may contain shell-style dollar expressions equivalent to shell environment variables. |
_create | |
- Returns
- The first regular file in the search path that ends with _f.
◆ find() [2/2]
std::string Nice::FileByPath::find |
( |
const std::string & |
_f, |
|
|
bool |
_create = false |
|
) |
| |
◆ searchPath() [1/2]
◆ searchPath() [2/2]
◆ setSearchPath() [1/4]
void Nice::FileByPath::setSearchPath |
( |
const std::string & |
_searchPath | ) |
|
◆ setSearchPath() [2/4]
void Nice::FileByPath::setSearchPath |
( |
const std::string & |
_searchPath | ) |
|
set up the directory search tree.
- Parameters
-
_searchPath | A colon-separated list of directories. This may contain shell-type dollars like environment variables. Note that this will not be interpreted recursively by find(). |
◆ setSearchPath() [3/4]
◆ setSearchPath() [4/4]
◆ m_searchPath
The documentation for this class was generated from the following files: