[Marble-devel] Review Request 116553: Equality operators for GeoDataPoint, GeoDataLineString, GeoDataLinearRing, GeoDataPolygon

Cruceru Calin-Cristian crucerucalincristian at gmail.com
Wed Mar 5 17:19:46 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116553/
-----------------------------------------------------------

(Updated March 5, 2014, 5:19 p.m.)


Status
------

This change has been marked as submitted.


Review request for Marble.


Bugs: 331672
    http://bugs.kde.org/show_bug.cgi?id=331672


Repository: marble


Description
-------

Adds a protected method bool equals(GeoDataGeometry &other) const; to GeoDataGeometry and makes possible to check for equality using operator== for the classes mentioned in the Summary.
Also added a testing function for each of the classes in tests/TestEquality.cpp and it passes all the tests.


Diffs
-----

  src/lib/marble/geodata/data/GeoDataGeometry.h 0212a45 
  src/lib/marble/geodata/data/GeoDataGeometry.cpp c09ba04 
  src/lib/marble/geodata/data/GeoDataLineString.h b86fa07 
  src/lib/marble/geodata/data/GeoDataLineString.cpp 3b60ed2 
  src/lib/marble/geodata/data/GeoDataLinearRing.h 644dfd7 
  src/lib/marble/geodata/data/GeoDataLinearRing.cpp b4fa3f5 
  src/lib/marble/geodata/data/GeoDataPoint.h 1a61ca8 
  src/lib/marble/geodata/data/GeoDataPoint.cpp aa595c0 
  src/lib/marble/geodata/data/GeoDataPolygon.h c7071bf 
  src/lib/marble/geodata/data/GeoDataPolygon.cpp 5007ab9 
  tests/TestEquality.cpp d32a771 

Diff: https://git.reviewboard.kde.org/r/116553/diff/


Testing
-------

As I said above, I tested it using TestEquality and it works as expected.


Thanks,

Cruceru Calin-Cristian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20140305/2a9f0d27/attachment.html>


More information about the Marble-devel mailing list