#include <ModelHighAPI_Reference.h>
#include <ModelHighAPI_Tools.h>
+//=================================================================================================
FeaturesAPI_Recover::FeaturesAPI_Recover(const std::shared_ptr<ModelAPI_Feature>& theFeature)
: ModelHighAPI_Interface(theFeature)
{
initialize();
}
+//=================================================================================================
FeaturesAPI_Recover::FeaturesAPI_Recover(const std::shared_ptr<ModelAPI_Feature>& theFeature,
const ModelHighAPI_Reference& theBaseFeature,
const std::list<ModelHighAPI_Selection>& theRecoveredList, const bool thePersistent)
}
}
+//=================================================================================================
FeaturesAPI_Recover::~FeaturesAPI_Recover()
{}
+//=================================================================================================
void FeaturesAPI_Recover::setBaseFeature(const ModelHighAPI_Reference& theBaseFeature)
{
fillAttribute(theBaseFeature, mybaseFeature);
// do not need to execute because on attribute changed it does everything anyway
}
+//=================================================================================================
void FeaturesAPI_Recover::setRecoveredList(const std::list<ModelHighAPI_Selection>& theRecoverList)
{
fillAttribute(theRecoverList, myrecoveredList);
// do not need to execute because on attribute changed it does everything anyway
}
+//=================================================================================================
void FeaturesAPI_Recover::setIsPersistent(bool thePersistent)
{
fillAttribute(thePersistent, myisPersistent);
// do not need to execute because on attribute changed it does everything anyway
}
+//=================================================================================================
RecoverPtr addRecover(const std::shared_ptr<ModelAPI_Document>& thePart,
const ModelHighAPI_Reference& theBaseFeature,
const std::list<ModelHighAPI_Selection>& theRecoveredList, const bool thePersistent)