casa::RFError Class Reference

Convenience class for a String/bool pair. More...

#include <RSFileReaderWriter.h>

List of all members.

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

Detailed Description

Convenience class for a String/bool pair.

Definition at line 48 of file RSFileReaderWriter.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1