Static Public Member Functions | |
| static void | dump (OFCondition cond, OFConsole &console=ofConsole) |
| dumps given condition code to console. | |
| static OFCondition | push (unsigned short aModule, unsigned short aCode, OFStatus aStatus, const char *aText, OFCondition subCondition) |
| creates a new condition from the given parameters and the sub-condition. | |
| static OFCondition | push (OFCondition newCondition, OFCondition subCondition) |
| creates a new hierarchical condition from the given condition and sub-condition. | |
Definition at line 208 of file cond.h.
| static void DimseCondition::dump | ( | OFCondition | cond, | |
| OFConsole & | console = ofConsole | |||
| ) | [static] |
dumps given condition code to console.
This method is intended as a replacement for COND_DumpCondition(). Since no global condition stack exists anymore, the condition must be passed to this method.
| cond | condition to be dumped | |
| console | console to dump to |
| static OFCondition DimseCondition::push | ( | unsigned short | aModule, | |
| unsigned short | aCode, | |||
| OFStatus | aStatus, | |||
| const char * | aText, | |||
| OFCondition | subCondition | |||
| ) | [static] |
creates a new condition from the given parameters and the sub-condition.
This method is intended as a replacement for COND_PushCondition(). Instead of maintaining a global condition stack (which is difficult in multi-threaded applications), the error text of the sub-condition is appended to the newly created condition.
| static OFCondition DimseCondition::push | ( | OFCondition | newCondition, | |
| OFCondition | subCondition | |||
| ) | [static] |
creates a new hierarchical condition from the given condition and sub-condition.
This method is intended as a replacement for COND_PushCondition(). Instead of maintaining a global condition stack (which is difficult in multi-threaded applications), the error text of the sub-condition is appended to the newly created condition.