+ QStringList GetHypothesesSets()
+ {
+ QStringList aSetNameList;
+
+ // Init list of available hypotheses, if needed
+ InitAvailableHypotheses();
+
+ list<HypothesesSet*>::iterator hypoSet = myListOfHypothesesSets.begin();
+ for ( ; hypoSet != myListOfHypothesesSets.end(); ++hypoSet )
+ {
+ HypothesesSet* aSet = *hypoSet;
+ if ( aSet && aSet->AlgoList.count() ) {
+ aSetNameList.append( aSet->HypoSetName );
+ }
+ }
+
+ return aSetNameList;
+ }
+
+ HypothesesSet* GetHypothesesSet(const QString theSetName)
+ {
+ list<HypothesesSet*>::iterator hypoSet = myListOfHypothesesSets.begin();
+ for ( ; hypoSet != myListOfHypothesesSets.end(); ++hypoSet )
+ {
+ HypothesesSet* aSet = *hypoSet;
+ if ( aSet && aSet->HypoSetName == theSetName )
+ return aSet;
+ }
+ return 0;
+ }
+