/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Form.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: mmoussou b.getGrade()) { throw GradeTooLowException(); } _signed = true; } void Form::_gradeCheck(void) const { if (_minForExec < MAXGRADE || _minForSign < MAXGRADE) throw GradeTooHighException(); if (_minForExec > MINGRADE || _minForExec > MINGRADE) throw GradeTooLowException(); } std::ostream &operator<<(std::ostream &os, Form &val) { os << "Form: " << val.getName() << ", minGrade to sign: " << int(val.getMinForSign()) << ", minGrade to execute: " << int(val.getMinForExec()); return (os); }