#ifndef ROBOTOMYREQUESTFORM_HPP #define ROBOTOMYREQUESTFORM_HPP #include "AForm.hpp" #include #include /* srand, rand */ #include /* time */ class RobotomyRequestForm : public AForm { private: std::string _target; virtual void performAction() const; public: // Constructors RobotomyRequestForm(); RobotomyRequestForm(const std::string target); RobotomyRequestForm(const RobotomyRequestForm &other); RobotomyRequestForm &operator=(const RobotomyRequestForm &other); ~RobotomyRequestForm(); // exceptions class RobotizationFailed : public std::exception { public: virtual const char *what() const throw(); }; }; #endif