20 #ifndef FeaturesAPI_Recover_H_
21 #define FeaturesAPI_Recover_H_
23 #include "FeaturesAPI.h"
25 #include <FeaturesPlugin_Recover.h>
27 #include <ModelHighAPI_Interface.h>
28 #include <ModelHighAPI_Macro.h>
47 const std::list<ModelHighAPI_Selection>& theRecoveredList,
48 const bool theRecoverCompound =
false);
82 const
bool theRecoverCompound = false);
Interface for Recover feature.
Definition: FeaturesAPI_Recover.h:37
void setRecoveredList(const std::list< ModelHighAPI_Selection > &theRecoverList)
Set recovered list of the base feature.
Definition: FeaturesAPI_Recover.cpp:63
FeaturesAPI_Recover(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: FeaturesAPI_Recover.cpp:27
void setBaseFeature(const ModelHighAPI_Reference &theBaseFeature)
Set base feature.
Definition: FeaturesAPI_Recover.cpp:55
virtual std::shared_ptr< ModelAPI_AttributeReference > baseFeature() const
Concealed feature.
Definition: FeaturesAPI_Recover.h:58
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: FeaturesAPI_Recover.cpp:70
virtual std::shared_ptr< ModelAPI_AttributeRefList > recoveredList() const
Recover list.
Definition: FeaturesAPI_Recover.h:58
virtual ~FeaturesAPI_Recover()
Destructor.
Definition: FeaturesAPI_Recover.cpp:51
static const std::string & BASE_FEATURE()
Attribute name of base feature.
Definition: FeaturesPlugin_Recover.h:51
static const std::string & ID()
Extrusion kind.
Definition: FeaturesPlugin_Recover.h:45
static const std::string & RECOVERED_ENTITIES()
Attribute name of recovered results list.
Definition: FeaturesPlugin_Recover.h:58
Attribute that contains list of references to features (located in the same document).
Definition: ModelAPI_AttributeRefList.h:33
Attribute that contains reference to feature (located in the same document).
Definition: ModelAPI_AttributeReference.h:32
Document for internal data structure of any object storage.
Definition: ModelAPI_Document.h:52
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:42
Class for filling ModelAPI_AttributeReference.
Definition: ModelHighAPI_Reference.h:41
Class for filling ModelAPI_AttributeSelection.
Definition: ModelHighAPI_Selection.h:49
RecoverPtr addRecover(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Reference &theBaseFeature, const std::list< ModelHighAPI_Selection > &theRecoveredList, const bool theRecoverCompound=false)
Create Recover feature.
Definition: FeaturesAPI_Recover.cpp:94