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.
An enum of all known subclasses/formats supported.
Enumerator |
---|
AIPS_BOX |
|
DS9 |
|
CASA_XML |
|
AIPS_IO |
|
Definition at line 123 of file RFReaderWriter.h.
casacore::RFReaderWriter::RFReaderWriter |
( |
| ) |
|
|
inline |
virtual casacore::RFReaderWriter::~RFReaderWriter |
( |
| ) |
|
|
inlinevirtual |
Returns the file extension for the given SupportedType.
virtual const RFError& casacore::RFReaderWriter::lastError |
( |
| ) |
const |
|
virtual |
Returns the last error set during read/write.
Returns an new appropriate options widget for the given SupportedType, or NULL for an error (shouldn't happen).
Returns an appropriate child RFReader class for the given SupportedType, or NULL for an error (shouldn't happen).
virtual void casacore::RFReaderWriter::setError |
( |
const String & |
error, |
|
|
bool |
fatal = false |
|
) |
| const |
|
protectedvirtual |
Convenience method for setting last error during read/write.
virtual void casacore::RFReaderWriter::setFile |
( |
const String & |
filename | ) |
|
|
virtual |
Sets the file to be read/written to the given.
virtual void casacore::RFReaderWriter::setName |
( |
const String & |
regionName | ) |
|
|
virtual |
Sets the region name associated withe the file to be read or written.
Converts between enum and String for SupportedType.
Returns all known SupportedTypes.
static Vector<String> casacore::RFReaderWriter::supportedTypeStrings |
( |
| ) |
|
|
static |
Returns an new appropriate child RfWriter class for the given SupportedType, or NULL for an error (shouldn't happen).
RFError casacore::RFReaderWriter::lastError_p |
|
protected |
Record casacore::RFReaderWriter::options_p |
|
protected |
String* casacore::RFReaderWriter::pFilename_p |
|
protected |
String* casacore::RFReaderWriter::pRegionName_p |
|
protected |
The documentation for this class was generated from the following file: