Salome HOME
Lines > 100 symbols length correction
authormpv <mpv@opencascade.com>
Fri, 17 Aug 2018 13:41:37 +0000 (16:41 +0300)
committermpv <mpv@opencascade.com>
Fri, 17 Aug 2018 13:41:52 +0000 (16:41 +0300)
src/GeomAPI/GeomAPI_Cone.h
src/Model/Model_Data.cpp
src/Model/Model_Objects.cpp
src/ModuleBase/ModuleBase_ITreeNode.h
src/PartSet/PartSet_TreeNodes.cpp

index 59e24956cb31dabf9b1077fa799ac2358d3d2f3a..bfc901debf51075fbe807357c33a455ce722a90f 100644 (file)
@@ -45,7 +45,8 @@ public:
                               const double theSemiAngle,
                               const double theRadius);
 
-  /// Creating of cone by location of reference circle, axis, semi-angle and radii of boundary circles
+  /// Creating of cone by location of reference circle, axis, semi-angle and
+  /// radii of boundary circles
   GEOMAPI_EXPORT GeomAPI_Cone(const std::shared_ptr<GeomAPI_Pnt>& theLocation,
                               const std::shared_ptr<GeomAPI_Dir>& theAxis,
                               const double theSemiAngle,
index 74f19ec71f3b4bb90ba4b8ceaccb51e57392fb78..d7d14ad8cae6bea66468270675810de020136356 100644 (file)
@@ -545,7 +545,8 @@ void Model_Data::updateConcealmentFlag()
       if (aFeature.get() && !aFeature->isDisabled() && aFeature->isStable()) {
         if (ModelAPI_Session::get()->validators()->isConcealed(
               aFeature->getKind(), (*aRefsIter)->id())) {
-          std::shared_ptr<ModelAPI_Result> aRes = std::dynamic_pointer_cast<ModelAPI_Result>(myObject);
+          std::shared_ptr<ModelAPI_Result> aRes =
+            std::dynamic_pointer_cast<ModelAPI_Result>(myObject);
           if (aRes.get()) {
             aRes->setIsConcealed(true); // set concealed
             return;
index 4c44977c41b3d8f083148b17bb27b4a59bd204a7..21120233efc24c06231694386b37440745599082 100644 (file)
@@ -589,7 +589,8 @@ ObjectPtr Model_Objects::object(TDF_Label theLabel)
         const std::list<ResultPtr>& aResults = aFeature->results();
         std::list<std::shared_ptr<ModelAPI_Result> >::const_iterator aRIter = aResults.cbegin();
         for(; aRIter != aResults.cend(); aRIter++) {
-          std::shared_ptr<Model_Data> aResData = std::dynamic_pointer_cast<Model_Data>((*aRIter)->data());
+          std::shared_ptr<Model_Data> aResData =
+            std::dynamic_pointer_cast<Model_Data>((*aRIter)->data());
           if (aResData->label().Father().IsEqual(aSubLab.ChangeValue())) {
             aCurrentResult = *aRIter;
             break;
index bf7c8bbcff49d792b20dec4c1c682d2891af9441..362dad470aa556b62e244e224f015ad2f3c54176 100644 (file)
@@ -58,7 +58,9 @@ public:
   virtual QVariant data(int theColumn, int theRole) const { return QVariant(); }
 
   /// Returns properties flag of the item
-  virtual Qt::ItemFlags flags(int theColumn) const { return Qt::ItemIsSelectable | Qt::ItemIsEnabled; }
+  virtual Qt::ItemFlags flags(int theColumn) const {
+    return Qt::ItemIsSelectable | Qt::ItemIsEnabled;
+  }
 
   /// Returns parent node of the current node
   ModuleBase_ITreeNode* parent() const { return myParent; }
@@ -121,7 +123,9 @@ public:
   /// Process creation of objects.
   /// \param theObjects a list of created objects
   /// \return a list of nodes which corresponds to the created objects
-  virtual QTreeNodesList objectCreated(const QObjectPtrList& theObjects) { return QTreeNodesList(); }
+  virtual QTreeNodesList objectCreated(const QObjectPtrList& theObjects) {
+    return QTreeNodesList();
+  }
 
   /// Process deletion of objects.
   /// \param theDoc a document where objects were deleted
index 5e642c691aba56927ddd26dbe083d0db2579e517..0c61b889d313d62d468df78039e14a93971a4dbc 100644 (file)
@@ -249,7 +249,8 @@ QTreeNodesList PartSet_ObjectNode::objectCreated(const QObjectPtrList& theObject
   return aResult;
 }
 
-QTreeNodesList PartSet_ObjectNode::objectsDeleted(const DocumentPtr& theDoc, const QString& theGroup)
+QTreeNodesList PartSet_ObjectNode::objectsDeleted(
+  const DocumentPtr& theDoc, const QString& theGroup)
 {
   QTreeNodesList aResult;
   ResultBodyPtr aCompRes = std::dynamic_pointer_cast<ModelAPI_ResultBody>(myObject);
@@ -1071,7 +1072,8 @@ void PartSet_ObjectFolderNode::getFirstAndLastIndex(int& theFirst, int& theLast)
 //  return aResult;
 //}
 //
-//QTreeNodesList PartSet_CompsolidNode::objectsDeleted(const DocumentPtr& theDoc, const QString& theGroup)
+//QTreeNodesList PartSet_CompsolidNode::objectsDeleted(
+//  const DocumentPtr& theDoc, const QString& theGroup)
 //{
 //  QTreeNodesList aResult;
 //  ResultCompSolidPtr aCompRes = std::dynamic_pointer_cast<ModelAPI_ResultCompSolid>(myObject);