Superclass for readers and writers containing common definitions and operations.
More...
#include <RSFileReaderWriter.h>
Superclass for readers and writers containing common definitions and operations.
Definition at line 78 of file RSFileReaderWriter.h.
Public Static Methods //.
An enum of all known subclasses/formats supported.
Definition at line 83 of file RSFileReaderWriter.h.
casa::RSFileReaderWriter::RSFileReaderWriter |
( |
| ) |
|
|
inline |
virtual casa::RSFileReaderWriter::~RSFileReaderWriter |
( |
| ) |
|
|
inlinevirtual |
Returns the file extension for the given SupportedType.
virtual const RFError& casa::RSFileReaderWriter::lastError |
( |
| ) |
const |
|
virtual |
Returns the last error set during read/write.
static QWidget* casa::RSFileReaderWriter::optionsWidgetForType |
( |
SupportedType |
type | ) |
|
|
static |
Returns an new appropriate options widget for the given SupportedType, or NULL for an error (shouldn't happen).
Returns an appropriate child RegionFileReader class for the given SupportedType, or NULL for an error (shouldn't happen).
virtual void casa::RSFileReaderWriter::setError |
( |
const casacore::String & |
error, |
|
|
bool |
isFatal = false |
|
) |
| const |
|
protectedvirtual |
Convenience method for setting last error during read/write.
virtual void casa::RSFileReaderWriter::setFile |
( |
const casacore::String & |
filename | ) |
|
|
virtual |
Sets the file to be read/written to the given.
static std::vector<SupportedType> casa::RSFileReaderWriter::supportedTypes |
( |
| ) |
|
|
static |
Returns all known SupportedTypes.
static std::vector<casacore::String> casa::RSFileReaderWriter::supportedTypesStrings |
( |
| ) |
|
|
static |
Returns an new appropriate child RegionFileWriter class for the given SupportedType, or NULL for an error (shouldn't happen).
RFError casa::RSFileReaderWriter::m_lastError |
|
protected |
The documentation for this class was generated from the following file: