15 ist_(new std::ifstream(name.c_str())),
16 eventBuf_(1000*1000*7)
19 if (!
ist_->is_open()) {
21 <<
"Error Opening Input File: " << name <<
"\n";
42 if (
ist_->eof() ||
static_cast<unsigned int>(
ist_->gcount()) < nWant) {
58 ist_->seekg(last_pos, std::ios::beg);
60 if (
ist_->eof() ||
static_cast<unsigned int>(
ist_->gcount()) < nWant) {
66 uint32 new_len = last_pos + eventSize;
67 ist_->seekg(new_len, std::ios::beg);