Changeset 18 for trunk/src/SDMemTable.h
- Timestamp:
- 06/30/04 16:34:24 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.h
r16 r18 50 50 class SDMemTable { 51 51 public: 52 SDMemTable(const std::string& name= "SDInputTable.tbl"); 52 SDMemTable(); 53 SDMemTable(const std::string& name); 53 54 SDMemTable(const SDMemTable& other, Bool clear=False); 54 55 … … 56 57 virtual ~SDMemTable(); 57 58 virtual bool putSDContainer(const SDContainer& sdc); 58 virtual bool putSDHeader(const SDHeader& sdh) {;}59 virtual bool putSDHeader(const SDHeader& sdh); 59 60 virtual bool putSDFreqTable(const SDFrequencyTable& sdft) {;} 60 61 … … 72 73 virtual bool setBeam(Int whichBeam=0); 73 74 virtual bool setPol(Int whichPol=0); 75 //sets the user mask 76 virtual bool setMask(const std::vector<int>& whichChans); 77 74 78 75 79 virtual Int getIF() { return IFSel_; } 76 80 virtual Int getBeam() { return beamSel_; } 77 81 virtual Int getPol() { return polSel_; } 78 79 //sets the mask 80 virtual bool setMask(const std::vector<int>& whichChans); 81 82 82 83 virtual void summary() const; 83 84 … … 85 86 void makePersistent(const std::string& filename); 86 87 SDMemTable getScan(Int scanID); 88 89 const TableRecord& getHeader() const {;} 87 90 const Table& table() { return table_; } 91 92 Int nBeam() const; 93 Int nIF() const; 94 Int nPol() const; 95 Int nChan() const; 88 96 89 97 private: 90 98 void setup(); 91 //Int nBeam_,nIF_,nChan_,nPol_; 99 92 100 Int IFSel_,beamSel_,polSel_; 93 101 std::vector<bool> chanMask_;
Note: See TracChangeset
for help on using the changeset viewer.