9 #ifndef STK_UTIL_ENVIRONMENT_RUNTIMEWARNING_HPP 10 #define STK_UTIL_ENVIRONMENT_RUNTIMEWARNING_HPP 18 typedef std::ostream &(*OStreamFunctionPtr)(std::ostream &);
19 typedef std::ios_base &(*IOSBaseFunctionPtr)(std::ios_base &);
390 #endif // STK_UTIL_ENVIRONMENT_RUNTIMEWARNING_HPP void reset_warning_count()
Function reset_warning_count sets the accumulated warning count to zero.
RuntimeWarningSymmetric & operator<<(OStreamFunctionPtr f)
Member function operator<< passes the ios_base manipulator to the output stream.
void set_max_warning_count(unsigned int max_warnings)
Function set_max_messages sets the maximum number of warning before no more warning will be displayed...
RuntimeWarningSymmetric(MessageCode &message_code=MessageCode::s_defaultMessageCode)
Creates a new RuntimeWarning instance, setting the message code.
std::ostringstream message
Stream to receive message header content.
RuntimeWarningDeferred(const MessageCode &message_code)
Creates a new RuntimeWarningDeferred instance, setting the message code.
RuntimeWarningAdHoc & operator<<(IOSBaseFunctionPtr f)
Member function operator<< passes the ios_base manipulator to the output stream.
Class RuntimeWarningSymmetric reports a symmetric warning message to the report system.
RuntimeWarningAdHoc & operator<<(OStreamFunctionPtr f)
Member function operator<< passes the ios_base manipulator to the output stream.
Class MessageCode declares a message identifier and throttle characteristics for a message...
RuntimeWarningDeferred & operator<<(const T &t)
Member function operator<< passes any data type to the exception string class for conversion to a str...
RuntimeWarningSymmetric & operator<<(const T &t)
Member function operator<< passes any data type to the exception string class for conversion to a str...
std::ostringstream message
Stream to receive message content.
void report_deferred_warning(const char *message, const char *aggregate, const MessageCode &message_code)
Member function report_deferred_warning ...
void report_warning(const char *message, const MessageCode &message_code)
Member function report_warning ...
std::ostringstream aggregate
Stream to receive message aggregate content.
~RuntimeWarningSymmetric()
Destroys a RuntimeWarningSymmetric instance.
std::ostringstream message
Stream to receive message content.
void report_symmetric_warning(const char *message, const MessageCode &message_code)
Function report_symmetric_warning sends a warning message to the reporter.
~RuntimeWarningDeferred()
Destroys a RuntimeWarning instance.
Class RuntimeWarningDeferred reports a deferred warning message to the report system.
unsigned get_max_warning_count()
Function set_max_messages sets the maximum number of warning and doomed messages displayed before the...
RuntimeWarningSymmetric & operator<<(IOSBaseFunctionPtr f)
Member function operator<< passes the ios_base manipulator to the output stream.
RuntimeWarningDeferred & operator<<(OStreamFunctionPtr f)
Member function operator<< passes the ios_base manipulator to the output stream.
Class RuntimeWarningAdHoc reports an ad hoc warning message to the report system. ...
RuntimeWarningAdHoc(MessageCode &message_code=MessageCode::s_defaultMessageCode)
Creates a new RuntimeWarningAdHoc instance, setting the message code.
RuntimeWarningDeferred & operator<<(IOSBaseFunctionPtr f)
Member function operator<< passes the ios_base manipulator to the output stream.
RuntimeWarningAdHoc & operator<<(const T &t)
Member function operator<< passes any data type to the exception string class for conversion to a str...
unsigned get_warning_count()
Function get_warning_count returns the accumulated warning count.
static MessageCode s_defaultMessageCode
Default message code.
~RuntimeWarningAdHoc()
Destroys a RuntimeWarningAdHoc instance.