Salome HOME
registerNotObligatory is not necessary if this property is set in XML.
[modules/shaper.git] / src / ModuleBase / ModuleBase_ViewerPrs.h
index 71f2cd627da5cd1c1ccb8837ef76c5f4e4b14200..723a15fb6445e723648e197cbef92173c0acbb6d 100644 (file)
@@ -101,14 +101,7 @@ class ModuleBase_ViewerPrs
 
   /// Returns True if the current object is equal to the given one
   /// \param thePrs an object to compare
-  MODULEBASE_EXPORT bool operator==(const ModuleBase_ViewerPrs& thePrs)
-  {
-    bool aResult = (myResult.get() == thePrs.object().get());
-    bool aOwner = (myOwner.Access() == thePrs.owner().Access());
-    bool aShape = myShape.IsEqual(thePrs.shape()) == Standard_True;
-    bool aIO = (myInteractive == thePrs.interactive()) == Standard_True;
-    return aResult && aOwner && aShape && aIO;
-  }
+  MODULEBASE_EXPORT bool operator==(const ModuleBase_ViewerPrs& thePrs);
 
  private:
   ObjectPtr myResult;  /// the feature