Changeset 396 for trunk/src/SDContainer.h
- Timestamp:
- 02/09/05 13:00:12 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDContainer.h
r392 r396 210 210 ~SDDataDesc() {;} 211 211 212 // Add an entry if source name (not direction at this point) and freqID are unique 213 casa::uInt addEntry (const casa::String& source, casa::uInt freqID, 214 const casa::MDirection& dir); 212 // Add an entry if source name and Integer ID (can be anything you like, such 213 // as FreqID) are unique. You can add secondary entries direction 214 // and another integer index which are just stored along with the 215 // the primary entries 216 casa::uInt addEntry (const casa::String& source, casa::uInt ID, 217 const casa::MDirection& secDir, casa::uInt secID); 215 218 216 219 // Number of entries … … 219 222 // Get attributes 220 223 casa::String source (casa::uInt which) const {return source_[which];} 221 casa::uInt freqID(casa::uInt which) const {return freqID_[which];} 222 casa::MDirection direction (casa::uInt which) const {return dir_[which];} 224 casa::uInt ID(casa::uInt which) const {return ID_[which];} 225 casa::uInt secID(casa::uInt which) const {return secID_[which];} 226 casa::MDirection secDir (casa::uInt which) const {return secDir_[which];} 223 227 224 228 // Summary … … 228 232 casa::uInt n_; 229 233 casa::Vector<casa::String> source_; 230 casa::Vector<casa::uInt> freqID_;231 casa::Block<casa::MDirection> dir_;234 casa::Vector<casa::uInt> ID_, secID_; 235 casa::Block<casa::MDirection> secDir_; 232 236 // 233 237 SDDataDesc(const SDDataDesc& other);
Note: See TracChangeset
for help on using the changeset viewer.