SAGA C++ API 1.6
task_get_result.cpp
Go to the documentation of this file.
00001 //  Copyright (c) 2005-2009 Hartmut Kaiser
00002 //  Copyright (c) 2008 Andre Merzky (andre@merzky.net)
00003 // 
00004 //  Distributed under the Boost Software License, Version 1.0. (See accompanying 
00005 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00006 
00007 #include <saga/saga/cpr.hpp>
00008 #include <saga/saga/adaptors/task.hpp>
00009 #include <saga/saga/detail/task_get_result_impl.hpp>
00010 
00012 namespace saga
00013 {
00015     /* BEGIN: Exclude from Doxygen */
00016     namespace detail
00017     {
00018         template <> struct disable_reconvert<saga::job::state> : boost::mpl::true_ {};
00019         template <> struct disable_reconvert<saga::job::ostream> : boost::mpl::true_ {};
00020         template <> struct disable_reconvert<saga::job::istream> : boost::mpl::true_ {};
00021     }
00023     /* END: Exclude from Doxygen */
00024 
00025     //  implement all task::get_result<> functions needed in cpr package
00026     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::job&
00027     task::get_result<saga::cpr::job>();
00028     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::job const&
00029     task::get_result<saga::cpr::job>() const;
00030 
00031     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::checkpoint&
00032     task::get_result<saga::cpr::checkpoint>();
00033     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::checkpoint const&
00034     task::get_result<saga::cpr::checkpoint>() const;
00035 
00036     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::directory&
00037     task::get_result<saga::cpr::directory>();
00038     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::directory const&
00039     task::get_result<saga::cpr::directory>() const;
00040 
00041     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::description&
00042     task::get_result<saga::cpr::description>();
00043     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::description const&
00044     task::get_result<saga::cpr::description>() const;
00045 
00046     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::self& 
00047     task::get_result<saga::cpr::self>();
00048     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::self const&
00049     task::get_result<saga::cpr::self>() const;
00050 
00051     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::service&
00052     task::get_result<saga::cpr::service>();
00053     template SAGA_CPR_PACKAGE_EXPORT saga::cpr::service const&
00054     task::get_result<saga::cpr::service>() const;
00055 }
00056 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines