Operator << print all Form information
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2026/02/21 12:12:17 by aortigos #+# #+# */
|
||||
/* Updated: 2026/02/21 12:12:17 by aortigos ### ########.fr */
|
||||
/* Updated: 2026/03/16 10:11:21 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -106,7 +106,9 @@ std::ostream& operator<<(std::ostream &os, const AForm &form)
|
||||
isItSigned = " is not signed.";
|
||||
}
|
||||
|
||||
os << form.getName() << isItSigned;
|
||||
os << form.getName() << isItSigned
|
||||
<< "Grade to execute: " << this->gradeToExecute
|
||||
<< "Grade to sign: " << this->gradeToSign;
|
||||
return (os);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user