Changeset 281 for trunk/src/SDMemTable.h


Ignore:
Timestamp:
01/24/05 17:13:36 (19 years ago)
Author:
mar637
Message:
  • revamped summary Function, added postion and number of integr. per scan
  • added formatDirection
  • modified getTime to return Header time on whichRow=-1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTable.h

    r263 r281  
    9393  std::vector<double> getRestFreqs() const;
    9494 
    95   // get info for current row
    96   std::string getTime(casa::Int whichRow=0) const ;
     95  // get info for current row 
     96  // if whichRow == -1 the Header time is given
     97  std::string getTime(casa::Int whichRow=0,
     98                      casa::Bool showDate=casa::False) const ;
    9799  std::string getSourceName(casa::Int whichRow=0) const;
    98100  double getInterval(casa::Int whichRow=0) const;
     
    173175
    174176// Get MDirection for this row
    175   casa::MDirection getDirection(casa::Int whichRow=0) const;
     177  casa::MDirection getDirection(casa::Int whichRow=0,
     178                                casa::Bool refBeam=casa::False) const;
    176179
    177180// Get gloabl Direction reference
    178   casa::MDirection::Types getDirectionReference () const;
     181  casa::MDirection::Types getDirectionReference() const;
    179182
    180183// Get global Time reference
    181   casa::MEpoch::Types getTimeReference () const;
     184  casa::MEpoch::Types getTimeReference() const;
    182185
    183186// Helper function to check instrument (antenna) name and give enum
    184   static Instrument convertInstrument (const casa::String& instrument,
    185                                        casa::Bool throwIt);
     187  static Instrument convertInstrument(const casa::String& instrument,
     188                                      casa::Bool throwIt);
    186189
    187190private:
    188191  // utility func for nice printout
    189192  casa::String formatSec(casa::Double x) const;
     193  casa::String formatDirection(const casa::MDirection& md) const;
    190194  void setup();
    191195  // the current cursor into the array
Note: See TracChangeset for help on using the changeset viewer.