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