impl_base.hpp File Reference

#include <cstdlib>
#include <cstddef>
#include <saga/saga/export_definitions.hpp>
#include <saga/saga/detail.hpp>
#include <boost/logging/format/named_write_fwd.hpp>
#include <boost/logging/format_fwd.hpp>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  saga
 

The SAGA root namespace.


Defines

#define SAGA_CPIVERSION_1_0   0x0100
#define SAGA_CPIVERSION_MINORMASK   0x000F
#define SAGA_CPIVERSION_LATEST   SAGA_CPIVERSION_1_0
#define SAGA_LOG(lvl)
#define SAGA_VERBOSE(lvl)   if (saga::impl::logger_level()->is_enabled(::boost::logging::level::lvl)) \
#define SAGA_LOG_ALWAYS(msg)   SAGA_LOG(SAGA_VERBOSE_LEVEL_ALWAYS) << msg; \
#define SAGA_LOG_CRITICAL(msg)   SAGA_LOG(SAGA_VERBOSE_LEVEL_CRITICAL) << msg; \
#define SAGA_LOG_ERROR(msg)   SAGA_LOG(SAGA_VERBOSE_LEVEL_ERROR) << msg; \
#define SAGA_LOG_WARN(msg)   SAGA_LOG(SAGA_VERBOSE_LEVEL_WARNING) << msg; \
#define SAGA_LOG_INFO(msg)   SAGA_LOG(SAGA_VERBOSE_LEVEL_INFO) << msg; \
#define SAGA_LOG_DEBUG(msg)   SAGA_LOG(SAGA_VERBOSE_LEVEL_DEBUG) << msg; \
#define SAGA_LOG_BLURB(msg)   SAGA_LOG(SAGA_VERBOSE_LEVEL_BLURB) << msg; \
#define SAGA_VERBOSE_LEVEL_ALWAYS   disable_all
#define SAGA_VERBOSE_LEVEL_CRITICAL   fatal
#define SAGA_VERBOSE_LEVEL_ERROR   error
#define SAGA_VERBOSE_LEVEL_WARNING   warning
#define SAGA_VERBOSE_LEVEL_INFO   info
#define SAGA_VERBOSE_LEVEL_DEBUG   debug
#define SAGA_VERBOSE_LEVEL_BLURB   debug
#define SAGA_OSSTREAM_GETSTRING(ss)   ss.str()
#define SAGA_OSSTREAM   std::ostringstream
#define SAGA_ISSTREAM   std::istringstream

Define Documentation

#define SAGA_CPIVERSION_1_0   0x0100
#define SAGA_CPIVERSION_MINORMASK   0x000F
#define SAGA_CPIVERSION_LATEST   SAGA_CPIVERSION_1_0
#define SAGA_LOG ( lvl   ) 
Value:
BOOST_LOG_USE_LOG_IF_LEVEL(                             \
    saga::impl::logger(), saga::impl::logger_level(), lvl)                    \
        << saga::impl::levelname(::boost::logging::level::lvl) << " "         \
        << saga::impl::logging_filename(__FILE__, __LINE__) << " "            \
#define SAGA_VERBOSE ( lvl   )     if (saga::impl::logger_level()->is_enabled(::boost::logging::level::lvl)) \
#define SAGA_LOG_ALWAYS ( msg   )     SAGA_LOG(SAGA_VERBOSE_LEVEL_ALWAYS) << msg; \
#define SAGA_LOG_CRITICAL ( msg   )     SAGA_LOG(SAGA_VERBOSE_LEVEL_CRITICAL) << msg; \
#define SAGA_LOG_ERROR ( msg   )     SAGA_LOG(SAGA_VERBOSE_LEVEL_ERROR) << msg; \
#define SAGA_LOG_WARN ( msg   )     SAGA_LOG(SAGA_VERBOSE_LEVEL_WARNING) << msg; \
#define SAGA_LOG_INFO ( msg   )     SAGA_LOG(SAGA_VERBOSE_LEVEL_INFO) << msg; \
#define SAGA_LOG_DEBUG ( msg   )     SAGA_LOG(SAGA_VERBOSE_LEVEL_DEBUG) << msg; \
#define SAGA_LOG_BLURB ( msg   )     SAGA_LOG(SAGA_VERBOSE_LEVEL_BLURB) << msg; \
#define SAGA_VERBOSE_LEVEL_ALWAYS   disable_all
#define SAGA_VERBOSE_LEVEL_CRITICAL   fatal
#define SAGA_VERBOSE_LEVEL_ERROR   error
#define SAGA_VERBOSE_LEVEL_WARNING   warning
#define SAGA_VERBOSE_LEVEL_INFO   info
#define SAGA_VERBOSE_LEVEL_DEBUG   debug
#define SAGA_VERBOSE_LEVEL_BLURB   debug
#define SAGA_OSSTREAM_GETSTRING ( ss   )     ss.str()
#define SAGA_OSSTREAM   std::ostringstream
#define SAGA_ISSTREAM   std::istringstream
Generated on Tue Sep 28 21:23:36 2010 for SAGA C++ API by  doxygen 1.6.3