Salome HOME
PR: mergefrom_PAL_OCC_21Oct04
[modules/kernel.git] / src / DataTypeCatalog / SALOME_DataTypeCatalog_Handler.cxx
index f9288bb398a795b751d3684d7a7b8a8803463ca5..47f8fb92dee049c515b2b9b0b68baf561bf84023 100644 (file)
@@ -1,14 +1,40 @@
-using namespace std;
-// File: SALOME_DataTypeCatalog_Handler.cxx
-// Created: Mon Aug 08 2001
-// Author: Estelle Deville
-// Project: SALOME
-// Copyright : CEA/DEN/DMSS/LGLS
-// $Header$
-
-#define WRITE_CATA_DATA_TYPE
+//  SALOME DataTypeCatalog : catalog of data types
+//
+//  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 
+//
+//
+//
+//  File   : SALOME_DataTypeCatalog_Handler.cxx
+//  Author : Estelle Deville
+//  Module : SALOME
+//  $Header$
+
 #include "SALOME_DataTypeCatalog_Handler.hxx"
 
+#include "utilities.h"
+
+using namespace std;
+
+// contains all the data types defined in the catalog
+ListOfParserDataType _datatypelist; 
+
 //----------------------------------------------------------------------
 // Function : SALOME_DataTypeCatalog_Handler
 // Purpose  : Constructor
@@ -114,7 +140,7 @@ bool SALOME_DataTypeCatalog_Handler::endElement(const QString&,
 //----------------------------------------------------------------------
 bool SALOME_DataTypeCatalog_Handler::characters(const QString& chars)
 {
-  content = chars ;
+  content = (const char*)chars ;
   return true;
 }