DCMTK  Version 3.6.1 20170228
OFFIS DICOM Toolkit
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
OFConditionConst Struct Reference

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

Public Member Functions

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

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

References theCode, theModule, and theStatus.


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


Generated on Tue Feb 28 2017 for DCMTK Version 3.6.1 20170228 by Doxygen 1.8.8