casa
5.7.0-16
|
#include <RSFileReaderWriter.h>
Public Member Functions | |
RFError () | |
Convenience class for a casacore::String/bool pair. More... | |
RFError (const casacore::String &error, bool isFatal=false) | |
Constructor, error with the given text and isFatal flag. More... | |
~RFError () | |
Destructor. More... | |
bool | isFatal () const |
Returns whether this error was fatal or not. More... | |
const casacore::String & | error () const |
Returns this error's text. More... | |
void | set (const casacore::String &error, bool isFatal=false) |
Sets the error. More... | |
Private Attributes | |
casacore::String | m_error |
bool | m_fatal |
Definition at line 47 of file RSFileReaderWriter.h.
casa::RFError::RFError | ( | ) |
Convenience class for a casacore::String/bool pair.
Constructor, blank error.
casa::RFError::RFError | ( | const casacore::String & | error, |
bool | isFatal = false |
||
) |
Constructor, error with the given text and isFatal flag.
casa::RFError::~RFError | ( | ) |
Destructor.
const casacore::String& casa::RFError::error | ( | ) | const |
Returns this error's text.
bool casa::RFError::isFatal | ( | ) | const |
Returns whether this error was fatal or not.
void casa::RFError::set | ( | const casacore::String & | error, |
bool | isFatal = false |
||
) |
Sets the error.
|
private |
Definition at line 71 of file RSFileReaderWriter.h.
|
private |
Definition at line 72 of file RSFileReaderWriter.h.