Salome HOME
Updated copyright comment
[modules/gui.git] / src / TreeData / DataModel.hxx
index 1125216783679dd22ac65820dc085c9cb146e700..51adf6d79c2490f98ab46a570d906a7f18d98a5f 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 //
 // 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.
+// 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
@@ -47,16 +47,16 @@ public:
   /*! Function to add data object to the model */
   bool addDataObject(DataObject * dataObject);
   /*! Functions to remove data object from the model */
-  bool removeDataObject(string nameId);
+  bool removeDataObject(std::string nameId);
   bool removeDataObject(DataObject * dataObject);
   /*! Function to retrieve a data object in the model */
-  DataObject * getDataObject(string nameId);
+  DataObject * getDataObject(std::string nameId);
 
-  map<string, DataObject *>::iterator begin();
-  map<string, DataObject *>::iterator end();
+  std::map<std::string, DataObject *>::iterator begin();
+  std::map<std::string, DataObject *>::iterator end();
 
 private:
-  map<string, DataObject *> _mapDataObjects;
+  std::map<std::string, DataObject *> _mapDataObjects;
   
 
 };