Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTable.h

    r22 r19  
    6969  virtual bool putSDHeader(const SDHeader& sdh);
    7070  virtual bool putSDFreqTable(const SDFrequencyTable& sdft) {;}
    71 
    72   //get the dat wrapped up in a meta container
    73   virtual SDContainer getSDContainer(uInt whichRow=0) const;
    74   virtual SDHeader getSDHeader() const;
    7571 
    7672  // get spectrum,mask and tsys for the given row, at the selected
    77   // cursor - all as stl vectors
    78   virtual std::vector<float> getSpectrum(Int whichRow);
     73  // cursor
     74  virtual std::vector<float> getSpectrum(Int whichRow) const;
    7975  virtual std::vector<bool> getMask(Int whichRow) const;
     76  virtual Float getTsys(Int whichRow) const;
    8077
    81   virtual Float getTsys(Int whichRow) const;
    82   // get all as aips++ Vectors
    83   virtual void getSpectrum(Vector<Float>& spectrum, Int whichRow=0);
    84   virtual void getMask(Vector<Bool>& mask,Int whichRow=0) const;
    85 
    86   // get info for current row
     78  // get info fro current row
    8779  virtual Double getTime(Int whichRow) const ;
    8880  virtual std::string getSourceName(Int whichRow) const;
     
    10395  virtual void summary() const;
    10496 
     97  // the (irrelevant) name
     98  std::string name() const;
     99
    105100  // write to disk as aips++ table
    106101  void makePersistent(const std::string& filename);
     
    109104  SDMemTable getScan(Int scanID);
    110105
    111   const TableRecord& getHeader() const {return table_.keywordSet();}
     106  const TableRecord& getHeader() const {;}
    112107  // get a handle to the "raw" aips++ table
    113108  const Table& table() { return table_; }
     
    119114  Int nChan() const;
    120115
    121   // return the number of rows (integrations) in the table
    122   Int nRows() const { return table_.nrow(); }
    123 
    124116  // return a row as a Masked array, internally converting uChar flags
    125117  // to bool mask
     
    128120
    129121private:
    130   // set up table structure
     122  // set up tabel structure
    131123  void setup();
    132124  // the current cursor into the array
Note: See TracChangeset for help on using the changeset viewer.