OTB  9.0.0
Orfeo Toolbox
Macros
otbWrapperMacros.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define otbAppLogCRITICAL(x)
 
#define otbAppLogDEBUG(x)
 
#define otbAppLogFATAL(x)
 
#define otbAppLogINFO(x)
 
#define otbAppLogWARNING(x)
 

Macro Definition Documentation

◆ otbAppLogCRITICAL

#define otbAppLogCRITICAL (   x)
Value:
{ \
std::ostringstream msg; \
msg << "" x << std::endl; \
this->GetLogger()->Write(itk::LoggerBase::CRITICAL, msg.str()); \
}

Definition at line 38 of file otbWrapperMacros.h.

◆ otbAppLogDEBUG

#define otbAppLogDEBUG (   x)
Value:
{ \
std::ostringstream msg; \
msg << "" x << std::endl; \
this->GetLogger()->Write(itk::LoggerBase::DEBUG, msg.str()); \
}

Definition at line 59 of file otbWrapperMacros.h.

◆ otbAppLogFATAL

#define otbAppLogFATAL (   x)
Value:
{ \
std::ostringstream msg; \
msg << "" x << std::endl; \
this->GetLogger()->Fatal(msg.str()); \
{ \
std::ostringstream message; \
message << "otb::ApplicationException " x; \
::otb::ApplicationException e_(__FILE__, __LINE__, message.str(), ITK_LOCATION); \
throw e_; /* Explicit naming to work around Intel compiler bug. */ \
} \
}

Definition at line 25 of file otbWrapperMacros.h.

◆ otbAppLogINFO

#define otbAppLogINFO (   x)
Value:
{ \
std::ostringstream msg; \
msg << "" x << std::endl; \
this->GetLogger()->Write(itk::LoggerBase::INFO, msg.str()); \
}

Definition at line 52 of file otbWrapperMacros.h.

◆ otbAppLogWARNING

#define otbAppLogWARNING (   x)
Value:
{ \
std::ostringstream msg; \
msg << "" x << std::endl; \
this->GetLogger()->Write(itk::LoggerBase::WARNING, msg.str()); \
}

Definition at line 45 of file otbWrapperMacros.h.

otb::ApplicationException
Exception for runtime errors in OTB Applications.
Definition: otbWrapperApplication.h:51