|
casacore
|
#include <RFReaderWriter.h>
Public Member Functions | |
| RFError () | |
| Constructor, blank error. | |
| RFError (const String &error, bool isFatal=false) | |
| Constructor, error with the given text and isFatal flag. | |
| ~RFError () | |
| Destructor. | |
| bool | isFatal () const |
| Returns whether this error was fatal or not. | |
| const String & | error () const |
| Returns this error's text. | |
| void | set (const String &error, bool isFatal=false) |
| Sets the error. | |
Private Attributes | |
| String | error_p |
| bool | fatal_p |
Convenience class for a String/bool pair.
Public interface
Definition at line 65 of file RFReaderWriter.h.
| casacore::RFError::RFError | ( | ) |
Constructor, blank error.
| casacore::RFError::RFError | ( | const String & | error, |
| bool | isFatal = false |
||
| ) |
Constructor, error with the given text and isFatal flag.
| casacore::RFError::~RFError | ( | ) |
Destructor.
| const String & casacore::RFError::error | ( | ) | const |
Returns this error's text.
| bool casacore::RFError::isFatal | ( | ) | const |
Returns whether this error was fatal or not.
| void casacore::RFError::set | ( | const String & | error, |
| bool | isFatal = false |
||
| ) |
Sets the error.
|
private |
Definition at line 87 of file RFReaderWriter.h.
|
private |
Definition at line 88 of file RFReaderWriter.h.