ExchangeFileContents
Loading...
Searching...
No Matches
EfcApp::EfcCallBackFileFount Class Reference

Class to process found files; passed to eut::FileHelper::iterateDirectory( const fs::path & rIterPath, bool bRecursive, CallBackFileDirFount & rProcessingObject ). More...

Inheritance diagram for EfcApp::EfcCallBackFileFount:
Collaboration diagram for EfcApp::EfcCallBackFileFount:

Public Member Functions

 EfcCallBackFileFount (EfcApp &rEfcApp)
 
virtual void processFileFount (const fs::path &rFullFileName)
 
- Public Member Functions inherited from eut::FileHelper::CallBackFileDirFount
virtual void processDirFount (const fs::path &rFullPathName)
 

Private Attributes

EfcAppm_pParent
 

Detailed Description

Class to process found files; passed to eut::FileHelper::iterateDirectory( const fs::path & rIterPath, bool bRecursive, CallBackFileDirFount & rProcessingObject ).

Author
Helmut Jakoby

Constructor & Destructor Documentation

◆ EfcCallBackFileFount()

EfcApp::EfcCallBackFileFount::EfcCallBackFileFount ( EfcApp & rEfcApp)

Constructor with parameter passing.

Parameters
[in]rEfcAppThe owning Efc application.

Member Function Documentation

◆ processFileFount()

virtual void EfcApp::EfcCallBackFileFount::processFileFount ( const fs::path & rFullFileName)
virtual

Is called if a file is found during iteration. An attempt is made to exchange the content, requested by m_pParent), via eut::FileHelper::swapDataInFile (...).

Parameters
[in]rFullFileNameThe file name with complete path in an object of type fs::path.

Reimplemented from eut::FileHelper::CallBackFileDirFount.

Member Data Documentation

◆ m_pParent

EfcApp* EfcApp::EfcCallBackFileFount::m_pParent
private

Pointer to the owning EfcApp object.


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