|
CPP05 1.0
|
A concrete form that grants a presidential pardon. [詳解]
#include <PresidentialPardonForm.hpp>


公開メンバ関数 | |
| PresidentialPardonForm (const std::string &target) | |
| PresidentialPardonForm (const PresidentialPardonForm &other) | |
| PresidentialPardonForm & | operator= (const PresidentialPardonForm &other) |
| ~PresidentialPardonForm () | |
| virtual void | performAction () const |
| Informs that the target has been pardoned by Zaphod Beeblebrox. | |
| PresidentialPardonForm (const std::string &target) | |
| PresidentialPardonForm (const PresidentialPardonForm &other) | |
| PresidentialPardonForm & | operator= (const PresidentialPardonForm &other) |
| ~PresidentialPardonForm () | |
| 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 grants a presidential pardon.
PresidentialPardonForm.hpp の 27 行目に定義があります。
| PresidentialPardonForm::PresidentialPardonForm | ( | const std::string & | target | ) |
PresidentialPardonForm.cpp の 20 行目に定義があります。
| PresidentialPardonForm::PresidentialPardonForm | ( | const PresidentialPardonForm & | other | ) |
PresidentialPardonForm.cpp の 23 行目に定義があります。
| PresidentialPardonForm::~PresidentialPardonForm | ( | ) |
PresidentialPardonForm.cpp の 30 行目に定義があります。
| PresidentialPardonForm::PresidentialPardonForm | ( | const std::string & | target | ) |
| PresidentialPardonForm::PresidentialPardonForm | ( | const PresidentialPardonForm & | other | ) |
| PresidentialPardonForm::~PresidentialPardonForm | ( | ) |
| PresidentialPardonForm & PresidentialPardonForm::operator= | ( | const PresidentialPardonForm & | other | ) |
PresidentialPardonForm.cpp の 25 行目に定義があります。
| PresidentialPardonForm & PresidentialPardonForm::operator= | ( | const PresidentialPardonForm & | other | ) |
|
virtual |
Informs that the target has been pardoned by Zaphod Beeblebrox.
AFormを実装しています。
PresidentialPardonForm.cpp の 35 行目に定義があります。
|
virtual |
AFormを実装しています。