#include <it_bus/fault_exception.h>
Inheritance diagram for IT_Bus::FaultSource:
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 void | write_value (AnySimpleTypeWriter &writer) const throw ((SerializationException)) |
Write the instance value. | |
virtual void | read_value (AnySimpleTypeReader &reader) throw ((DeserializationException)) |
Read the value into the instance. | |
virtual const QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
FaultSource & | operator= (const FaultSource &rhs) |
virtual AnyType & | copy (const AnyType &assign) |
Returns a reference to an AnyType that is a copy of the AnyType parameter. | |
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 |
virtual void IT_Bus::FaultSource::write_value | ( | AnySimpleTypeWriter & | writer | ) | const throw ((SerializationException)) [virtual] |
virtual void IT_Bus::FaultSource::read_value | ( | AnySimpleTypeReader & | reader | ) | throw ((DeserializationException)) [virtual] |
Read the value into the instance.
Derived classes implement this method.
Implements IT_Bus::AnySimpleType.
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.
Implements IT_Bus::AnyType.
Returns a reference to an AnyType that is a copy of the AnyType parameter.
Derived classes override this method, providing an appropriate implementation. In this base class, this method is not supported; an exception is always thrown.
AnyType | to be copied. |
IT_Bus::Exception | with message "Copy not supported" |
Reimplemented from IT_Bus::AnyType.
void IT_Bus::FaultSource::set_value | ( | const Source | value | ) |
Source IT_Bus::FaultSource::get_value | ( | ) | const |