casa
5.7.0-16
|
#include <ReaderInterface.h>
Public Types | |
typedef NullOptionalTables < ReaderInterface > | OptionalTables |
Public Member Functions | |
ReaderInterface (std::string const &name) | |
virtual | ~ReaderInterface () |
std::string const & | getName () const |
virtual casacore::String | getDataUnit () const |
virtual casacore::Bool | isFloatData () const |
virtual casacore::MDirection::Types | getDirectionFrame () const |
void | initialize () |
void | finalize () |
virtual size_t | getNumberOfRows ()=0 |
get number of rows for MAIN table More... | |
virtual casacore::Bool | getObservationRow (sdfiller::ObservationRecord &record)=0 |
to get OBSERVATION table The method should return true if row entry is available. More... | |
virtual casacore::Bool | getAntennaRow (sdfiller::AntennaRecord &record)=0 |
to get ANTENNA table The method should return true if row entry is available. More... | |
virtual casacore::Bool | getProcessorRow (sdfiller::ProcessorRecord &record)=0 |
to get PROCESSOR table The method should return true if row entry is available. More... | |
virtual casacore::Bool | getSourceRow (sdfiller::SourceRecord &row)=0 |
to get SOURCE table The method should return true if row entry is available. More... | |
virtual casacore::Bool | getFieldRow (sdfiller::FieldRecord &row)=0 |
to get FIELD table The method should return true if row entry is available. More... | |
virtual casacore::Bool | getSpectralWindowRow (sdfiller::SpectralWindowRecord &row)=0 |
to get SPECTRAL WINDOW table The method should return true if row entry is available. More... | |
virtual casacore::Bool | getData (size_t irow, sdfiller::DataRecord &record)=0 |
for DataAccumulator More... | |
Protected Member Functions | |
virtual void | initializeSpecific ()=0 |
virtual void | finalizeSpecific ()=0 |
Protected Attributes | |
std::string const | name_ |
Private Member Functions | |
void | initializeCommon () |
common initialization/finalization actions More... | |
void | finalizeCommon () |
Private Member Functions inherited from casa::NonCopyable< ReaderInterface > | |
NonCopyable () | |
~NonCopyable () | |
Definition at line 51 of file ReaderInterface.h.
Definition at line 53 of file ReaderInterface.h.
|
inline |
Definition at line 55 of file ReaderInterface.h.
|
inlinevirtual |
Definition at line 59 of file ReaderInterface.h.
|
inline |
Definition at line 83 of file ReaderInterface.h.
References finalizeCommon(), and finalizeSpecific().
|
inlineprivate |
Definition at line 134 of file ReaderInterface.h.
Referenced by finalize().
|
protectedpure virtual |
Implemented in casa::NRO2MSReader, and casa::Scantable2MSReader.
Referenced by finalize().
|
pure virtual |
to get ANTENNA table The method should return true if row entry is available.
If it return false, row will be invalid so it should not be used.
Implemented in casa::Scantable2MSReader, and casa::NRO2MSReader.
|
pure virtual |
for DataAccumulator
Implemented in casa::Scantable2MSReader, and casa::NRO2MSReader.
|
inlinevirtual |
Reimplemented in casa::Scantable2MSReader, and casa::NRO2MSReader.
Definition at line 66 of file ReaderInterface.h.
|
inlinevirtual |
Reimplemented in casa::NRO2MSReader.
Definition at line 74 of file ReaderInterface.h.
References casacore::MDirection::J2000.
|
pure virtual |
to get FIELD table The method should return true if row entry is available.
If it return false, row will be invalid so it should not be used.
Implemented in casa::Scantable2MSReader, and casa::NRO2MSReader.
|
inline |
Definition at line 62 of file ReaderInterface.h.
References name_.
|
pure virtual |
get number of rows for MAIN table
Implemented in casa::NRO2MSReader, and casa::Scantable2MSReader.
|
pure virtual |
to get OBSERVATION table The method should return true if row entry is available.
If it return false, row will be invalid so it should not be used.
Implemented in casa::Scantable2MSReader, and casa::NRO2MSReader.
|
pure virtual |
to get PROCESSOR table The method should return true if row entry is available.
If it return false, row will be invalid so it should not be used.
Implemented in casa::Scantable2MSReader, and casa::NRO2MSReader.
|
pure virtual |
to get SOURCE table The method should return true if row entry is available.
If it return false, row will be invalid so it should not be used.
Implemented in casa::Scantable2MSReader, and casa::NRO2MSReader.
|
pure virtual |
to get SPECTRAL WINDOW table The method should return true if row entry is available.
If it return false, row will be invalid so it should not be used.
Implemented in casa::Scantable2MSReader, and casa::NRO2MSReader.
|
inline |
Definition at line 78 of file ReaderInterface.h.
References initializeCommon(), and initializeSpecific().
|
inlineprivate |
common initialization/finalization actions
Definition at line 132 of file ReaderInterface.h.
Referenced by initialize().
|
protectedpure virtual |
Implemented in casa::NRO2MSReader, and casa::Scantable2MSReader.
Referenced by initialize().
|
inlinevirtual |
Reimplemented in casa::NRO2MSReader, and casa::Scantable2MSReader.
Definition at line 70 of file ReaderInterface.h.
|
protected |
Definition at line 128 of file ReaderInterface.h.
Referenced by getName().