20 #ifndef PartSetPlugin_Remove_H_
21 #define PartSetPlugin_Remove_H_
23 #include "PartSetPlugin.h"
24 #include <ModelAPI_Feature.h>
34 inline static const std::string&
ID()
36 static const std::string MY_REMOVE_KIND(
"Remove");
37 return MY_REMOVE_KIND;
41 PARTSETPLUGIN_EXPORT
virtual const std::string&
getKind()
48 PARTSETPLUGIN_EXPORT
virtual const std::string&
getGroup()
50 static std::string MY_GROUP =
"Parts";
67 PARTSETPLUGIN_EXPORT
virtual void execute();
Feature function that represents the particular functionality of this operation.
Definition: ModelAPI_Feature.h:39
Feature for creation of the new part in PartSet.
Definition: PartSetPlugin_Remove.h:31
virtual const std::string & getGroup()
Returns to which group in the document must be added feature.
Definition: PartSetPlugin_Remove.h:48
virtual void execute()
Performs the "remove".
Definition: PartSetPlugin_Remove.cpp:34
virtual const std::string & getKind()
Returns the kind of a feature.
Definition: PartSetPlugin_Remove.h:41
virtual bool isAction()
Not normal feature that stored in the tree.
Definition: PartSetPlugin_Remove.h:61
virtual void initAttributes()
Request for initialization of data model of the feature: adding all attributes.
Definition: PartSetPlugin_Remove.h:55
static const std::string & ID()
Remove kind.
Definition: PartSetPlugin_Remove.h:34
PartSetPlugin_Remove()
Use plugin manager for features creation.
Definition: PartSetPlugin_Remove.h:70