Convenience class for a String/bool pair. More...
#include <RSFileReaderWriter.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 | m_error |
bool | m_fatal |
Convenience class for a String/bool pair.
Definition at line 48 of file RSFileReaderWriter.h.
casa::RFError::RFError | ( | ) |
Constructor, blank error.
casa::RFError::RFError | ( | const String & | error, | |
bool | isFatal = false | |||
) |
Constructor, error with the given text and isFatal flag.
casa::RFError::~RFError | ( | ) |
Destructor.
const 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 String & | error, | |
bool | isFatal = false | |||
) |
Sets the error.
String casa::RFError::m_error [private] |
Definition at line 70 of file RSFileReaderWriter.h.
bool casa::RFError::m_fatal [private] |
Definition at line 71 of file RSFileReaderWriter.h.