wsdlpull svntrunk
Loading...
Searching...
No Matches
Functions
XmlUtils Namespace Reference

Functions

std::string getSuffix ()
 
std::string getFileName (std::string)
 
std::string creUriFile (std::string)
 
void delUriFiles ()
 
void MutexInit ()
 
void MutexLock ()
 
void MutexUnlock ()
 
int parseInt (std::string s, int radix=10)
 
std::ostream & dbsp (std::ostream &str)
 
std::ostream & blk (std::ostream &str)
 
bool WSDLPULL_EXPORT fetchUri (std::string uri, std::string &path)
 
std::string WSDLPULL_EXPORT acceptSecretKey (const std::string &field)
 
bool WSDLPULL_EXPORT getProxy ()
 
void WSDLPULL_EXPORT setProxy (const bool bProxy)
 
std::string WSDLPULL_EXPORT getProxyHost ()
 
void WSDLPULL_EXPORT setProxyHost (const std::string &sProxyHost)
 
std::string WSDLPULL_EXPORT getProxyUser ()
 
void WSDLPULL_EXPORT setProxyUser (const std::string &sProxyUser)
 
std::string WSDLPULL_EXPORT getProxyPass ()
 
void WSDLPULL_EXPORT setProxyPass (const std::string &sProxyPass)
 

Function Documentation

◆ getSuffix()

std::string XmlUtils::getSuffix ( )

Definition at line 209 of file XmlUtils.cpp.

Referenced by creUriFile(), delUriFiles(), and getFileName().

◆ getFileName()

std::string XmlUtils::getFileName ( std::string  uri)

Definition at line 118 of file XmlUtils.cpp.

References getSuffix(), MutexLock(), MutexUnlock(), and urlCache_.

Referenced by fetchUri().

◆ creUriFile()

std::string XmlUtils::creUriFile ( std::string  uri)

Definition at line 144 of file XmlUtils.cpp.

References getSuffix(), MutexLock(), MutexUnlock(), and urlCache_.

Referenced by fetchUri().

◆ delUriFiles()

void XmlUtils::delUriFiles ( )

Definition at line 174 of file XmlUtils.cpp.

References getSuffix(), MutexLock(), MutexUnlock(), and urlCache_.

Referenced by WsdlPull::WsdlParser::~WsdlParser().

◆ MutexInit()

void XmlUtils::MutexInit ( )

Definition at line 234 of file XmlUtils.cpp.

References uri_init().

Referenced by fetchUri().

◆ MutexLock()

void XmlUtils::MutexLock ( )

Definition at line 263 of file XmlUtils.cpp.

References url_mutex.

Referenced by creUriFile(), delUriFiles(), and getFileName().

◆ MutexUnlock()

void XmlUtils::MutexUnlock ( )

Definition at line 276 of file XmlUtils.cpp.

References url_mutex.

Referenced by creUriFile(), delUriFiles(), and getFileName().

◆ parseInt()

int XmlUtils::parseInt ( std::string  s,
int  radix = 10 
)

Definition at line 70 of file XmlUtils.cpp.

Referenced by Schema::SimpleType::setFacetValue().

◆ dbsp()

std::ostream & XmlUtils::dbsp ( std::ostream &  str)

Definition at line 103 of file XmlUtils.cpp.

Referenced by WsdlPull::Operation::print(), and WsdlPull::WsdlElement::print().

◆ blk()

std::ostream & XmlUtils::blk ( std::ostream &  str)

Definition at line 110 of file XmlUtils.cpp.

Referenced by WsdlPull::Operation::print().

◆ fetchUri()

bool WSDLPULL_EXPORT XmlUtils::fetchUri ( std::string  uri,
std::string &  path 
)

◆ acceptSecretKey()

std::string WSDLPULL_EXPORT XmlUtils::acceptSecretKey ( const std::string &  field)

Definition at line 434 of file XmlUtils.cpp.

Referenced by main().

◆ getProxy()

bool WSDLPULL_EXPORT XmlUtils::getProxy ( )

Definition at line 510 of file XmlUtils.cpp.

References g_bProxy.

Referenced by fetchUri(), and main().

◆ setProxy()

void WSDLPULL_EXPORT XmlUtils::setProxy ( const bool  bProxy)

Definition at line 517 of file XmlUtils.cpp.

References g_bProxy.

Referenced by main(), WsdlPull::WsdlInvoker::setCredentials(), and WsdlPull::WsdlInvoker::setProxy().

◆ getProxyHost()

std::string WSDLPULL_EXPORT XmlUtils::getProxyHost ( )

Definition at line 524 of file XmlUtils.cpp.

References g_sProxyHost.

Referenced by fetchUri(), and main().

◆ setProxyHost()

void WSDLPULL_EXPORT XmlUtils::setProxyHost ( const std::string &  sProxyHost)

Definition at line 531 of file XmlUtils.cpp.

References g_sProxyHost.

Referenced by main(), and WsdlPull::WsdlInvoker::setProxy().

◆ getProxyUser()

std::string WSDLPULL_EXPORT XmlUtils::getProxyUser ( )

Definition at line 538 of file XmlUtils.cpp.

References g_sProxyUser.

Referenced by fetchUri().

◆ setProxyUser()

void WSDLPULL_EXPORT XmlUtils::setProxyUser ( const std::string &  sProxyUser)

Definition at line 545 of file XmlUtils.cpp.

References g_sProxyUser.

Referenced by main(), and WsdlPull::WsdlInvoker::setCredentials().

◆ getProxyPass()

std::string WSDLPULL_EXPORT XmlUtils::getProxyPass ( )

Definition at line 552 of file XmlUtils.cpp.

References g_sProxyPass.

Referenced by fetchUri().

◆ setProxyPass()

void WSDLPULL_EXPORT XmlUtils::setProxyPass ( const std::string &  sProxyPass)

Definition at line 559 of file XmlUtils.cpp.

References g_sProxyPass.

Referenced by main(), and WsdlPull::WsdlInvoker::setCredentials().