casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::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.
 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
String m_error
bool m_fatal

Detailed Description

Convenience class for a String/bool pair.

Intended use:

Public interface

Synopsis

Example

Definition at line 66 of file RFReaderWriter.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 88 of file RFReaderWriter.h.

bool casa::RFError::fatal_p [private]

Definition at line 89 of file RFReaderWriter.h.

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 files: