XmlUtils.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _UTILSH
00021 #define _UTILSH
00022
00023 #include <string>
00024 #include <iostream>
00025 #include <fstream>
00026 #include <iomanip>
00027 #ifdef HAVE_CONFIG_H //
00028 #include <config.h>
00029 #endif
00030 #include "wsdlpull_export.h"
00031
00032
00033
00034 namespace XmlUtils {
00035 int parseInt (std::string s, int radix = 10);
00036 std::ostream & dbsp (std::ostream & str);
00037 std::ostream & blk (std::ostream & str);
00038 bool WSDLPULL_EXPORT fetchUri(std::string uri,std::string & path);
00039 std::string WSDLPULL_EXPORT acceptSecretKey(const std::string& field);
00040 #ifdef _WIN32
00041 void winPost(const std::string uri,const std::string username,
00042 const std::string password,const std::string data,
00043 std::string action,char* &results);
00044 #endif
00045
00046 bool WSDLPULL_EXPORT getProxy ();
00047 void WSDLPULL_EXPORT setProxy (const bool bProxy);
00048
00049 std::string WSDLPULL_EXPORT getProxyHost ();
00050 void WSDLPULL_EXPORT setProxyHost (const std::string& sProxyHost);
00051
00052 std::string WSDLPULL_EXPORT getProxyUser ();
00053 void WSDLPULL_EXPORT setProxyUser (const std::string& sProxyUser);
00054
00055 std::string WSDLPULL_EXPORT getProxyPass ();
00056 void WSDLPULL_EXPORT setProxyPass (const std::string& sProxyPass);
00057 }
00058 #endif