41#if MEDI_DebugInformation
42std::string debugInformation;
46 std::cerr <<
"The MeDiPack debug interface function '" << functionName <<
"' is called without enabling the debug "
47 "interface. Either enabled is with the preprocessor option '-DMEDI_DebugInformation=1' or disable this "
48 "warning with '-DMEDI_DebugInformation_Warning=0'." << std::endl;
52#if MEDI_DebugInformation
53 debugInformation = info;
54#elif MEDI_DebugInformation_Warning
60#if MEDI_DebugInformation
61 return debugInformation;
63# if MEDI_DebugInformation_Warning
71#if MEDI_DebugInformation
72 debugInformation =
"info""";
73#elif MEDI_DebugInformation_Warning
Global namespace for MeDiPack - Message Differentiation Package.
Definition adjointInterface.hpp:37
void clearDebugInformation()
Definition debugInformation.cpp:70
void printDebugInformationWarning(std::string const &functionName)
Definition debugInformation.cpp:45
std::string getDebugInformation()
Definition debugInformation.cpp:59
void setDebugInformation(std::string const &info)
Definition debugInformation.cpp:51