]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ExchangeAPI/ExchangeAPI_Import.cpp
Salome HOME
Issue #1834: Fix length of lines
[modules/shaper.git] / src / ExchangeAPI / ExchangeAPI_Import.cpp
index cf8b40089326b9e928d4b4d54051d8b104224de6..12b987f4af09950d272d00784bcaf4bc0dcebb09 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // Name   : ExchangeAPI_Import.cpp
 // Purpose: 
 //
@@ -62,11 +64,13 @@ void ExchangeAPI_Import::dump(ModelHighAPI_Dumper& theDumper) const
   // to make import have results
   theDumper << "model.do()" << std::endl;
 
-  CompositeFeaturePtr aCompositeFeature = std::dynamic_pointer_cast<ModelAPI_CompositeFeature>(aBase);
+  CompositeFeaturePtr aCompositeFeature = 
+    std::dynamic_pointer_cast<ModelAPI_CompositeFeature>(aBase);
   if(aCompositeFeature.get()) {
     int aNbOfSubs = aCompositeFeature->numberOfSubs();
     for(int anIndex = 0; anIndex < aNbOfSubs; ++anIndex) {
-      std::string aSubFeatureGet = theDumper.name(aBase) + ".subFeature(" + std::to_string((long long)anIndex) + ")";
+      std::string aSubFeatureGet = 
+        theDumper.name(aBase) + ".subFeature(" + std::to_string((long long)anIndex) + ")";
       theDumper.dumpSubFeatureNameAndColor(aSubFeatureGet, aCompositeFeature->subFeature(anIndex));
     }
   }