CPP05 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
RobotomyRequestForm.hpp
[詳解]
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* RobotomyRequestForm.hpp :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: kamitsui <kamitsui@student.42tokyo.jp> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2025/06/30 12:47:55 by kamitsui #+# #+# */
9/* Updated: 2025/06/30 12:48:01 by kamitsui ### ########.fr */
10/* */
11/* ************************************************************************** */
12
18#ifndef ROBOTOMYREQUESTFORM_HPP
19#define ROBOTOMYREQUESTFORM_HPP
20
21#include "AForm.hpp"
22#include <cstdlib> // For rand()
23
24class RobotomyRequestForm : public AForm {
25 private:
27
28 public:
29 // Orthodox Canonical Form
34
35 // Action
36 virtual void performAction() const;
37};
38
39#endif
An abstract base class for forms.
Definition AForm.hpp:34
A concrete form that simulates a robotomy attempt.
RobotomyRequestForm(const std::string &target)
RobotomyRequestForm(const RobotomyRequestForm &other)
virtual void performAction() const
RobotomyRequestForm & operator=(const RobotomyRequestForm &other)
Defines the abstract base class AForm for all specific forms.