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