cpp05/ex00/Bureaucrat.hpp

27 lines
435 B
C++

#ifndef BUREAUCRAT_HPP
#define BUREAUCRAT_HPP
#include <exception>
#include <iostream>
#include <string>
class Bureaucrat
{
private:
const std::string _name;
int _grade;
public:
Bureaucrat();
Bureaucrat(const std::string _name, int _grade);
Bureaucrat(const Bureaucrat &copy);
~Bureaucrat();
Bureaucrat &operator=(const Bureaucrat &other);
std::string get_name() const;
int get_grade() const;
};
#endif