Ignore:
Timestamp:
04/06/11 19:23:51 (13 years ago)
Author:
Kana Sugimoto
Message:

merged fixes in trunk (r2111)

Location:
branches/casa-prerelease/pre-asap/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/casa-prerelease/pre-asap/src

  • branches/casa-prerelease/pre-asap/src/Scantable.cpp

    r2095 r2114  
    944944}
    945945
    946 std::string Scantable::summary( bool verbose )
     946
     947std::string Scantable::headerSummary( bool verbose )
    947948{
    948949  // Format header info
     950//   STHeader sdh;
     951//   sdh = getHeader();
     952//   sdh.print();
    949953  ostringstream oss;
    950   oss << endl;
    951   oss << asap::SEPERATOR << endl;
    952   oss << " Scan Table Summary" << endl;
    953   oss << asap::SEPERATOR << endl;
    954954  oss.flags(std::ios_base::left);
    955955  oss << setw(15) << "Beams:" << setw(4) << nbeam() << endl
     
    994994  oss << setw(15) << "Abcissa:" << getAbcissaLabel(0) << endl;
    995995  oss << selector_.print() << endl;
     996  /// @todo implement verbose mode
     997  return String(oss);
     998}
     999
     1000std::string Scantable::summary( bool verbose )
     1001{
     1002  ostringstream oss;
    9961003  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
    9971012  // main table
    9981013  String dirtype = "Position ("
    9991014                  + getDirectionRefString()
    10001015                  + ")";
     1016  oss.flags(std::ios_base::left);
    10011017  oss << setw(5) << "Scan" << setw(15) << "Source"
    10021018      << setw(10) << "Time" << setw(18) << "Integration"
Note: See TracChangeset for help on using the changeset viewer.