wsdlpull
svntrunk
Toggle main menu visibility
Loading...
Searching...
No Matches
src
xmlpull
XmlUtils.h
Go to the documentation of this file.
1
/*
2
* wsdlpull - A C++ parser for WSDL (Web services description language)
3
* Copyright (C) 2005-2007 Vivek Krishna
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
14
*
15
* You should have received a copy of the GNU Library General Public
16
* License along with this library; if not, write to the Free
17
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
*/
19
20
#ifndef _UTILSH
21
#define _UTILSH
22
23
#include <string>
24
#include <iostream>
25
#include <fstream>
26
#include <iomanip>
27
#ifdef HAVE_CONFIG_H
//
28
#include <config.h>
29
#endif
30
#include "
wsdlpull_export.h
"
31
32
33
//put all miscellaneous utiliy functions here
34
namespace
XmlUtils
{
35
std::string
getSuffix
();
36
std::string
getFileName
(std::string);
37
std::string
creUriFile
(std::string);
38
void
delUriFiles
();
39
void
MutexInit
();
40
void
MutexLock
();
41
void
MutexUnlock
();
42
int
parseInt
(std::string s,
int
radix = 10);
43
std::ostream &
dbsp
(std::ostream & str);
44
std::ostream &
blk
(std::ostream & str);
45
bool
WSDLPULL_EXPORT
fetchUri
(std::string uri,std::string & path);
46
std::string
WSDLPULL_EXPORT
acceptSecretKey
(
const
std::string& field);
47
#ifdef _WIN32
48
void
winPost(
const
std::string uri,
const
std::string username,
49
const
std::string password,
const
std::string data,
50
std::string action,
char
* &results);
51
#endif
52
//network related stuff
53
bool
WSDLPULL_EXPORT
getProxy
();
54
void
WSDLPULL_EXPORT
setProxy
(
const
bool
bProxy);
55
56
std::string
WSDLPULL_EXPORT
getProxyHost
();
57
void
WSDLPULL_EXPORT
setProxyHost
(
const
std::string& sProxyHost);
58
59
std::string
WSDLPULL_EXPORT
getProxyUser
();
60
void
WSDLPULL_EXPORT
setProxyUser
(
const
std::string& sProxyUser);
61
62
std::string
WSDLPULL_EXPORT
getProxyPass
();
63
void
WSDLPULL_EXPORT
setProxyPass
(
const
std::string& sProxyPass);
64
}
65
#endif
/* */
XmlUtils
Definition
XmlUtils.h:34
XmlUtils::blk
std::ostream & blk(std::ostream &str)
Definition
XmlUtils.cpp:110
XmlUtils::getProxy
bool WSDLPULL_EXPORT getProxy()
Definition
XmlUtils.cpp:510
XmlUtils::getProxyHost
std::string WSDLPULL_EXPORT getProxyHost()
Definition
XmlUtils.cpp:524
XmlUtils::parseInt
int parseInt(std::string s, int radix=10)
Definition
XmlUtils.cpp:70
XmlUtils::creUriFile
std::string creUriFile(std::string)
Definition
XmlUtils.cpp:144
XmlUtils::setProxyPass
void WSDLPULL_EXPORT setProxyPass(const std::string &sProxyPass)
Definition
XmlUtils.cpp:559
XmlUtils::delUriFiles
void delUriFiles()
Definition
XmlUtils.cpp:174
XmlUtils::fetchUri
bool WSDLPULL_EXPORT fetchUri(std::string uri, std::string &path)
Definition
XmlUtils.cpp:293
XmlUtils::acceptSecretKey
std::string WSDLPULL_EXPORT acceptSecretKey(const std::string &field)
Definition
XmlUtils.cpp:434
XmlUtils::setProxy
void WSDLPULL_EXPORT setProxy(const bool bProxy)
Definition
XmlUtils.cpp:517
XmlUtils::getSuffix
std::string getSuffix()
Definition
XmlUtils.cpp:209
XmlUtils::getProxyUser
std::string WSDLPULL_EXPORT getProxyUser()
Definition
XmlUtils.cpp:538
XmlUtils::MutexUnlock
void MutexUnlock()
Definition
XmlUtils.cpp:276
XmlUtils::setProxyUser
void WSDLPULL_EXPORT setProxyUser(const std::string &sProxyUser)
Definition
XmlUtils.cpp:545
XmlUtils::getProxyPass
std::string WSDLPULL_EXPORT getProxyPass()
Definition
XmlUtils.cpp:552
XmlUtils::setProxyHost
void WSDLPULL_EXPORT setProxyHost(const std::string &sProxyHost)
Definition
XmlUtils.cpp:531
XmlUtils::MutexLock
void MutexLock()
Definition
XmlUtils.cpp:263
XmlUtils::getFileName
std::string getFileName(std::string)
Definition
XmlUtils.cpp:118
XmlUtils::MutexInit
void MutexInit()
Definition
XmlUtils.cpp:234
XmlUtils::dbsp
std::ostream & dbsp(std::ostream &str)
Definition
XmlUtils.cpp:103
wsdlpull_export.h
WSDLPULL_EXPORT
#define WSDLPULL_EXPORT
Definition
wsdlpull_export.h:30
Generated by
1.18.0