Salome HOME
[PythonAPI] Use _fillAttribute() in some sketch functions
[modules/shaper.git] / src / GeomAPI / GeomAPI_Interface.cpp
index 1ee1a621303a50828488368e10cd906e1d25b67a..05f182755a14a68d0b4d21a169aa49bc3ae4b7a4 100644 (file)
@@ -8,23 +8,15 @@
 
 GeomAPI_Interface::GeomAPI_Interface()
 {
-  myImpl = 0;
-}
 
-GeomAPI_Interface::GeomAPI_Interface(void* theImpl)
-{
-  myImpl = theImpl;
 }
 
 GeomAPI_Interface::~GeomAPI_Interface()
 {
-  if (myImpl)
-    delete myImpl;
+
 }
 
-void GeomAPI_Interface::setImpl(void* theImpl)
+bool GeomAPI_Interface::empty() const
 {
-  if (myImpl)
-    delete myImpl;
-  myImpl = theImpl;
+  return myImpl.get() == 0;
 }