00001
00002
00003
00004
00005
00006 #ifndef SAGA_REPLICA_HPP
00007 #define SAGA_REPLICA_HPP
00008
00009 #include <iostream>
00010 #include <saga/saga-defs.hpp>
00011
00013 #if !defined(SAGA_HAVE_PACKAGE_SD)
00014 #define SAGA_GUARDED_EXEC(BLOCK)
00015 #else
00016 #define SAGA_GUARDED_EXEC(BLOCK) \
00017 try{ \
00018 BLOCK \
00019 } \
00020 catch (saga::exception const& e) { \
00021 std::cerr << e.what () << std::endl; \
00022 } \
00023 catch (std::exception const& e) { \
00024 std::cerr << e.what() << std::endl; \
00025 } \
00026 catch (...) { \
00027 std::cerr << std::endl; \
00028 } \
00029
00030 #endif
00031
00033
00034 void list_services(std::string svc_filter, std::string data_filter);
00035
00036 #endif