- if (isAlgo) {
- anIter = myAlgorithmsMap.begin();
- for (; anIter != myAlgorithmsMap.end(); anIter++) {
- aHypList.append(((*anIter).first).c_str());
- }
- }
- else {
- anIter = myHypothesesMap.begin();
- for (; anIter != myHypothesesMap.end(); anIter++) {
- aHypList.append(((*anIter).first).c_str());
- }
+ for ( anIter = pMap->begin(); anIter != pMap->end(); anIter++ )
+ {
+ HypothesisData* aData = (*anIter).second;
+ if ( ( theDim < 0 || aData->Dim.contains( theDim ) ) && aData->IsAux == isAux )
+ aHypList.append(((*anIter).first).c_str());