Changeset 164 for trunk/src/SDMemTable.h


Ignore:
Timestamp:
12/27/04 20:10:59 (19 years ago)
Author:
kil064
Message:

make a few more functions 'const'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTable.h

    r161 r164  
    8787  // get all as aips++ Vectors
    8888  virtual void getSpectrum(casa::Vector<casa::Float>& spectrum,
    89                            casa::Int whichRow=0);
     89                           casa::Int whichRow=0) const;
    9090
    9191  //virtual void getMask(Vector<Bool>& mask,Int whichRow=0) const;
     
    126126
    127127  // get a new SDMemTable containing all rows with the same give SCANID
    128   SDMemTable getScan(casa::Int scanID);
    129   SDMemTable getSource(const std::string& source);
     128  SDMemTable getScan(casa::Int scanID) const;
     129  SDMemTable getSource(const std::string& source) const;
    130130
    131131  const casa::TableRecord& getHeader() const {return table_.keywordSet();}
     
    145145  // to bool mask
    146146  casa::MaskedArray<casa::Float> rowAsMaskedArray(casa::uInt whichRow,
    147                                                   casa::Bool useSelection = casa::False);
     147                                                  casa::Bool useSelection = casa::False) const;
    148148
    149149  casa::SpectralCoordinate getCoordinate(casa::uInt whichIdx) const;
     
    153153  casa::Int nCoordinates() const;
    154154
    155   std::vector<double> getAbcissa(int whichRow=0);
    156   std::string getAbcissaString(casa::Int whichRow=0);
     155  std::vector<double> getAbcissa(int whichRow=0) const;
     156  std::string getAbcissaString(casa::Int whichRow=0) const;
    157157
    158158private:
Note: See TracChangeset for help on using the changeset viewer.