|
Jetpack documentation 1.0.0
|
A class for warnings. More...
#include <Logs.hpp>
Public Member Functions | |
| Warning (const std::string file="", const int line=0, const std::string func="") | |
| Constructor of the Warning. | |
| ~Warning () | |
| Destructor of the Warning. | |
| template<typename T > | |
| Warning & | operator<< (const T &message) |
| Print a warning message. | |
| Warning & | operator<< (std::ostream &(*pf)(std::ostream &)) |
| Print a warning message. | |
A class for warnings.
This class is used to print warning messages
| Warning | ( | const std::string | file = "", |
| const int | line = 0, | ||
| const std::string | func = "" ) |
Constructor of the Warning.
| file | The file that contains the warning |
| line | The line that contains the warning |
| func | The function that contains the warning |
|
inline |
| Warning & operator<< | ( | std::ostream &(* | pf )(std::ostream &) | ) |