cpp/cpp05/ex02/PresidentialPardonForm.hpp
Alexandre POMMIER 04eaf3c332 little step ex05
2022-08-04 19:46:56 +02:00

34 lines
1.4 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* PresidentialPardonForm.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/08/02 18:21:41 by apommier #+# #+# */
/* Updated: 2022/08/04 15:07:38 by apommier ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef PRESIDENTIALPARDONFORM_HPP
# define PRESIDENTIALPARDONFORM_HPP
# include "AForm.hpp"
class PresidentialPardonForm : public AForm{
public :
PresidentialPardonForm();
PresidentialPardonForm(std::string target);
PresidentialPardonForm(const PresidentialPardonForm& copy);
~PresidentialPardonForm();
PresidentialPardonForm &operator=(const PresidentialPardonForm& rhs);
void execute(Bureaucrat const & executor) const;
private :
std::string _target;
};
#endif