%shared_ptr(ModelAPI_ResultBody)
%shared_ptr(ModelAPI_ResultPart)
-// Don't create default constructors
-// %nodefaultctor ModelAPI_Plugin;
-// %nodefaultctor ModelAPI_Session;
-
// all supported interfaces
%include "GeomAPI_Interface.h"
%include "GeomAPI_Shape.h"
virtual ~ModelAPI_Plugin()
{
}
-
- protected:
- /// Is needed for python wrapping by swig
- ModelAPI_Plugin()
- {
- }
};
#endif
/// Manager that will be initialized from Model package, one per application
boost::shared_ptr<ModelAPI_Session> MY_MANAGER;
-ModelAPI_Session::ModelAPI_Session()
-{
-}
-
void ModelAPI_Session::setSession(boost::shared_ptr<ModelAPI_Session> theManager)
{
MY_MANAGER = theManager;
/// Returns the validators factory: the only one instance per application
virtual ModelAPI_ValidatorsFactory* validators() = 0;
- /// Is needed for python wrapping by swig, call Get to get an instance
- ModelAPI_Session();
-
/// To virtually destroy the fields of successors
virtual ~ModelAPI_Session()
{