/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* RobotomyRequestForm.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: apommier +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/08/04 15:14:32 by apommier #+# #+# */ /* Updated: 2022/08/04 18:54:53 by apommier ### ########.fr */ /* */ /* ************************************************************************** */ #include "RobotomyRequestForm.hpp" RobotomyRequestForm::RobotomyRequestForm() : AForm(72, 45, "RobotomyRequestForm") { } RobotomyRequestForm::RobotomyRequestForm(std::string target) : AForm(72, 45, "RobotomyRequestForm") { this->_target = target; } RobotomyRequestForm::RobotomyRequestForm(const RobotomyRequestForm& copy) : AForm(copy) { *this = copy; } RobotomyRequestForm::~RobotomyRequestForm() { } RobotomyRequestForm &RobotomyRequestForm::operator=(const RobotomyRequestForm& rhs) { if (&rhs != this) this->_target = rhs._target; return (*this); } void RobotomyRequestForm::execute(Bureaucrat const & executor) const { AForm::execute(executor); }