Tkrzw
Public Member Functions | List of all members
tkrzw::DBM::FileProcessorCopyFileData Class Reference

File processor to implement DBM::CopyFileData. More...

#include <tkrzw_dbm.h>

Public Member Functions

 FileProcessorCopyFileData (Status *status, const std::string dest_path)
 Constructor. More...
 
void Process (const std::string &path) override
 Process a file. More...
 
- Public Member Functions inherited from tkrzw::DBM::FileProcessor
virtual ~FileProcessor ()=default
 Destructor. More...
 

Detailed Description

File processor to implement DBM::CopyFileData.

Constructor & Destructor Documentation

◆ FileProcessorCopyFileData()

tkrzw::DBM::FileProcessorCopyFileData::FileProcessorCopyFileData ( Status status,
const std::string  dest_path 
)

Constructor.

Parameters
statusThe pointer to a status object to contain the result status.
dest_pathThe destination path for copying.

Member Function Documentation

◆ Process()

void tkrzw::DBM::FileProcessorCopyFileData::Process ( const std::string &  path)
overridevirtual

Process a file.

Parameters
pathThe path of the file.

Reimplemented from tkrzw::DBM::FileProcessor.