Matrix Science header

ms_http_helper_handles.hpp

00001 /*
00002 ##############################################################################
00003 # file: ms_http_helper_handles.hpp                                                  #
00004 # 'msparser' toolkit                                                         #
00005 # Hold the handles for an internet file post function.                       #
00006 ##############################################################################
00007 # COPYRIGHT NOTICE                                                           #
00008 # Copyright 1998-2013 Matrix Science Limited  All Rights Reserved.           #
00009 #                                                                            #
00010 ##############################################################################
00011  * @(#)$Source: parser/inc/ms_http_helper_handles.hpp $
00012  * @(#)$Revision: 1b450440f9c97e1e41d0fc6016a27d68951d4532 | MSPARSER_REL_2_8_1-0-gea32989045 $
00013  * @(#)$Date: 2018-07-30 16:23:53 +0100 $
00014 ##############################################################################
00015  */
00016 
00017 #ifndef MS_HTTP_HELPER_HANDLES_HPP
00018 #define MS_HTTP_HELPER_HANDLES_HPP
00019 
00020 
00021 #include <string>
00022 
00023 namespace matrix_science
00024 {
00025     class ms_http_helper_handles_body;
00026 
00032 
00033 
00045     class MS_MASCOTRESFILE_API ms_http_helper_handles :
00046         public ms_errors
00047     {
00048         public:
00050             ms_http_helper_handles();
00051             ms_http_helper_handles(const ms_http_helper_handles &);
00052 #ifndef SWIG
00053             const ms_http_helper_handles & operator=(const ms_http_helper_handles &);
00054             ms_http_helper_handles(const ms_http_helper_handles_body & impl);
00055 #endif
00056 
00058             virtual ~ms_http_helper_handles();
00059 #ifndef SWIG
00060 
00061             bool getRequestData(bool & isStillActive, std::string & requestDataRef);
00062 #else // SWIG Multiple return values
00063             bool getRequestData(bool & OUTPUT, std::string & OUTPUT);
00064 #endif
00065 
00066             void setRequestData(const std::string & strResult);
00067 
00069             bool closeHandles();
00070             
00071         private:
00072             void copyFrom(const ms_http_helper_handles & copy);
00073             void release();
00074 
00075             ms_http_helper_handles_body * pimpl_;
00076             std::string strResult_;
00077     };
00078  // end of http_client_group
00080 } // namespace matrix_science
00081 
00082 #endif // MS_HTTP_HELPER_HANDLES_HPP
00083 
00084 /*------------------------------- End of File -------------------------------*/

Copyright © 2022 Matrix Science Ltd.  All Rights Reserved. Generated on Thu Mar 31 2022 01:12:29