-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
SALOME_ModuleCatalog_Handler::SALOME_ModuleCatalog_Handler(ParserPathPrefixes& pathList,
ParserComponents& moduleList,
ParserTypes& typeMap,
- TypeList& typeList):_typeMap(typeMap),_typeList(typeList),
- _pathList(pathList),_moduleList(moduleList)
+ TypeList& typeList):_pathList(pathList),_moduleList(moduleList),
+ _typeMap(typeMap),_typeList(typeList)
{
if(MYDEBUG) BEGIN_OF("SALOME_ModuleCatalog_Handler");
test_component_name = "component-name";
test_component_username = "component-username";
test_component_type = "component-type" ;
- test_component_multistudy = "component-multistudy";
test_component_icon = "component-icone" ;
test_component_impltype = "component-impltype";
test_component_implname = "component-implname";
{
if ( _typeMap.find(aType.name) == _typeMap.end() )
{
- MESSAGE("Registered objref type: " << aType.name << " " << aType.id );
+ //MESSAGE("Registered objref type: " << aType.name << " " << aType.id );
_typeMap[aType.name]=aType;
_typeList.push_back(aType);
}
_aModule.type = MESH ;
else if((aType.compare("MED") == 0) ||
(aType.compare("Med") == 0) ||
- (aType.compare("med") == 0))
+ (aType.compare("med") == 0) ||
+ (aType.compare("FIELDS") == 0) ||
+ (aType.compare("Fields") == 0) ||
+ (aType.compare("fields") == 0))
_aModule.type = Med ;
else if((aType.compare("GEOM") == 0) ||
(aType.compare("Geom") == 0) ||
_aModule.type = OTHER ;
}
- // Tag test_component_multistudy
- if ( !xmlStrcmp(aComponentSubNode->name, (const xmlChar*)test_component_multistudy) )
- _aModule.multistudy = atoi( aContent.c_str() ) != 0;
-
// Tag test_component_impltype
if ( !xmlStrcmp(aComponentSubNode->name, (const xmlChar*)test_component_impltype) )
_aModule.implementationType = aContent;