![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cManifestDir.h>
Public Member Functions | |
cManifestRoot (cStringF sRootDir, const FILECHAR_t *pszManifestFileName=nullptr) | |
~cManifestRoot () | |
cStringF | get_RootDir () const |
void | put_RootDir (cStringF sRootDir) |
bool | isRootDir (const FILECHAR_t *pszDirPath) const |
bool | isInRootPath (const FILECHAR_t *pszDirPath) const |
cStringF | makeFullPath (const FILECHAR_t *pszRelativePath) const |
cStringF | makeRelativePath (const FILECHAR_t *pszDirPath) const |
HRESULT | ReadSearchForTitle (cStringF &sPathRet, const FILECHAR_t *pszTitle, int iDescendLevels) const |
Public Attributes | |
const FILECHAR_t * | m_pszManifestFileName |
"Manifest.scp" // name of the local manifest files. (one per dir) More... | |
Static Public Attributes | |
static const FILECHAR_t * | k_pszManifestDefault = _FN("Manifest.scp") |
"Manifest.scp" More... | |
Protected Attributes | |
cStringF | m_sRootDir |
full path to the (local system) root directory we are syncing or building manifests for. More... | |
Root level directory for the manifest creation process. May not be true system root of course.
GrayLib::cManifestRoot::cManifestRoot | ( | cStringF | sRootDir, |
const FILECHAR_t * | pszManifestFileName = nullptr |
||
) |
GrayLib::cManifestRoot::~cManifestRoot | ( | ) |
|
inline |
Get the install root folder path.
|
inline |
|
inline |
|
inline |
|
inline |
Make sure path is relative to the local root.
|
inline |
HRESULT GrayLib::cManifestRoot::ReadSearchForTitle | ( | cStringF & | sPathRet, |
const FILECHAR_t * | pszTitle, | ||
int | iDescendLevels | ||
) | const |
We are looking for a file (without ext) in the manifest and below. pszTitle = Name + EXT
|
static |
"Manifest.scp"
const FILECHAR_t* GrayLib::cManifestRoot::m_pszManifestFileName |
"Manifest.scp" // name of the local manifest files. (one per dir)
|
protected |
full path to the (local system) root directory we are syncing or building manifests for.