|
CPP05 1.0
|
A concrete form that simulates a robotomy attempt. [詳解]
#include <RobotomyRequestForm.hpp>


公開メンバ関数 | |
| RobotomyRequestForm (const std::string &target) | |
| RobotomyRequestForm (const RobotomyRequestForm &other) | |
| RobotomyRequestForm & | operator= (const RobotomyRequestForm &other) |
| ~RobotomyRequestForm () | |
| virtual void | performAction () const |
| Makes drilling noises and informs of a 50% successful robotomy. | |
| RobotomyRequestForm (const std::string &target) | |
| RobotomyRequestForm (const RobotomyRequestForm &other) | |
| RobotomyRequestForm & | operator= (const RobotomyRequestForm &other) |
| ~RobotomyRequestForm () | |
| virtual void | performAction () const |
基底クラス AForm に属する継承公開メンバ関数 | |
| AForm (const std::string &name, int gradeToSign, int gradeToExecute, const std::string &target) | |
| AForm (const AForm &other) | |
| AForm & | operator= (const AForm &other) |
| virtual | ~AForm () |
| const std::string & | getName () const |
| bool | getIsSigned () const |
| int | getGradeToSign () const |
| int | getGradeToExecute () const |
| const std::string & | getTarget () const |
| void | beSigned (const Bureaucrat &bureaucrat) |
| void | execute (Bureaucrat const &executor) const |
| Central execution logic. Checks requirements before calling specific action. | |
| AForm (const std::string &name, int gradeToSign, int gradeToExecute, const std::string &target) | |
| AForm (const AForm &other) | |
| AForm & | operator= (const AForm &other) |
| virtual | ~AForm () |
| const std::string & | getName () const |
| bool | getIsSigned () const |
| int | getGradeToSign () const |
| int | getGradeToExecute () const |
| const std::string & | getTarget () const |
| void | beSigned (const Bureaucrat &bureaucrat) |
| void | execute (Bureaucrat const &executor) const |
A concrete form that simulates a robotomy attempt.
RobotomyRequestForm.hpp の 28 行目に定義があります。
| RobotomyRequestForm::RobotomyRequestForm | ( | const std::string & | target | ) |
RobotomyRequestForm.cpp の 20 行目に定義があります。
| RobotomyRequestForm::RobotomyRequestForm | ( | const RobotomyRequestForm & | other | ) |
RobotomyRequestForm.cpp の 22 行目に定義があります。
| RobotomyRequestForm::~RobotomyRequestForm | ( | ) |
RobotomyRequestForm.cpp の 29 行目に定義があります。
| RobotomyRequestForm::RobotomyRequestForm | ( | const std::string & | target | ) |
| RobotomyRequestForm::RobotomyRequestForm | ( | const RobotomyRequestForm & | other | ) |
| RobotomyRequestForm::~RobotomyRequestForm | ( | ) |
| RobotomyRequestForm & RobotomyRequestForm::operator= | ( | const RobotomyRequestForm & | other | ) |
RobotomyRequestForm.cpp の 24 行目に定義があります。
| RobotomyRequestForm & RobotomyRequestForm::operator= | ( | const RobotomyRequestForm & | other | ) |
|
virtual |
Makes drilling noises and informs of a 50% successful robotomy.
AFormを実装しています。
RobotomyRequestForm.cpp の 34 行目に定義があります。
|
virtual |
AFormを実装しています。