CPP05 1.0
|
A concrete form that creates a file with ASCII trees. [詳解]
#include <ShrubberyCreationForm.hpp>
公開メンバ関数 | |
ShrubberyCreationForm (const std::string &target) | |
ShrubberyCreationForm (const ShrubberyCreationForm &other) | |
ShrubberyCreationForm & | operator= (const ShrubberyCreationForm &other) |
~ShrubberyCreationForm () | |
virtual void | performAction () const |
Creates a file named "_target" + "_shrubbery" and writes ASCII trees to it. | |
ShrubberyCreationForm (const std::string &target) | |
ShrubberyCreationForm (const ShrubberyCreationForm &other) | |
ShrubberyCreationForm & | operator= (const ShrubberyCreationForm &other) |
~ShrubberyCreationForm () | |
virtual void | performAction () const |
![]() | |
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 creates a file with ASCII trees.
ShrubberyCreationForm.hpp の 28 行目に定義があります。
ShrubberyCreationForm::ShrubberyCreationForm | ( | const std::string & | target | ) |
ShrubberyCreationForm.cpp の 20 行目に定義があります。
ShrubberyCreationForm::ShrubberyCreationForm | ( | const ShrubberyCreationForm & | other | ) |
ShrubberyCreationForm.cpp の 23 行目に定義があります。
ShrubberyCreationForm::~ShrubberyCreationForm | ( | ) |
ShrubberyCreationForm.cpp の 30 行目に定義があります。
ShrubberyCreationForm::ShrubberyCreationForm | ( | const std::string & | target | ) |
ShrubberyCreationForm::ShrubberyCreationForm | ( | const ShrubberyCreationForm & | other | ) |
ShrubberyCreationForm::~ShrubberyCreationForm | ( | ) |
ShrubberyCreationForm & ShrubberyCreationForm::operator= | ( | const ShrubberyCreationForm & | other | ) |
ShrubberyCreationForm.cpp の 25 行目に定義があります。
ShrubberyCreationForm & ShrubberyCreationForm::operator= | ( | const ShrubberyCreationForm & | other | ) |
|
virtual |
Creates a file named "_target" + "_shrubbery" and writes ASCII trees to it.
AFormを実装しています。
ShrubberyCreationForm.cpp の 35 行目に定義があります。
|
virtual |
AFormを実装しています。