Changeset 2114 for branches/casa-prerelease/pre-asap/src/Scantable.cpp
- Timestamp:
- 04/06/11 19:23:51 (13 years ago)
- Location:
- branches/casa-prerelease/pre-asap/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/casa-prerelease/pre-asap/src
- Property svn:mergeinfo changed
/trunk/src merged: 2111
- Property svn:mergeinfo changed
-
branches/casa-prerelease/pre-asap/src/Scantable.cpp
r2095 r2114 944 944 } 945 945 946 std::string Scantable::summary( bool verbose ) 946 947 std::string Scantable::headerSummary( bool verbose ) 947 948 { 948 949 // Format header info 950 // STHeader sdh; 951 // sdh = getHeader(); 952 // sdh.print(); 949 953 ostringstream oss; 950 oss << endl;951 oss << asap::SEPERATOR << endl;952 oss << " Scan Table Summary" << endl;953 oss << asap::SEPERATOR << endl;954 954 oss.flags(std::ios_base::left); 955 955 oss << setw(15) << "Beams:" << setw(4) << nbeam() << endl … … 994 994 oss << setw(15) << "Abcissa:" << getAbcissaLabel(0) << endl; 995 995 oss << selector_.print() << endl; 996 /// @todo implement verbose mode 997 return String(oss); 998 } 999 1000 std::string Scantable::summary( bool verbose ) 1001 { 1002 ostringstream oss; 996 1003 oss << endl; 1004 oss << asap::SEPERATOR << endl; 1005 oss << " Scan Table Summary" << endl; 1006 oss << asap::SEPERATOR << endl; 1007 1008 // Format header info 1009 oss << headerSummary(verbose); 1010 oss << endl; 1011 997 1012 // main table 998 1013 String dirtype = "Position (" 999 1014 + getDirectionRefString() 1000 1015 + ")"; 1016 oss.flags(std::ios_base::left); 1001 1017 oss << setw(5) << "Scan" << setw(15) << "Source" 1002 1018 << setw(10) << "Time" << setw(18) << "Integration"
Note: See TracChangeset
for help on using the changeset viewer.