Skip to content
Permalink
Browse files
Some more #ifdef QGISDEBUG's
git-svn-id: http://svn.osgeo.org/qgis/trunk@5368 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Apr 24, 2006
1 parent 741601f commit 7c71cafffdb5ed1cd4e7d57d1d508feadca7bbc0
Showing with 22 additions and 0 deletions.
  1. +22 −0 src/providers/wms/qgswmsprovider.cpp
@@ -1169,7 +1169,9 @@ void QgsWmsProvider::parseKeywordList(QDomElement const & e, QStringList& keywo
if( !e1.isNull() ) {
if (e1.tagName() == "Keyword")
{
#ifdef QGISDEBUG
std::cout << " Keyword." << std::endl;
#endif
keywordListProperty += e1.text();
}
}
@@ -1194,7 +1196,9 @@ void QgsWmsProvider::parseGet(QDomElement const & e, QgsWmsGetProperty& getPrope
if( !e1.isNull() ) {
if (e1.tagName() == "OnlineResource")
{
#ifdef QGISDEBUG
std::cout << " OnlineResource." << std::endl;
#endif
parseOnlineResource(e1, getProperty.onlineResource);
}
}
@@ -1219,7 +1223,9 @@ void QgsWmsProvider::parsePost(QDomElement const & e, QgsWmsPostProperty& postPr
if( !e1.isNull() ) {
if (e1.tagName() == "OnlineResource")
{
#ifdef QGISDEBUG
std::cout << " OnlineResource." << std::endl;
#endif
parseOnlineResource(e1, postProperty.onlineResource);
}
}
@@ -1244,12 +1250,16 @@ void QgsWmsProvider::parseHttp(QDomElement const & e, QgsWmsHttpProperty& httpPr
if( !e1.isNull() ) {
if (e1.tagName() == "Get")
{
#ifdef QGISDEBUG
std::cout << " Get." << std::endl;
#endif
parseGet(e1, httpProperty.get);
}
else if (e1.tagName() == "Post")
{
#ifdef QGISDEBUG
std::cout << " Post." << std::endl;
#endif
parsePost(e1, httpProperty.post);
}
}
@@ -1274,7 +1284,9 @@ void QgsWmsProvider::parseDcpType(QDomElement const & e, QgsWmsDcpTypeProperty&
if( !e1.isNull() ) {
if (e1.tagName() == "HTTP")
{
#ifdef QGISDEBUG
std::cout << " HTTP." << std::endl;
#endif
parseHttp(e1, dcpType.http);
}
}
@@ -1299,12 +1311,16 @@ void QgsWmsProvider::parseOperationType(QDomElement const & e, QgsWmsOperationTy
if( !e1.isNull() ) {
if (e1.tagName() == "Format")
{
#ifdef QGISDEBUG
std::cout << " Format." << std::endl;
#endif
operationType.format += e1.text();
}
else if (e1.tagName() == "DCPType")
{
#ifdef QGISDEBUG
std::cout << " DCPType." << std::endl;
#endif
QgsWmsDcpTypeProperty dcp;
parseDcpType(e1, dcp);
operationType.dcpType.push_back(dcp);
@@ -1331,12 +1347,16 @@ void QgsWmsProvider::parseRequest(QDomElement const & e, QgsWmsRequestProperty&
if( !e1.isNull() ) {
if (e1.tagName() == "GetMap")
{
#ifdef QGISDEBUG
std::cout << " GetMap." << std::endl;
#endif
parseOperationType(e1, requestProperty.getMap);
}
else if (e1.tagName() == "GetFeatureInfo")
{
#ifdef QGISDEBUG
std::cout << " GetFeatureInfo." << std::endl;
#endif
parseOperationType(e1, requestProperty.getFeatureInfo);
}
}
@@ -1683,7 +1703,9 @@ bool QgsWmsProvider::parseServiceExceptionReportDOM(QByteArray const & xml)

if (e.tagName() == "ServiceException")
{
#ifdef QGISDEBUG
std::cout << " ServiceException." << std::endl;
#endif
parseServiceException(e);
}

0 comments on commit 7c71caf

Please sign in to comment.