SAGA C++ API 1.6
cpr_job_self.hpp
Go to the documentation of this file.
00001 #ifndef SAGA_PACKAGES_CPR_JOB_SELF_HPP
00002 #define SAGA_PACKAGES_CPR_JOB_SELF_HPP
00003 
00004 #if defined(__WAVE__) && defined(SAGA_CREATE_PREPROCESSED_FILES)
00005 #pragma wave option(preserve: 2, line: 1, output: "preprocessed/job_self.hpp")
00006 #endif
00007 //  Copyright (c) 2005-2009 Hartmut Kaiser
00008 //  Copyright (c) 2007 Ole Weidner (oweidner@cct.lsu.edu)
00009 //  Copyright (c) 2008 Andre Merzky (andre@merzky.net)
00010 // 
00011 //  Distributed under the Boost Software License, Version 1.0. (See accompanying 
00012 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00013 
00014 #if defined(__WAVE__) && defined(SAGA_CREATE_PREPROCESSED_FILES)
00015 #pragma wave option(output: null)
00016 #endif
00017 #include <string>
00018 #include <vector>
00019 
00020 // include dependent spec sections
00021 #include <saga/saga/util.hpp>
00022 #include <saga/saga/base.hpp>
00023 #include <saga/saga/types.hpp>
00024 #include <saga/saga/session.hpp>
00025 #include <saga/saga/call.hpp>
00026 
00027 #include <saga/saga/packages/cpr/config.hpp>
00028 #include <saga/saga/packages/cpr/cpr_job.hpp>
00029 #include <saga/saga/detail/steerable.hpp>
00030 
00031 // suppress warnings about dependent classes not being exported from the dll
00032 #if defined(BOOST_MSVC)
00033 #pragma warning(push)
00034 #pragma warning(disable: 4251 4231 4275 4660)
00035 #endif
00036 
00037 #ifdef SAGA_DEBUG
00038 #include <saga/saga/packages/cpr/preprocessed/cpr_job_self.hpp>
00039 #else
00040 
00041 #if defined(__WAVE__) && defined(SAGA_CREATE_PREPROCESSED_FILES)
00042 #pragma wave option(preserve: 2, line: 1, output: "preprocessed/cpr_job_self.hpp")
00043 #endif
00044 
00045 namespace saga
00046 {
00047   namespace cpr 
00048   {
00049     
00061     class SAGA_CPR_PACKAGE_EXPORT self 
00062         : public saga::cpr::job,
00063           public saga::detail::steerable<self>
00064     {
00066 
00067         friend struct saga::detail::steerable <self>;   
00069         
00070     protected:
00072 
00073         explicit self(saga::impl::cpr_job* impl);
00075           
00076     public:
00081         self (void);
00082           
00087         ~self (void);
00088     }; 
00089     
00090     }   // namespace cpr
00091 } 
00092  
00094 #if defined(__WAVE__) && defined(SAGA_CREATE_PREPROCESSED_FILES)
00095 #pragma wave option(output: null)
00096 #endif
00097 
00098 #endif // !defined(SAGA_DEBUG)
00099 
00100 // re-enable warnings about dependent classes not being exported from the dll
00101 #if defined(BOOST_MSVC)
00102 #pragma warning(pop)
00103 #endif
00104 
00105 #endif // !defined(SAGA_PACKAGES_CPR_JOB_SELF_HPP)
00106 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines