Example #1
0
void					test1(Bureaucrat &b, Form &f)
{
	std::cout << "\033[35mtest1: \033[0m" << std::endl;
	
	std::cout << b.getName() << "(" << b.getGrade() <<
		") trying to sign " << f.getName() << "(" << f.getSGrade() <<
		")" << std::endl;
	b.signForm(f);
	std::cout << std::endl;
	return ;
}
Example #2
0
Bureaucrat::Bureaucrat(Bureaucrat const &src) : Name(src.getName()), Grade(src.getGrade()) {}
Example #3
0
Bureaucrat::Bureaucrat(Bureaucrat const & src) : _name(src.getName()) {
	*this = src;
	return;
}
Example #4
0
Bureaucrat::Bureaucrat(Bureaucrat &src) : name(src.getName()) {
    this->grade = src.getGrade();
}
Example #5
0
Bureaucrat::Bureaucrat( Bureaucrat const & cpy) : name(cpy.getName()), grade(cpy.getGrade())	{
	checkGrade();
}