Salome HOME
updated copyright message
[modules/gui.git] / src / TreeData / Test / MyDataModel.cxx
index dc5e51f5d2e51ce52fbb3da85a4272cc0e701b88..6d8b4e9279d13b8bfe3dcee4a7c240f262ece69b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  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
@@ -25,9 +25,9 @@
 // =================================================================
 //
 
-const string MyDataObject::PROPERTY_KEY_TYPE    = "type";
-const string MyDataObject::PROPERTY_KEY_CIRCUIT ="circuit";
-const string MyDataObject::PROPERTY_KEY_REPFONC ="rf";
+const std::string MyDataObject::PROPERTY_KEY_TYPE    = "type";
+const std::string MyDataObject::PROPERTY_KEY_CIRCUIT ="circuit";
+const std::string MyDataObject::PROPERTY_KEY_REPFONC ="rf";
 
 MyDataObject::MyDataObject() : DataObject() {
   this->setProperty(PROPERTY_KEY_TYPE, "Tuyauterie");
@@ -38,15 +38,15 @@ MyDataObject::MyDataObject() : DataObject() {
 /*! This function specified the localization of the object in the
  * hierarchical organization
  */
-string MyDataObject::getPath() {
+std::string MyDataObject::getPath() {
   // We choose here a convention for organizing the path for this
   // class of object.
   /*
-  string path = getProperty(PROPERTY_KEY_CIRCUIT) + pathsep
+  std::string path = getProperty(PROPERTY_KEY_CIRCUIT) + pathsep
     + getProperty(PROPERTY_KEY_REPFONC) + pathsep
     + getProperty(PROPERTY_KEY_TYPE);
   */
-  string path = getProperty(PROPERTY_KEY_TYPE) + pathsep
+  std::string path = getProperty(PROPERTY_KEY_TYPE) + pathsep
     + getProperty(PROPERTY_KEY_CIRCUIT) + pathsep
     + getProperty(PROPERTY_KEY_REPFONC);