"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/providers/wms/qgswmscapabilities.h" between
QGIS-final-3_14_15.tar.gz and QGIS-final-3_14_16.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Latest release (3.14.x series).

qgswmscapabilities.h  (QGIS-final-3_14_15):qgswmscapabilities.h  (QGIS-final-3_14_16)
skipping to change at line 206 skipping to change at line 206
QDateTime start = QDateTime::fromString( extentContent.at( 0 ), Qt::ISODat eWithMs ); QDateTime start = QDateTime::fromString( extentContent.at( 0 ), Qt::ISODat eWithMs );
QDateTime end = QDateTime::fromString( extentContent.at( extentSize - 2 ), Qt::ISODateWithMs ); QDateTime end = QDateTime::fromString( extentContent.at( extentSize - 2 ), Qt::ISODateWithMs );
if ( start.isValid() & end.isValid() ) if ( start.isValid() & end.isValid() )
return QgsDateTimeRange( start, end ); return QgsDateTimeRange( start, end );
} }
return QgsDateTimeRange(); return QgsDateTimeRange();
} }
bool operator== ( const QgsWmsDimensionProperty &other ) const
{
return name == other.name && units == other.units &&
unitSymbol == other.unitSymbol && defaultValue == other.defaultValue
&&
extent == other.extent && multipleValues == other.multipleValues &&
nearestValue == other.nearestValue && current == other.current;
}
}; };
//! Logo URL Property structure //! Logo URL Property structure
// TODO: Fill to WMS specifications // TODO: Fill to WMS specifications
struct QgsWmsLogoUrlProperty struct QgsWmsLogoUrlProperty
{ {
QString format; QString format;
QgsWmsOnlineResourceAttribute onlineResource; QgsWmsOnlineResourceAttribute onlineResource;
int width; int width;
skipping to change at line 349 skipping to change at line 358
// TODO need to expand this to cover more of layer properties // TODO need to expand this to cover more of layer properties
bool equal( const QgsWmsLayerProperty &layerProperty ) bool equal( const QgsWmsLayerProperty &layerProperty )
{ {
if ( !( name == layerProperty.name ) ) if ( !( name == layerProperty.name ) )
return false; return false;
if ( !( title == layerProperty.title ) ) if ( !( title == layerProperty.title ) )
return false; return false;
if ( !( abstract == layerProperty.abstract ) ) if ( !( abstract == layerProperty.abstract ) )
return false; return false;
if ( !( dimensions == layerProperty.dimensions ) )
return false;
return true; return true;
} }
/** /**
* Returns true if it the struct has the dimension with the passed name * Returns true if it the struct has the dimension with the passed name
*/ */
bool hasDimension( QString dimensionName ) const bool hasDimension( QString dimensionName ) const
{ {
if ( dimensions.isEmpty() ) if ( dimensions.isEmpty() )
 End of changes. 2 change blocks. 
0 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)