OnixS CME Drop Copy Handler for C++  5.3.0.0
Public Member Functions | List of all members
Warning Class Reference

Warning. More...

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.
 
Warningoperator= (const Warning &other)
 Copies warning attributes from another instance.
 

Detailed Description

Warning.