DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Public Attributes
OFConditionConst Struct Reference

A constant data structure which can be used for an OFCondition. More...

List of all members.

Public Member Functions

OFBool operator== (const OFConditionConst &arg) const
 comparison operator.
OFBool operator!= (const OFConditionConst &arg) const
 comparison operator.

Public Attributes

unsigned short theModule
 module identifier. 0 is reserved for global codes.
unsigned short theCode
 status code that is unique for each module
OFStatus theStatus
 condition status enum
const char * theText
 error text

Detailed Description

A constant data structure which can be used for an OFCondition.

The reason this exists is because we need a trivially constructible class (= needs no constructor to be run before being usable) that can hold static condition codes.


Member Function Documentation

OFBool OFConditionConst::operator!= ( const OFConditionConst arg) const [inline]

comparison operator.

Compares status, code and module but not error text.

Parameters:
argerror to compare to
Returns:
true if equal, false otherwise
OFBool OFConditionConst::operator== ( const OFConditionConst arg) const [inline]

comparison operator.

Compares status, code and module but not error text.

Parameters:
argerror to compare to
Returns:
true if equal, false otherwise

The documentation for this struct was generated from the following file:


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027