casacore::RFError Class Reference

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

#include <RFReaderWriter.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 Stringerror () 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

Detailed Description

Convenience class for a String/bool pair.

Intended use:

Public interface

Synopsis

Example

Definition at line 67 of file RFReaderWriter.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 89 of file RFReaderWriter.h.

Definition at line 90 of file RFReaderWriter.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