/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* AForm.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: aortigos # include "../Bureaucrat/Bureaucrat.hpp" class AForm { private: const std::string name; bool isSigned; const int gradeToSign; const int gradeToExecute; public: AForm(); AForm(const AForm &other); AForm& operator=(const AForm &other); ~AForm(); AForm(std::string name, bool isSigned, int gradeToSign, int gradeToExecute); std::string getName() const; bool getIsSigned() const; int getGradeToSign() const; int getGradeToExecute() const; void beSigned(const Bureaucrat &br); class GradeTooLowException : public std::exception { public: virtual const char *what() const throw(); }; class GradeTooHighException : public std::exception { public: virtual const char *what() const throw(); }; }; std::ostream& operator<<(std::ostream &os, const AForm &AForm); #endif