Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
658c72b
)
PAL7222: Now names of families will contain names of corresponding groups
author
jfa
<jfa@opencascade.com>
Mon, 7 Feb 2005 12:09:07 +0000
(12:09 +0000)
committer
jfa
<jfa@opencascade.com>
Mon, 7 Feb 2005 12:09:07 +0000
(12:09 +0000)
src/DriverMED/DriverMED_Family.cxx
patch
|
blob
|
history
diff --git
a/src/DriverMED/DriverMED_Family.cxx
b/src/DriverMED/DriverMED_Family.cxx
index 0484569e5eda857d51dd3690aec74f0157e7102d..2115c4e8bfce0eac2672f2c86d89deae9442c4a8 100644
(file)
--- a/
src/DriverMED/DriverMED_Family.cxx
+++ b/
src/DriverMED/DriverMED_Family.cxx
@@
-211,9
+211,18
@@
DriverMED_Family::GetFamilyInfo(const MED::PWrapper& theWrapper,
const MED::PMeshInfo& theMeshInfo) const
{
string aValue;
const MED::PMeshInfo& theMeshInfo) const
{
string aValue;
+
ostringstream aStr;
ostringstream aStr;
- aStr << myId;
+
+ aStr << "FAM_" << myId;
+ set<string>::iterator aGrIter = myGroupNames.begin();
+ for (; aGrIter != myGroupNames.end(); aGrIter++)
+ {
+ aStr << "_" << *aGrIter;
+ }
+
aValue = aStr.str();
aValue = aStr.str();
+
MED::TStringVector anAttrDescs (1, ""); // 1 attribute with empty description,
MED::TIntVector anAttrIds (1, myId); // Id=0,
MED::TIntVector anAttrVals (1, myId); // Value=0
MED::TStringVector anAttrDescs (1, ""); // 1 attribute with empty description,
MED::TIntVector anAttrIds (1, myId); // Id=0,
MED::TIntVector anAttrVals (1, myId); // Value=0