* \brief General base class for all interfaces in this package
*/
-class GEOMAPI_EXPORT GeomAPI_Interface
+class GeomAPI_Interface
{
private:
std::shared_ptr<void> myImpl; ///< pointer to the internal impl object
public:
/// None - constructor
- GeomAPI_Interface();
+ GEOMAPI_EXPORT GeomAPI_Interface();
/// Constructor by the impl pointer (used for internal needs)
template<class T> explicit GeomAPI_Interface(T* theImpl)
}
/// Destructor
- virtual ~GeomAPI_Interface();
+ GEOMAPI_EXPORT virtual ~GeomAPI_Interface();
/// Returns the pointer to the impl
template<class T> inline T* implPtr()
myImpl.reset(theImpl);
}
- // Returns true if the impl is empty
- bool empty() const;
+ /// Returns true if the impl is empty
+ GEOMAPI_EXPORT bool empty() const;
};
#endif