QObject::tr("INF_PARSE_ERROR"),
QObject::tr(aXmlHandler->errorProtocol().toLatin1().data()));
}
+ delete aXmlHandler;
}
else {
if (aNoAccessFiles.isEmpty())
hypoSet != myListOfHypothesesSets.end();
++hypoSet ) {
HypothesesSet* aSet = *hypoSet;
- if ( aSet && aSet->AlgoList.count() ) {
- aSetNameList.append( aSet->HypoSetName );
+ if ( aSet && aSet->count( true ) ) {
+ aSetNameList.append( aSet->name() );
}
}
hypoSet != myListOfHypothesesSets.end();
++hypoSet ) {
HypothesesSet* aSet = *hypoSet;
- if ( aSet && aSet->HypoSetName == theSetName )
+ if ( aSet && aSet->name() == theSetName )
return aSet;
}
return 0;
return false;
}
- HypothesisCreatorPtr GetHypothesisCreator(const QString& aHypType)
+ SMESHGUI_GenericHypothesisCreator* GetHypothesisCreator(const QString& aHypType)
{
if(MYDEBUG) MESSAGE("Get HypothesisCreator for " << aHypType.toLatin1().data());
// 2. Get names of plugin libraries
HypothesisData* aHypData = GetHypothesisData(aHypType);
if (!aHypData)
- return HypothesisCreatorPtr(aCreator);
+ return aCreator;
+
QString aClientLibName = aHypData->ClientLibName;
QString aServerLibName = aHypData->ServerLibName;
}
}
- return HypothesisCreatorPtr(aCreator);
+ return aCreator;
}