[opengtl-commits] [289] add a different operator for PixelDescription

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 289
Author:   cyrille
Date:     2008-07-02 00:19:27 +0200 (Wed, 02 Jul 2008)

Log Message:
-----------
add a different operator for PixelDescription

Modified Paths:
--------------
    trunk/OpenGTL/OpenGTL/GTLCore/PixelDescription.cpp
    trunk/OpenGTL/OpenGTL/GTLCore/PixelDescription.h


Modified: trunk/OpenGTL/OpenGTL/GTLCore/PixelDescription.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/PixelDescription.cpp	2008-07-01 22:18:47 UTC (rev 288)
+++ trunk/OpenGTL/OpenGTL/GTLCore/PixelDescription.cpp	2008-07-01 22:19:27 UTC (rev 289)
@@ -136,3 +136,8 @@
     return true;
   }
 }
+
+bool PixelDescription::operator!=( const PixelDescription& _rhs ) const
+{
+  return not ( *this == _rhs );
+}

Modified: trunk/OpenGTL/OpenGTL/GTLCore/PixelDescription.h
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/PixelDescription.h	2008-07-01 22:18:47 UTC (rev 288)
+++ trunk/OpenGTL/OpenGTL/GTLCore/PixelDescription.h	2008-07-01 22:19:27 UTC (rev 289)
@@ -63,6 +63,7 @@
       int bitsSize() const;
       bool operator<( const PixelDescription& _rhs ) const;
       bool operator==( const PixelDescription& _rhs ) const;
+      bool operator!=( const PixelDescription& _rhs ) const;
     private:
       struct Private;
       Private* const d;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/