Superclass for readers and writers containing common definitions and operations.
More...
#include <RFReaderWriter.h>
|
virtual void | setError (const String &error, bool fatal=false) const |
| Convenience method for setting last error during read/write. More...
|
|
Superclass for readers and writers containing common definitions and operations.
Intended use:
Public interface
Synopsis
Example
Definition at line 119 of file RFReaderWriter.h.
◆ SupportedType
An enum of all known subclasses/formats supported.
Enumerator |
---|
AIPS_BOX | |
DS9 | |
CASA_XML | |
AIPS_IO | |
Definition at line 123 of file RFReaderWriter.h.
◆ RFReaderWriter()
casacore::RFReaderWriter::RFReaderWriter |
( |
| ) |
|
|
inline |
◆ ~RFReaderWriter()
virtual casacore::RFReaderWriter::~RFReaderWriter |
( |
| ) |
|
|
inlinevirtual |
◆ extensionForType()
Returns the file extension for the given SupportedType.
◆ lastError()
virtual const RFError& casacore::RFReaderWriter::lastError |
( |
| ) |
const |
|
virtual |
Returns the last error set during read/write.
◆ optionsWidgetForType()
Returns an new appropriate options widget for the given SupportedType, or NULL for an error (shouldn't happen).
◆ readerForType()
Returns an appropriate child RFReader class for the given SupportedType, or NULL for an error (shouldn't happen).
◆ setError()
virtual void casacore::RFReaderWriter::setError |
( |
const String & |
error, |
|
|
bool |
fatal = false |
|
) |
| const |
|
protectedvirtual |
Convenience method for setting last error during read/write.
◆ setFile()
virtual void casacore::RFReaderWriter::setFile |
( |
const String & |
filename | ) |
|
|
virtual |
◆ setName()
virtual void casacore::RFReaderWriter::setName |
( |
const String & |
regionName | ) |
|
|
virtual |
Sets the region name associated withe the file to be read or written.
◆ supportedTypes() [1/3]
Returns all known SupportedTypes.
◆ supportedTypes() [2/3]
Converts between enum and String for SupportedType.
◆ supportedTypes() [3/3]
◆ supportedTypeStrings()
static Vector<String> casacore::RFReaderWriter::supportedTypeStrings |
( |
| ) |
|
|
static |
◆ writerForType()
Returns an new appropriate child RfWriter class for the given SupportedType, or NULL for an error (shouldn't happen).
◆ lastError_p
RFError casacore::RFReaderWriter::lastError_p |
|
protected |
◆ options_p
Record casacore::RFReaderWriter::options_p |
|
protected |
◆ pFilename_p
String* casacore::RFReaderWriter::pFilename_p |
|
protected |
◆ pRegionName_p
String* casacore::RFReaderWriter::pRegionName_p |
|
protected |
The documentation for this class was generated from the following file: