CPP05 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
PresidentialPardonForm.hpp
[詳解]
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* PresidentialPardonForm.hpp :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: kamitsui <kamitsui@student.42tokyo.jp> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2025/06/30 12:22:19 by kamitsui #+# #+# */
9/* Updated: 2025/06/30 12:47:09 by kamitsui ### ########.fr */
10/* */
11/* ************************************************************************** */
12
18#ifndef PRESIDENTIALPARDONFORM_HPP
19#define PRESIDENTIALPARDONFORM_HPP
20
21#include "AForm.hpp"
22
28 private:
30
31 public:
32 // Orthodox Canonical Form
37
38 // Action
39 virtual void performAction() const;
40};
41
42#endif
An abstract base class for forms.
Definition AForm.hpp:34
A concrete form that grants a presidential pardon.
virtual void performAction() const
Informs that the target has been pardoned by Zaphod Beeblebrox.
PresidentialPardonForm & operator=(const PresidentialPardonForm &other)
Defines the abstract base class AForm for all specific forms.