ML Reference
MeVis/Foundation/Sources/MLUtilities/mlErrorOutputInfos.h File Reference

Information container for error, debug or tracing information. More...

#include "mlUtilsSystem.h"
#include "mlErrorOutput.h"
#include "mlDateTime.h"

Go to the source code of this file.

Classes

class  ml::ErrorOutputInfos
 Struct which contains all information about errors, fatal errors, warnings, information or debug prints. More...

Namespaces

namespace  ml
 

Define the namespace name like in the ML. Default is ml.


namespace  std
 

Provide trigonometric etc.


Functions

ostream & std::operator<< (ostream &s, const ml::ErrorOutputInfos &eoi)
 Overload "<<" operator for stream output of ML ErrorOutputInfos objects.

Detailed Description

Information container for error, debug or tracing information.

Author:
Wolf Spindler
Date:
07/2001

The struct ErrorOutputInfos is passed to any call of a user registered function of type ErrorOutputCB to notify about detailed debug, error or other runtime information. It passes the registered userData pointer for the callback function, a completely composed information string for convenience and a structure of type ErrorOutputInfos to the function. The struct contains

  • a type identifier (information, warning, error, fatal error or debug),
  • a prefix string for the library which created the information,
  • a prefix string with arbitrary information printed before a function,
  • the function name
  • the error code
  • the reason/info string,
  • the string with information about the handling of the error,
  • the file name,
  • the line number and
  • the time stamp when message was received by the error handler of the error/warning/information/debug position.

Definition in file mlErrorOutputInfos.h.