Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cManifestContext Class Reference

#include <cManifestDir.h>

Inheritance diagram for GrayLib::cManifestContext:
GrayLib::cManifestRoot GrayLib::cSyncContext

Public Member Functions

 cManifestContext (cStringF sDirRoot, const FILECHAR_t *pszManifestFileName=nullptr, cLogProcessor *pLog=nullptr, IStreamProgressCallback *pProgress=nullptr)
 
 ~cManifestContext ()
 
HRESULT UpdateProgress (const cStreamProgress &s)
 
- Public Member Functions inherited from GrayLib::cManifestRoot
 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

cLogProcessorm_pLog
 Route status messages to this logger. More...
 
IStreamProgressCallbackm_pProgress
 Send progress info to some outside party on the action(s) we are taking. More...
 
- Public Attributes inherited from GrayLib::cManifestRoot
const FILECHAR_tm_pszManifestFileName
 "Manifest.scp" // name of the local manifest files. (one per dir) More...
 

Additional Inherited Members

- Static Public Attributes inherited from GrayLib::cManifestRoot
static const FILECHAR_tk_pszManifestDefault = _FN("Manifest.scp")
 "Manifest.scp" More...
 
- Protected Attributes inherited from GrayLib::cManifestRoot
cStringF m_sRootDir
 full path to the (local system) root directory we are syncing or building manifests for. More...
 

Detailed Description

Config info for taking some action on the manifests in a directory tree. Used for cManifestBuilder and base for cSyncContext

Constructor & Destructor Documentation

◆ cManifestContext()

GrayLib::cManifestContext::cManifestContext ( cStringF  sDirRoot,
const FILECHAR_t pszManifestFileName = nullptr,
cLogProcessor pLog = nullptr,
IStreamProgressCallback pProgress = nullptr 
)

◆ ~cManifestContext()

GrayLib::cManifestContext::~cManifestContext ( )

Member Function Documentation

◆ UpdateProgress()

HRESULT GrayLib::cManifestContext::UpdateProgress ( const cStreamProgress s)
inline

feed the total progress indicator to some outside source.

Member Data Documentation

◆ m_pLog

cLogProcessor* GrayLib::cManifestContext::m_pLog

Route status messages to this logger.

◆ m_pProgress

IStreamProgressCallback* GrayLib::cManifestContext::m_pProgress

Send progress info to some outside party on the action(s) we are taking.


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