casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::RFError Class Reference

#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::Stringerror () 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
 

Detailed Description

Definition at line 47 of file RSFileReaderWriter.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

Member Data Documentation

casacore::String casa::RFError::m_error
private

Definition at line 71 of file RSFileReaderWriter.h.

bool casa::RFError::m_fatal
private

Definition at line 72 of file RSFileReaderWriter.h.


The documentation for this class was generated from the following file: