Commit Graph

16 Commits

Author SHA1 Message Date
whaffman
0f5cd78603 Add run target to Makefile for executing examples 2026-03-27 20:07:01 +01:00
whaffman
4bcc292d72 Enhance output in Intern::makeForm to improve clarity of form creation 2026-03-27 19:55:11 +01:00
whaffman
f916d5cb2f Refactor Bureaucrat and Form classes to implement move semantics and improve exception handling
- Added move constructors and move assignment operators to Bureaucrat and Form classes.
- Updated constructors and destructors to include logging for move operations.
- Enhanced Bureaucrat class with an executeForm method to handle form execution.
- Refactored color definitions in colors.h for better organization and clarity.
- Removed redundant macro definitions and improved code readability.
- Updated main functions to utilize new executeForm method for better exception handling.
- Ensured proper handling of copy and move semantics across all relevant classes.
2026-03-27 19:54:54 +01:00
whaffman
756ceebed5 add format to make 2026-03-27 18:31:28 +01:00
whaffman
0a5bbd0161 Implement Intern class with form creation logic and enhance AForm destructor 2025-08-18 16:44:33 +02:00
whaffman
9ec113d630 Refactor Bureaucrat and AForm classes, add form execution logic, and enhance main function for comprehensive testing 2025-08-18 15:14:36 +02:00
whaffman
d0966d7704 Improve output formatting in main.cpp by adding color-coded print macros 2025-06-27 15:51:03 +02:00
whaffman
09e719000c Refactor Bureaucrat and AForm classes for improved formatting and consistency 2025-06-26 13:54:46 +02:00
whaffman
525d4e2beb Refactor AForm and derived classes to introduce isExecutable method for better code reuse and clarity 2025-06-26 13:52:00 +02:00
whaffman
e631a84565 Refactor form classes and improve formatting for consistency 2025-06-26 13:31:45 +02:00
whaffman
c392424d91 exd02 2025-06-25 22:18:39 +02:00
whaffman
bf2416c5c7 Add Bureaucrat and Form classes with color-coded output
- Implemented Bureaucrat class with constructors, destructors, and operator overloads.
- Added Form class with constructors, destructors, and methods for signing.
- Introduced color definitions in colors.h for enhanced console output.
- Integrated color-coded messages in Bureaucrat and Form methods for better visibility.
- Developed main function to demonstrate functionality and exception handling for Bureaucrat and Form.
2025-06-24 13:36:11 +02:00
whaffman
37300e08a6 Add ostream operator overload for Bureaucrat and clean up main function 2025-06-24 00:02:40 +02:00
whaffman
5410b6228c Remove unnecessary blank line in Bureaucrat.hpp 2025-06-23 23:40:05 +02:00
whaffman
c9639437ed first version of ex00 2025-06-23 23:31:09 +02:00
whaffman
1e75a92c41 Initial commit 2025-06-23 22:11:43 +02:00