00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
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
00080 }
00081
00082 #endif // MS_HTTP_HELPER_HANDLES_HPP
00083
00084