show number of intervals

This commit is contained in:
David Rose 2002-11-06 22:20:59 +00:00
parent 74f99dcf0f
commit b4ed038469

View File

@ -343,6 +343,10 @@ output(ostream &out) const {
////////////////////////////////////////////////////////////////////
void CIntervalManager::
write(ostream &out) const {
// We need to write this line so that it's clear what's going on
// when there are no intervals in the list.
out << (int)_name_index.size() << " intervals.\n";
NameIndex::const_iterator ni;
for (ni = _name_index.begin(); ni != _name_index.end(); ++ni) {
int index = (*ni).second;