Salome HOME
ImportFromFile()
[modules/hydro.git] / src / HYDROData / HYDROData_ShapesGroup.h
index 56bed37c3cd04fa652007831c6f8705624c17f75..db2a29ea4d4af497f395be5be985b2c6724380eb 100644 (file)
@@ -1,3 +1,20 @@
+// Copyright (C) 2014-2015  EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 #ifndef HYDROData_ShapesGroup_HeaderFile
 #define HYDROData_ShapesGroup_HeaderFile
@@ -32,6 +49,11 @@ public:
     static void Update( NCollection_Sequence<GroupDefinition>* theGroupsDefs,
                         ShapeUpgrade_UnifySameDomain*          theAlgo );
 
+    void        Dump( std::ostream& theStream ) const;
+
+    static void Dump( std::ostream&                                theStream,
+                      const NCollection_Sequence<GroupDefinition>& theGroups );
+
     TCollection_AsciiString            Name;
     TopTools_SequenceOfShape           Shapes;
   };