Public Member Functions | |
Warning (const std::string &source, WarningCode code) | |
Initializes instance with just a code. | |
Warning (const std::string &source, WarningCode code, const std::string &description) | |
Initializes instance with code and description. | |
Warning (const Warning &other) | |
Initializes as clone of another warning. | |
~Warning () | |
Cleans internal resources. | |
WarningCode | code () const |
Code of warning. | |
const char * | description () const |
Human readable description. | |
const char * | source () const |
Origin of the warning. | |
std::string | toString () const |
String presentation of an warning. | |
void | toString (std::string &) const |
Appends presentation of an warning to the string. | |
Warning & | operator= (const Warning &other) |
Copies warning attributes from another instance. | |