OFFIS DCMTK
Version 3.6.0
|
this class is used to declare condition codes with user defined error messages. More...
Public Member Functions | |
OFConditionString (unsigned short aModule, unsigned short aCode, OFStatus aStatus, const char *aText) | |
constructor. | |
OFConditionString (const OFConditionString &arg) | |
copy constructor | |
virtual | ~OFConditionString () |
destructor | |
virtual const OFConditionBase * | clone () const |
this method returns a pointer to a OFConditionBase object containing a clone of this object. | |
virtual unsigned long | codeAndModule () const |
returns a combined code and module for this object. | |
virtual OFStatus | status () const |
returns the status for this object. | |
virtual const char * | text () const |
returns the error message text for this object. | |
virtual OFBool | deletable () const |
checks if this object is deletable, e.g. | |
![]() | |
OFConditionBase () | |
default constructor | |
OFConditionBase (const OFConditionBase &) | |
copy constructor | |
virtual | ~OFConditionBase () |
destructor | |
unsigned short | module () const |
returns the module identifier for this object. | |
unsigned short | code () const |
returns the status code identifier for this object. | |
OFBool | operator== (const OFConditionBase &arg) const |
comparison operator. | |
OFBool | operator!= (const OFConditionBase &arg) const |
comparison operator, not equal. | |
Private Member Functions | |
OFConditionString & | operator= (const OFConditionString &arg) |
private undefined copy assignment operator | |
Private Attributes | |
unsigned long | theCodeAndModule |
code/module identification. Code is lower 16 bits, module is upper 16 bits | |
OFStatus | theStatus |
status | |
OFString | theText |
condition description | |
this class is used to declare condition codes with user defined error messages.
|
inline |
|
virtual |
this method returns a pointer to a OFConditionBase object containing a clone of this object.
The clone is a deep copy allocated on the heap.
Implements OFConditionBase.
|
virtual |
returns a combined code and module for this object.
code is lower 16 bits, module is upper 16 bits
Implements OFConditionBase.
|
virtual |
checks if this object is deletable, e.g.
all instances of this class are allocated on the heap.
Implements OFConditionBase.