Changeset 21 for trunk/src/SDMemTable.h
- Timestamp:
- 07/05/04 18:09:31 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.h
r19 r21 69 69 virtual bool putSDHeader(const SDHeader& sdh); 70 70 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; 71 75 72 76 // get spectrum,mask and tsys for the given row, at the selected 73 // cursor 74 virtual std::vector<float> getSpectrum(Int whichRow) const;77 // cursor - all as stl vectors 78 virtual std::vector<float> getSpectrum(Int whichRow); 75 79 virtual std::vector<bool> getMask(Int whichRow) const; 80 76 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; 77 85 78 // get info f rocurrent row86 // get info for current row 79 87 virtual Double getTime(Int whichRow) const ; 80 88 virtual std::string getSourceName(Int whichRow) const; … … 104 112 SDMemTable getScan(Int scanID); 105 113 106 const TableRecord& getHeader() const { ;}114 const TableRecord& getHeader() const {return table_.keywordSet();} 107 115 // get a handle to the "raw" aips++ table 108 116 const Table& table() { return table_; }
Note: See TracChangeset
for help on using the changeset viewer.