Changeset 2111 for trunk/src/Scantable.cpp
- Timestamp:
- 04/06/11 18:21:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r2094 r2111 958 958 } 959 959 960 std::string Scantable::summary( bool verbose ) 960 961 std::string Scantable::headerSummary( bool verbose ) 961 962 { 962 963 // Format header info 964 // STHeader sdh; 965 // sdh = getHeader(); 966 // sdh.print(); 963 967 ostringstream oss; 964 oss << endl;965 oss << asap::SEPERATOR << endl;966 oss << " Scan Table Summary" << endl;967 oss << asap::SEPERATOR << endl;968 968 oss.flags(std::ios_base::left); 969 969 oss << setw(15) << "Beams:" << setw(4) << nbeam() << endl … … 1008 1008 oss << setw(15) << "Abcissa:" << getAbcissaLabel(0) << endl; 1009 1009 oss << selector_.print() << endl; 1010 /// @todo implement verbose mode 1011 return String(oss); 1012 } 1013 1014 std::string Scantable::summary( bool verbose ) 1015 { 1016 ostringstream oss; 1010 1017 oss << endl; 1018 oss << asap::SEPERATOR << endl; 1019 oss << " Scan Table Summary" << endl; 1020 oss << asap::SEPERATOR << endl; 1021 1022 // Format header info 1023 oss << headerSummary(verbose); 1024 oss << endl; 1025 1011 1026 // main table 1012 1027 String dirtype = "Position (" 1013 1028 + getDirectionRefString() 1014 1029 + ")"; 1030 oss.flags(std::ios_base::left); 1015 1031 oss << setw(5) << "Scan" << setw(15) << "Source" 1016 1032 << setw(10) << "Time" << setw(18) << "Integration"
Note: See TracChangeset
for help on using the changeset viewer.