string aValue = aStr.str();
// PAL19785,0019867 - med forbids whitespace to be the last char in the name
int maxSize;
- if ( theWrapper->GetVersion() == MED::eV2_1 )
- maxSize = MED::GetNOMLength<MED::eV2_1>();
- else
+// if ( theWrapper->GetVersion() == MED::eV2_1 )
+// maxSize = MED::GetNOMLength<MED::eV2_1>();
+// else
maxSize = MED::GetNOMLength<MED::eV2_2>();
int lastCharPos = min( maxSize, (int) aValue.size() ) - 1;
while ( isspace( aValue[ lastCharPos ] ))
{
TInt majeur, mineur, release;
majeur = mineur = release = 0;
- if ( theVersion == eV2_1 )
- MED::GetVersionRelease<eV2_1>(majeur, mineur, release);
- else
+// if ( theVersion == eV2_1 )
+// MED::GetVersionRelease<eV2_1>(majeur, mineur, release);
+// else
MED::GetVersionRelease<eV2_2>(majeur, mineur, release);
ostringstream name;
if ( theNbDigits > 0 )
libMeshDriverMED_la_LDFLAGS = \
$(BOOST_LIBS) \
../Driver/libMeshDriver.la \
- $(MED_LDFLAGS) -lMEDWrapper -lMEDWrapperBase -lMEDWrapper_V2_1 -lMEDWrapper_V2_2
+ $(MED_LDFLAGS) -lMEDWrapper -lMEDWrapperBase -lMEDWrapper_V2_2
MED_Test_CPPFLAGS = \
$(MED_LDFLAGS) \
-lMEDWrapper \
-lMEDWrapperBase \
- -lMEDWrapper_V2_1 \
- -lmed_V2_1 \
-lMEDWrapper_V2_2
$(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeNS -lOpUtil -lSALOMEBasics \
-lSalomeIDLKernel -lSALOMELocalTrace \
$(GEOM_LDFLAGS) -lNMTDS -lSalomeIDLGEOM \
- $(MED_LDFLAGS) -lMEDWrapper_V2_2 -lMEDWrapper_V2_1 -lSalomeIDLMED -lMEDWrapper \
+ $(MED_LDFLAGS) -lMEDWrapper_V2_2 -lSalomeIDLMED -lMEDWrapper \
$(CAS_KERNEL)
SMESHClientBin_CPPFLAGS = \
}
}
// PAL18696
- QString v21 (aMesh->GetVersionString(SMESH::MED_V2_1, 2));
+ //QString v21 (aMesh->GetVersionString(SMESH::MED_V2_1, 2));
QString v22 (aMesh->GetVersionString(SMESH::MED_V2_2, 2));
- aFilterMap.insert( QObject::tr( "MED_VX_FILES_FILTER" ).arg( v21 ) + " (*.med)", SMESH::MED_V2_1 );
+ //aFilterMap.insert( QObject::tr( "MED_VX_FILES_FILTER" ).arg( v21 ) + " (*.med)", SMESH::MED_V2_1 );
aFilterMap.insert( QObject::tr( "MED_VX_FILES_FILTER" ).arg( v22 ) + " (*.med)", SMESH::MED_V2_2 );
}
break;