24 lines
614 B
C++
24 lines
614 B
C++
#pragma once
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
|
|
#include "AForm.hpp"
|
|
|
|
class RobotomyRequestForm : public AForm
|
|
{
|
|
private:
|
|
const std::string _target;
|
|
|
|
public:
|
|
RobotomyRequestForm() = delete;
|
|
RobotomyRequestForm(std::string target);
|
|
RobotomyRequestForm(const RobotomyRequestForm &other);
|
|
~RobotomyRequestForm();
|
|
RobotomyRequestForm &operator=(const RobotomyRequestForm &other) = delete;
|
|
|
|
void execute(const Bureaucrat &executor) const override;
|
|
const std::string getTarget() const;
|
|
};
|
|
|
|
std::ostream &operator<<(std::ostream &os, const RobotomyRequestForm &form); |