CPP05 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
ShrubberyCreationForm クラス

A concrete form that creates a file with ASCII trees. [詳解]

#include <ShrubberyCreationForm.hpp>

ShrubberyCreationForm の継承関係図
Inheritance graph
ShrubberyCreationForm 連携図
Collaboration graph

公開メンバ関数

 ShrubberyCreationForm (const std::string &target)
 
 ShrubberyCreationForm (const ShrubberyCreationForm &other)
 
ShrubberyCreationFormoperator= (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)
 
ShrubberyCreationFormoperator= (const ShrubberyCreationForm &other)
 
 ~ShrubberyCreationForm ()
 
virtual void performAction () const
 
- 基底クラス AForm に属する継承公開メンバ関数
 AForm (const std::string &name, int gradeToSign, int gradeToExecute, const std::string &target)
 
 AForm (const AForm &other)
 
AFormoperator= (const AForm &other)
 
virtual ~AForm ()
 
const std::stringgetName () const
 
bool getIsSigned () const
 
int getGradeToSign () const
 
int getGradeToExecute () const
 
const std::stringgetTarget () 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)
 
AFormoperator= (const AForm &other)
 
virtual ~AForm ()
 
const std::stringgetName () const
 
bool getIsSigned () const
 
int getGradeToSign () const
 
int getGradeToExecute () const
 
const std::stringgetTarget () const
 
void beSigned (const Bureaucrat &bureaucrat)
 
void execute (Bureaucrat const &executor) const
 

詳解

A concrete form that creates a file with ASCII trees.

ShrubberyCreationForm.hpp28 行目に定義があります。

構築子と解体子

◆ ShrubberyCreationForm() [1/4]

ShrubberyCreationForm::ShrubberyCreationForm ( const std::string target)

ShrubberyCreationForm.cpp20 行目に定義があります。

◆ ShrubberyCreationForm() [2/4]

ShrubberyCreationForm::ShrubberyCreationForm ( const ShrubberyCreationForm other)

ShrubberyCreationForm.cpp23 行目に定義があります。

◆ ~ShrubberyCreationForm() [1/2]

ShrubberyCreationForm::~ShrubberyCreationForm ( )

ShrubberyCreationForm.cpp30 行目に定義があります。

◆ ShrubberyCreationForm() [3/4]

ShrubberyCreationForm::ShrubberyCreationForm ( const std::string target)

◆ ShrubberyCreationForm() [4/4]

ShrubberyCreationForm::ShrubberyCreationForm ( const ShrubberyCreationForm other)

◆ ~ShrubberyCreationForm() [2/2]

ShrubberyCreationForm::~ShrubberyCreationForm ( )

関数詳解

◆ operator=() [1/2]

ShrubberyCreationForm & ShrubberyCreationForm::operator= ( const ShrubberyCreationForm other)

ShrubberyCreationForm.cpp25 行目に定義があります。

◆ operator=() [2/2]

ShrubberyCreationForm & ShrubberyCreationForm::operator= ( const ShrubberyCreationForm other)

◆ performAction() [1/2]

void ShrubberyCreationForm::performAction ( ) const
virtual

Creates a file named "_target" + "_shrubbery" and writes ASCII trees to it.

AFormを実装しています。

ShrubberyCreationForm.cpp35 行目に定義があります。

◆ performAction() [2/2]

virtual void ShrubberyCreationForm::performAction ( ) const
virtual

AFormを実装しています。


このクラス詳解は次のファイルから抽出されました: