CPP01/ex04/inc/Replacer.hpp
2025-03-24 12:58:34 +01:00

29 lines
1.2 KiB
C++

/* ************************************************************************** */
/* */
/* :::::::: */
/* Replacer.hpp :+: :+: */
/* +:+ */
/* By: whaffman <whaffman@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2025/03/23 13:26:27 by whaffman #+# #+# */
/* Updated: 2025/03/23 14:04:08 by whaffman ######## odam.nl */
/* */
/* ************************************************************************** */
#pragma once
#include <string>
class Replacer
{
private:
std::string oldString;
std::string newString;
Replacer();
public:
~Replacer();
Replacer(std::string const &oldString, std::string const &newString);
std::string process(std::string const &input) const;
};