18#ifndef FILEREPLACER_HPP
19#define FILEREPLACER_HPP
A class that handles replacing occurrences of a string within a file.
FileReplacer()
Default constructor for the FileReplacer class.
void processFile()
Processes the input file and performs the string replacement.
FileReplacer & operator=(const FileReplacer &other)
Copy assignment operator for the FileReplacer class.
const std::string & getS1() const
Gets the string to find (s1).
~FileReplacer()
Destructor for the FileReplacer class.
const std::string & getFileName() const
Gets the filename.
const std::string & getS2() const
Gets the string to replace with (s2).