Skip to content

Commit

Permalink
Some more #ifdef QGISDEBUG's
Browse files Browse the repository at this point in the history
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 7c71caf
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -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();
}
}
Expand All @@ -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);
}
}
Expand All @@ -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);
}
}
Expand All @@ -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);
}
}
Expand All @@ -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);
}
}
Expand All @@ -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);
Expand All @@ -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);
}
}
Expand Down Expand Up @@ -1683,7 +1703,9 @@ bool QgsWmsProvider::parseServiceExceptionReportDOM(QByteArray const & xml)

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

Expand Down

0 comments on commit 7c71caf

Please sign in to comment.