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

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

#include <tkrzw_dbm.h>

Public Member Functions

 FileProcessorCopyFile (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::CopyFile.

Constructor & Destructor Documentation

◆ FileProcessorCopyFile()

tkrzw::DBM::FileProcessorCopyFile::FileProcessorCopyFile ( 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::FileProcessorCopyFile::Process ( const std::string &  path)
overridevirtual

Process a file.

Parameters
pathThe path of the file.

Implements tkrzw::DBM::FileProcessor.