31 lines
565 B
C++
31 lines
565 B
C++
#ifndef FORM_HPP
|
|
#define FORM_HPP
|
|
|
|
#include <exception>
|
|
#include <iostream>
|
|
#include <string>
|
|
#include "Bureaucrat.hpp"
|
|
|
|
class Form
|
|
{
|
|
private:
|
|
const std::string _name;
|
|
bool _signed;
|
|
const int _grade_ex;
|
|
const int _grade_si;
|
|
|
|
public:
|
|
Form();
|
|
Form(const std::string name, const int grade_si, const int grade_ex);
|
|
Form(const Form &other);
|
|
~Form();
|
|
Form &operator=(const Form &other);
|
|
|
|
void beSigned(const Bureaucrat &bureaucrat);
|
|
std::string getName() const;
|
|
bool getSigned() const;
|
|
int getExecuteGrade() const;
|
|
int getSignGrade() const;
|
|
};
|
|
#endif
|