179 ostream fout(cout.rdbuf());
187 cerr <<
"Cannot open output stream " << filename <<
": " << strerror(errno) << endl;
190 fout.rdbuf(sout.rdbuf());
195 fout <<
"\nTable: " << fKeyMap.find(
"EXTNAME")->second.value <<
" (rows=" <<
GetNumRows() <<
")\n";
196 if (fKeyMap.find(
"COMMENT") != fKeyMap.end())
197 fout <<
"Comment: \t" << fKeyMap.find(
"COMMENT")->second.value <<
"\n";
size_t GetNumRows() const
const Table::Keys & GetKeys() const
void ListKeywords(ostream &)
std::map< std::string, Entry > Keys