Changeset 3106 for trunk/src/FillerWrapper.h
- Timestamp:
- 10/04/16 18:20:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/FillerWrapper.h
r2998 r3106 39 39 40 40 41 void open(const std::string& filename, const casa ::Record& rec) {41 void open(const std::string& filename, const casacore::Record& rec) { 42 42 // void open(const std::string& filename) { 43 casa ::File file(filename);43 casacore::File file(filename); 44 44 if ( !file.exists() ) { 45 45 throw(AipsError("File does not exist")); … … 62 62 filler_ = 0; 63 63 attached_ = false; 64 throw casa ::AipsError("Unknown Data Format");64 throw casacore::AipsError("Unknown Data Format"); 65 65 } 66 66 void close() { … … 88 88 int pks = 0 ; 89 89 int nro = 1 ; 90 casa ::File file( filename ) ;90 casacore::File file( filename ) ; 91 91 if ( file.isDirectory() ) 92 92 ret = pks ; … … 103 103 // So, one can distinguish NRO and non-NRO data by examining 104 104 // first keyword name. 105 if ( casa ::String( buf ) == "SIMPLE" ) {105 if ( casacore::String( buf ) == "SIMPLE" ) { 106 106 ret = pks ; 107 107 } … … 117 117 FillerWrapper& operator=(const FillerWrapper&); 118 118 119 casa ::CountedPtr<FillerBase> filler_;119 casacore::CountedPtr<FillerBase> filler_; 120 120 bool attached_; 121 casa ::CountedPtr<Scantable> stable_;121 casacore::CountedPtr<Scantable> stable_; 122 122 }; 123 123
Note: See TracChangeset
for help on using the changeset viewer.