Go to the documentation of this file.00001
00002
00003
00004
00005
00006 #ifndef SAGA_DETAIL_MODULE_NEEDS_LOGGING_HPP
00007 #define SAGA_DETAIL_MODULE_NEEDS_LOGGING_HPP
00008
00009 #include <saga/saga/util.hpp>
00010 #include <saga/saga/export_definitions.hpp>
00011
00012
00013 #if defined(BOOST_MSVC)
00014 #pragma warning(push)
00015 #pragma warning(disable: 4251 4231 4660)
00016 #endif
00017
00018 namespace saga
00019 {
00020
00021 class session;
00022
00023 namespace detail
00024 {
00026
00027 SAGA_EXPORT session& get_the_session();
00029
00031
00032
00033 SAGA_EXPORT bool module_needs_logging(char const* module_name,
00034 saga::session const& s = saga::detail::get_the_session());
00035 }
00036 }
00037
00038 #if defined(BOOST_MSVC)
00039 #pragma warning(pop)
00040 #endif
00041
00042 #endif
00043
00044