Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

RayGina::CORE::RStatus Class Reference

#include <RStatus.hxx>

List of all members.

Public Types

enum  ERRORS {
  SUCCESS = 0, UNKNOWN, FAILURE, INVALID_PARAMETER,
  OUT_OF_MEMORY, NULL_POINTER, NO_ARRAY_ATTRIBUTE, NOT_IMPLEMENTED,
  INVALID_FUNCTION_CALL, FILE_NOT_FOUND
}

Public Member Functions

 RStatus (const RUInt32 newCode=RStatus::UNKNOWN, const RString newMessage="Unknown error")
 ~RStatus ()
void setFailure (const RString newMessage="Unknown error")
void setStatus (const RUInt32 newCode, const RString newMessage="Unknown error")
void setMessage (const RString newMessage)
const RString getMessage () const
const RUInt32 getErrorCode () const
void operator= (const RUInt32 newCode)

Private Attributes

RString _message
RUInt32 _code


Member Enumeration Documentation

enum RayGina::CORE::RStatus::ERRORS
 

Enumeration values:
SUCCESS 
UNKNOWN 
FAILURE 
INVALID_PARAMETER 
OUT_OF_MEMORY 
NULL_POINTER 
NO_ARRAY_ATTRIBUTE 
NOT_IMPLEMENTED 
INVALID_FUNCTION_CALL 
FILE_NOT_FOUND 

Definition at line 11 of file RStatus.hxx.


Constructor & Destructor Documentation

RayGina::CORE::RStatus::RStatus const RUInt32  newCode = RStatus::UNKNOWN,
const RString  newMessage = "Unknown error"
[inline]
 

Definition at line 28 of file RStatus.hxx.

RayGina::CORE::RStatus::~RStatus  )  [inline]
 

Definition at line 29 of file RStatus.hxx.


Member Function Documentation

const RUInt32 RayGina::CORE::RStatus::getErrorCode  )  const [inline]
 

Definition at line 45 of file RStatus.hxx.

const RString RayGina::CORE::RStatus::getMessage  )  const [inline]
 

Definition at line 42 of file RStatus.hxx.

void RayGina::CORE::RStatus::operator= const RUInt32  newCode  )  [inline]
 

Definition at line 49 of file RStatus.hxx.

void RayGina::CORE::RStatus::setFailure const RString  newMessage = "Unknown error"  )  [inline]
 

Definition at line 31 of file RStatus.hxx.

void RayGina::CORE::RStatus::setMessage const RString  newMessage  )  [inline]
 

Definition at line 39 of file RStatus.hxx.

void RayGina::CORE::RStatus::setStatus const RUInt32  newCode,
const RString  newMessage = "Unknown error"
[inline]
 

Definition at line 35 of file RStatus.hxx.


Member Data Documentation

RUInt32 RayGina::CORE::RStatus::_code [private]
 

Definition at line 26 of file RStatus.hxx.

RString RayGina::CORE::RStatus::_message [private]
 

Definition at line 25 of file RStatus.hxx.


The documentation for this class was generated from the following file:
Generated on Sun Dec 2 17:01:09 2007 for rayGina by  doxygen 1.3.9.1