- Timestamp:
- 01/28/05 19:12:28 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDContainer.h
r314 r320 70 70 SDFrequencyTable() : nFreq_(0) {;} 71 71 virtual ~SDFrequencyTable() {;} 72 73 casa::Int length() const { return nFreq_;};// # of stored Frequencies 74 void setLength(casa::Int length) {nFreq_ = length;}; 72 73 // Add a new entry or match an existing one. Returns the index into the table 74 casa::Int addFrequency(casa::Double refPix, casa::Double refVal, 75 casa::Double inc); 76 // 77 casa::Int length() const { return nFreq_;} // # of stored Frequencies 78 void setLength(casa::Int length) {nFreq_ = length;} 79 80 // Get attributes 75 81 casa::Double referencePixel(casa::uInt which) const { return refPix_[which];} 76 82 casa::Double referenceValue(casa::uInt which) const { return refVal_[which];} … … 81 87 casa::String& rfunit ) const ; 82 88 83 // returns the index into the table 84 // this creates a new one or returns an existing one 85 casa::Int addFrequency(casa::Double refPix, casa::Double refVal, 86 casa::Double inc); 89 // Set attributes 87 90 void setEquinox(casa::Float eq) { equinox_ = eq; } 88 91 void setRefFrame(const casa::String& reff) { refFrame_ = reff; } 89 92 void addRestFrequency(casa::Double); 90 void setRestFrequencyUnit(const casa::String& theunit) { 91 restFreqUnit_ = theunit; 92 }; 93 void setRestFrequencyUnit(const casa::String& theunit) {restFreqUnit_ = theunit;} 93 94 94 95 private:
Note:
See TracChangeset
for help on using the changeset viewer.