]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To improve structures naming
authorapo <apo@opencascade.com>
Fri, 12 Aug 2005 10:21:08 +0000 (10:21 +0000)
committerapo <apo@opencascade.com>
Fri, 12 Aug 2005 10:21:08 +0000 (10:21 +0000)
src/CONVERTOR/VISU_Convertor.hxx

index 926cf7cedd8b7bb0610427e867a011e50a8751de..ab518de3823d2ee665ade0b27bad6f5cd87da18c 100644 (file)
@@ -83,7 +83,9 @@ namespace VISU
   struct TValForTime;
   typedef SharedPtr<TValForTime> PValForTime;
 
-  typedef TVector<std::string> TNames;
+  typedef std::string TName;
+
+  typedef TVector<TName> TNames;
 
 
   //---------------------------------------------------------------
@@ -106,13 +108,13 @@ namespace VISU
 
   //---------------------------------------------------------------
   typedef std::map<TEntity,PMeshOnEntity> TMeshOnEntityMap;
-  typedef std::map<std::string,PGroup> TGroupMap;
+  typedef std::map<TName,PGroup> TGroupMap;
 
   struct TMesh: virtual TBaseStructure
   {
     TMeshOnEntityMap myMeshOnEntityMap;
     TGroupMap myGroupMap;
-    std::string myName;
+    TName myName;
     int myDim;
 
     TMesh(): myDim(0)
@@ -169,8 +171,8 @@ namespace VISU
 
   //---------------------------------------------------------------
 
-  typedef std::map<std::string,PFamily> TFamilyMap;
-  typedef std::map<std::string,PField> TFieldMap;
+  typedef std::map<TName,PFamily> TFamilyMap;
+  typedef std::map<TName,PField> TFieldMap;
 
   struct TMeshOnEntity: virtual TBaseStructure
   {
@@ -180,30 +182,24 @@ namespace VISU
     TFamilyMap myFamilyMap;
     TFieldMap myFieldMap;
 
-    std::string myMeshName;
+    TName myMeshName;
     TEntity myEntity;
   };
 
 
   //---------------------------------------------------------------
-  typedef std::set<std::string> TBindGroups;
-
   struct TFamily: virtual TIntId
   {
-    TBindGroups myGroups;
-    std::string myName;
     TEntity myEntity;
   };
 
 
   //---------------------------------------------------------------
-  typedef std::pair<std::string,TEntity> TFamilyAndEntity;
+  typedef std::pair<TName,TEntity> TFamilyAndEntity;
   typedef std::set<TFamilyAndEntity> TFamilyAndEntitySet;
 
   struct TGroup: virtual TBaseStructure
   {
-    std::string myName;
-    std::string myMeshName;
     TFamilyAndEntitySet myFamilyAndEntitySet;
   };
 
@@ -214,8 +210,8 @@ namespace VISU
   struct TField: virtual TIntId
   {
     TEntity myEntity;
-    std::string myName;
-    std::string myMeshName;
+    TName myName;
+    TName myMeshName;
     TValField myValField;
     TNames myCompNames;
     TNames myUnitNames;
@@ -232,8 +228,8 @@ namespace VISU
   struct TValForTime: virtual TIntId
   {
     TEntity myEntity;
-    std::string myMeshName;
-    std::string myFieldName;
+    TName myMeshName;
+    TName myFieldName;
     TTime myTime;
     
     PProfile myProfile;