Changeset 17291
- Timestamp:
- 10/21/13 13:36:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fitsdump.cc
r17259 r17291 132 132 133 133 cout << " " << fKeyMap.find("EXTNAME")->second.value << " ["; 134 cout << fKeyMap.find("NAXIS2")->second.value<< "]\n";134 cout << GetNumRows() << "]\n"; 135 135 136 136 for (auto it = fColMap.begin(); it != fColMap.end(); it++) … … 218 218 const fits::Table::Keys &fKeyMap = GetKeys(); 219 219 220 fout << "\nTable: " << fKeyMap.find("EXTNAME")->second.value << " (rows=" << fKeyMap.find("NAXIS2")->second.value<< ")\n";220 fout << "\nTable: " << fKeyMap.find("EXTNAME")->second.value << " (rows=" << GetNumRows() << ")\n"; 221 221 if (fKeyMap.find("COMMENT") != fKeyMap.end()) 222 222 fout << "Comment: \t" << fKeyMap.find("COMMENT")->second.value << "\n"; … … 448 448 fout << "## File: \t" << filename << '\n'; 449 449 fout << "## Table: \t" << fKeyMap.find("EXTNAME")->second.value << '\n'; 450 fout << "## NumRows: \t" << Get Int("NAXIS2") << '\n';450 fout << "## NumRows: \t" << GetNumRows() << '\n'; 451 451 fout << "## Comment: \t" << ((fKeyMap.find("COMMENT") != fKeyMap.end()) ? fKeyMap.find("COMMENT")->second.value : "") << '\n'; 452 452 #ifdef HAVE_ROOT … … 680 680 fout << "## File: \t" << filename << '\n'; 681 681 fout << "## Table: \t" << fKeyMap.find("EXTNAME")->second.value << '\n'; 682 fout << "## NumRows: \t" << Get Int("NAXIS2") << '\n';682 fout << "## NumRows: \t" << GetNumRows() << '\n'; 683 683 fout << "## Comment: \t" << ((fKeyMap.find("COMMENT") != fKeyMap.end()) ? fKeyMap.find("COMMENT")->second.value : "") << '\n'; 684 684 fout << "## --------------------------------------------------------------------------\n";
Note:
See TracChangeset
for help on using the changeset viewer.