Result_i* pResult = dynamic_cast<Result_i*>(GetServant(aResultObj));
if(pResult != NULL){
if(abs(pResult->GetSourceId()) > Result_i::eFile)
- if((pResult->GetFileInfo()).filePath() == "Med") return false;
+ if((pResult->GetFileInfo()).filePath() == "MED") return false;
return true;
}
}
mySourceId = eComponent;
myInput = CreateMEDFieldConvertor(theField);
if(myInput == NULL) return NULL;
- string aCompDataType = "Med";
+ string aCompDataType = "MED";
myFileInfo.setFile(aCompDataType.c_str());
myName = (const char*)(::GenerateName("aResult"));
VISU::Storable* aStorable = Build();
SALOMEDS::StudyBuilder_var aStudyBuilder = myStudyDocument->NewBuilder();
SALOMEDS::Driver_var aDriver = SALOMEDS::Driver::_narrow(aEngComp);
aStudyBuilder->LoadWith(aCompRefSObj,aDriver);
- if(strcmp(aDataType,"Med") == 0){
+ if(strcmp(aDataType,"MED") == 0){
myInput = CreateMEDConvertor(aTargetRefSObj);
}else
throw std::runtime_error("GetInput - There is no convertor for the aDataType !!!");