casa
$Rev:20696$
|
Convenience class for a String/bool pair. More...
#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. | |
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 |
String | m_error |
bool | m_fatal |
Convenience class for a String/bool pair.
Public interface
Definition at line 66 of file RFReaderWriter.h.
Constructor, blank error.
casa::RFError::RFError | ( | const String & | error, |
bool | isFatal = false |
||
) |
Constructor, error with the given text and isFatal flag.
Destructor.
Constructor, blank error.
casa::RFError::RFError | ( | const String & | error, |
bool | isFatal = false |
||
) |
Constructor, error with the given text and isFatal flag.
Destructor.
const String& casa::RFError::error | ( | ) | const |
Returns this error's text.
const String& casa::RFError::error | ( | ) | const |
Returns this error's text.
bool casa::RFError::isFatal | ( | ) | const |
Returns whether this error was fatal or not.
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.
void casa::RFError::set | ( | const String & | error, |
bool | isFatal = false |
||
) |
Sets the error.
String casa::RFError::error_p [private] |
Definition at line 88 of file RFReaderWriter.h.
bool casa::RFError::fatal_p [private] |
Definition at line 89 of file RFReaderWriter.h.
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.