From 73e3bd652ade77a66e39213d12e3a967c5a3754e Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 12 Aug 2005 10:21:08 +0000 Subject: [PATCH] To improve structures naming --- src/CONVERTOR/VISU_Convertor.hxx | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/src/CONVERTOR/VISU_Convertor.hxx b/src/CONVERTOR/VISU_Convertor.hxx index 926cf7ce..ab518de3 100644 --- a/src/CONVERTOR/VISU_Convertor.hxx +++ b/src/CONVERTOR/VISU_Convertor.hxx @@ -83,7 +83,9 @@ namespace VISU struct TValForTime; typedef SharedPtr PValForTime; - typedef TVector TNames; + typedef std::string TName; + + typedef TVector TNames; //--------------------------------------------------------------- @@ -106,13 +108,13 @@ namespace VISU //--------------------------------------------------------------- typedef std::map TMeshOnEntityMap; - typedef std::map TGroupMap; + typedef std::map 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 TFamilyMap; - typedef std::map TFieldMap; + typedef std::map TFamilyMap; + typedef std::map 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 TBindGroups; - struct TFamily: virtual TIntId { - TBindGroups myGroups; - std::string myName; TEntity myEntity; }; //--------------------------------------------------------------- - typedef std::pair TFamilyAndEntity; + typedef std::pair TFamilyAndEntity; typedef std::set 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; -- 2.39.2