#include <ModelHighAPI_Dumper.h>
#include <ModelHighAPI_Tools.h>
-//==================================================================================================
+//================================================================================================
FeaturesAPI_Union::FeaturesAPI_Union(const std::shared_ptr<ModelAPI_Feature>& theFeature)
: ModelHighAPI_Interface(theFeature)
{
initialize();
}
-//==================================================================================================
+//================================================================================================
FeaturesAPI_Union::FeaturesAPI_Union(const std::shared_ptr<ModelAPI_Feature>& theFeature,
const std::list<ModelHighAPI_Selection>& theBaseObjects)
: ModelHighAPI_Interface(theFeature)
}
}
-//==================================================================================================
+//================================================================================================
FeaturesAPI_Union::~FeaturesAPI_Union()
{
FeaturePtr aBase = feature();
const std::string& aDocName = theDumper.name(aBase->document());
- AttributeSelectionListPtr anAttrObjects = aBase->selectionList(FeaturesPlugin_Union::BASE_OBJECTS_ID());
+ AttributeSelectionListPtr anAttrObjects =
+ aBase->selectionList(FeaturesPlugin_Union::BASE_OBJECTS_ID());
- theDumper << aBase << " = model.addUnion(" << aDocName << ", " << anAttrObjects << ")" << std::endl;
+ theDumper << aBase << " = model.addUnion(" << aDocName <<
+ ", " << anAttrObjects << ")" << std::endl;
}
//==================================================================================================