Salome HOME
ADD a end user module (services.py) to help the manipulation of SALOME KERNEL service...
[modules/kernel.git] / src / ModuleCatalog / SALOME_ModuleCatalog_Parser_IO.cxx
index 4864f32a451ca8acf5cc713840ae91c1e9e022c8..4e4e71618aaeca9595a3d20c946f8ffd4a5b4c63 100644 (file)
@@ -1,34 +1,34 @@
-
-//  SALOME ModuleCatalog : implementation of ModuleCatalog server which parsers xml description of modules
+// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
+//
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// 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.
 //
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// 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
 //
+
+//  SALOME ModuleCatalog : implementation of ModuleCatalog server which parsers xml description of modules
 //  File   : SALOME_ModuleCatalog_Parser_IO.cxx
 //  Author : Estelle Deville
 //  Module : SALOME
 //  $Header$
-
+//
 #include "SALOME_ModuleCatalog_Parser_IO.hxx"
 #include <string>
+#include <iostream>
 #include "utilities.h"
 
 std::ostream & operator<< (std::ostream & f, const ParserParameter & P)
@@ -39,7 +39,7 @@ std::ostream & operator<< (std::ostream & f, const ParserParameter & P)
 }
 
 std::ostream & operator<< (std::ostream & f, 
-                          const ParserDataStreamParameter & P)
+                           const ParserDataStreamParameter & P)
 {
   f << "          name :       " << P.name << std::endl;
   f << "          type :       " << P.type << std::endl;
@@ -48,7 +48,7 @@ std::ostream & operator<< (std::ostream & f,
 }
 
 std::ostream & operator<< (std::ostream & f, 
-                          const ParserService & S)
+                           const ParserService & S)
 {
   int i, n;
   f << "      name :       " << S.name << std::endl;
@@ -83,7 +83,7 @@ std::ostream & operator<< (std::ostream & f,
 }
 
 std::ostream & operator<< (std::ostream & f, 
-                          const ParserInterface & I)
+                           const ParserInterface & I)
 {
   int j, n;
   f << "    name :       " << I.name << std::endl;
@@ -99,7 +99,7 @@ std::ostream & operator<< (std::ostream & f,
 }
 
 std::ostream & operator<< (std::ostream & f, 
-                          const  ParserComponentType & T)
+                           const  ParserComponentType & T)
 {
   std::string s;
   switch (T) {
@@ -117,7 +117,7 @@ std::ostream & operator<< (std::ostream & f,
 }
 
 std::ostream & operator<< (std::ostream & f, 
-                          const ParserComponent & C)
+                           const ParserComponent & C)
 {
   int j, n;
   f << std::endl