Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_Feature.h
diff --git
a/src/ModelAPI/ModelAPI_Feature.h
b/src/ModelAPI/ModelAPI_Feature.h
index fed0ea648f23df84e25a481634f6f71518b555c5..a6c51d0407958d4831cc29773cc8e127aec5e9d1 100644
(file)
--- a/
src/ModelAPI/ModelAPI_Feature.h
+++ b/
src/ModelAPI/ModelAPI_Feature.h
@@
-6,7
+6,7
@@
#define ModelAPI_Feature_H_
#include "ModelAPI_Object.h"
#define ModelAPI_Feature_H_
#include "ModelAPI_Object.h"
-#include "ModelAPI_
PluginManager
.h"
+#include "ModelAPI_
Session
.h"
#include <string>
#include <list>
#include <string>
#include <list>
@@
-59,6
+59,10
@@
class ModelAPI_Feature : public ModelAPI_Object
const int theIndex);
/// removes the result from the feature
MODELAPI_EXPORT void removeResult(const boost::shared_ptr<ModelAPI_Result>& theResult);
const int theIndex);
/// removes the result from the feature
MODELAPI_EXPORT void removeResult(const boost::shared_ptr<ModelAPI_Result>& theResult);
+ /// removes all results from the feature
+ MODELAPI_EXPORT void eraseResults();
+ /// removes all fields from this feature: results, data, etc
+ MODELAPI_EXPORT virtual void erase();
/// Returns true if result is persistent (stored in document) and on undo-redo, save-open
/// it is not needed to recompute it.
/// Returns true if result is persistent (stored in document) and on undo-redo, save-open
/// it is not needed to recompute it.