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