}
}
+ m->gobble(f);
+
if (f.eof() != true) { f >> nextLabel; }
//read the rest of the groups info in
}
}
+ m->gobble(f);
if (f.eof() != true) { f >> nextLabel; }
}
catch(exception& e) {
- errorOut(e, "SharedOrderVector", "SharedOrderVector");
+ m->errorOut(e, "SharedOrderVector", "SharedOrderVector");
exit(1);
}
}
output << endl;
}
catch(exception& e) {
- errorOut(e, "SharedOrderVector", "print");
+ m->errorOut(e, "SharedOrderVector", "print");
exit(1);
}
}
+/***********************************************************************/
+void SharedOrderVector::clear(){
+ numBins = 0;
+ maxRank = 0;
+ numSeqs = 0;
+ data.clear();
+}
/***********************************************************************/
void SharedOrderVector::resize(int){
- mothurOut("resize() did nothing in class SharedOrderVector");
+ m->mothurOut("resize() did nothing in class SharedOrderVector");
}
/***********************************************************************/
return rav;
}
catch(exception& e) {
- errorOut(e, "SharedOrderVector", "getRAbundVector");
+ m->errorOut(e, "SharedOrderVector", "getRAbundVector");
exit(1);
}
}
return ov;
}
catch(exception& e) {
- errorOut(e, "SharedOrderVector", "getOrderVector");
+ m->errorOut(e, "SharedOrderVector", "getOrderVector");
exit(1);
}
}
return sharedRav;
}
catch(exception& e) {
- errorOut(e, "SharedOrderVector", "getSharedRAbundVector");
+ m->errorOut(e, "SharedOrderVector", "getSharedRAbundVector");
exit(1);
}
}
return lookup;
}
catch(exception& e) {
- errorOut(e, "SharedOrderVector", "getSharedRAbundVector");
+ m->errorOut(e, "SharedOrderVector", "getSharedRAbundVector");
exit(1);
}
}
}
catch(exception& e) {
- errorOut(e, "SharedOrderVector", "getSharedSAbundVector");
+ m->errorOut(e, "SharedOrderVector", "getSharedSAbundVector");
exit(1);
}
}
}
catch(exception& e) {
- errorOut(e, "SharedOrderVector", "updateStats");
+ m->errorOut(e, "SharedOrderVector", "updateStats");
exit(1);
}
}