DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Static Public Member Functions | Private Member Functions | Static Private Attributes | Friends
DcmRLEDecoderRegistration Class Reference

singleton class that registers an RLE decoder. More...

List of all members.

Static Public Member Functions

static void registerCodecs (OFBool pCreateSOPInstanceUID=OFFalse, OFBool pReverseDecompressionByteOrder=OFFalse)
 registers RLE decoder.
static void cleanup ()
 deregisters decoder.

Private Member Functions

 DcmRLEDecoderRegistration (const DcmRLEDecoderRegistration &)
 private undefined copy constructor
DcmRLEDecoderRegistrationoperator= (const DcmRLEDecoderRegistration &)
 private undefined copy assignment operator

Static Private Attributes

static OFBool registered
 flag indicating whether the decoder is already registered.
static DcmRLECodecParametercp
 pointer to codec parameter
static DcmRLECodecDecodercodec
 pointer to RLE decoder

Friends

class DcmRLEDecoderRegistrationDummyFriend

Detailed Description

singleton class that registers an RLE decoder.


Member Function Documentation

static void DcmRLEDecoderRegistration::cleanup ( ) [static]

deregisters decoder.

Attention: Must not be called while other threads might still use the registered codecs, e.g. because they are currently decoding DICOM data sets through dcmdata.

static void DcmRLEDecoderRegistration::registerCodecs ( OFBool  pCreateSOPInstanceUID = OFFalse,
OFBool  pReverseDecompressionByteOrder = OFFalse 
) [static]

registers RLE decoder.

If already registered, call is ignored unless cleanup() has been performed before.

Parameters:
pCreateSOPInstanceUIDflag indicating whether or not a new SOP Instance UID should be assigned upon decompression.
pReverseDecompressionByteOrderflag indicating whether the byte order should be reversed upon decompression. Needed to correctly decode some incorrectly encoded images with more than one byte per sample.

The documentation for this class 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