1 // File: GeomAPI_Interface.hxx
2 // Created: 23 Apr 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef GeomAPI_Interface_HeaderFile
6 #define GeomAPI_Interface_HeaderFile
10 /**\class GeomAPI_Interface
12 * \brief General base class for all interfaces in this package
15 class GEOMAPI_EXPORT GeomAPI_Interface
18 void* myImpl; ///< pointer to the internal implementation object
21 /// None - constructor
24 /// Constructor by the implementation pointer (used for internal needs)
25 GeomAPI_Interface(void* theImpl);
28 virtual ~GeomAPI_Interface();
30 /// Returns the pointer to the implementation
31 void* implementation();
32 /// Updates the implementation (deletes the old one)
33 void setImplementation(void* theImpl);