}
}
}
+ else if (qName == "hypotheses-set-group") // group of sets of hypotheses
+ {
+ }
+ else if (qName == "hypotheses-set") // a set of hypotheses
+ {
+ if (atts.value("name") != "")
+ {
+ HypothesesSet* aHypoSet = new HypothesesSet ( atts.value("name") );
+ myListOfHypothesesSets.push_back( aHypoSet );
+
+ for ( int isHypo = 0; isHypo < 2; ++isHypo )
+ {
+ QString aHypos = isHypo ? atts.value("hypos") : atts.value("algos");
+ aHypos = aHypos.remove( ' ' );
+ QStringList* aHypoList = isHypo ? & aHypoSet->HypoList : & aHypoSet->AlgoList;
+ *aHypoList = QStringList::split( ',', aHypos );
+ }
+ }
+ }
else
{
// error
std::map<std::string, HypothesisData*> myHypothesesMap;
std::map<std::string, HypothesisData*> myAlgorithmsMap;
+ std::list<HypothesesSet*> myListOfHypothesesSets;
+
private:
QString myErrorProt;
QString myPluginName;