diff options
Diffstat (limited to 'cpp05/ex03/ShrubberyCreationForm.hpp')
| -rw-r--r-- | cpp05/ex03/ShrubberyCreationForm.hpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/cpp05/ex03/ShrubberyCreationForm.hpp b/cpp05/ex03/ShrubberyCreationForm.hpp new file mode 100644 index 0000000..4799d9d --- /dev/null +++ b/cpp05/ex03/ShrubberyCreationForm.hpp @@ -0,0 +1,38 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ShrubberyCreationForm.hpp :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle <me@cacharle.xyz> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/10/19 13:43:27 by cacharle #+# #+# */ +/* Updated: 2020/11/17 16:37:56 by charles ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef SHRUBBERYCREATIONFORM_HPP +# define SHRUBBERYCREATIONFORM_HPP + +# include <string> +# include <cstring> +# include <fstream> +# include <iostream> +# include "Form.hpp" + +class ShrubberyCreationForm : public Form +{ +public: + ShrubberyCreationForm(const ShrubberyCreationForm& other); + ShrubberyCreationForm& operator=(const ShrubberyCreationForm& other); + ~ShrubberyCreationForm(); + + ShrubberyCreationForm(std::string const& target); + +private: + ShrubberyCreationForm(); + virtual void executeUnsafe() const; + + std::string m_target; +}; + +#endif |
