IT_Bus::FaultSource Class Reference

#include <it_bus/fault_exception.h>

Inheritance diagram for IT_Bus::FaultSource:

IT_Bus::AnySimpleType IT_Bus::AnyType IT_Bus::ImplementationDetails List of all members.

Detailed Description

Class representing the source of a system fault There are 3 possible sources of a fault which is represented by an enum.

The possible values are CLIENT, SERVER or UNKNOWN

Definition at line 123 of file fault_exception.h.

Public Types

enum  Source

Public Member Functions

virtual const QNameget_type () const
 Returns the IT_Bus::QName for the type.
FaultSourceoperator= (const FaultSource &rhs)
void set_value (const Source value)
 Set the enum value for the source.
Source get_value () const
 Get the enum value for the source.

Private Attributes

Source m_val

Static Private Attributes

static const QName m_type


Member Function Documentation

virtual const QName& IT_Bus::FaultSource::get_type (  )  const [virtual]

Returns the IT_Bus::QName for the type.

Derived subclasses implement this method and return their QName.

Returns:
IT_Bus::QName.

Implements IT_Bus::AnyType.

Source IT_Bus::FaultSource::get_value (  )  const

Get the enum value for the source.

Returns:
FaultSource enum value

void IT_Bus::FaultSource::set_value ( const Source  value  ) 

Set the enum value for the source.

Parameters:
const FaultSource enum value


Generated on Thu Sep 7 11:39:53 2006 for Artix by  doxygen 1.4.7