Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

dcrledrg.h

00001 /*
00002  *
00003  *  Copyright (C) 2002-2004, OFFIS
00004  *
00005  *  This software and supporting documentation were developed by
00006  *
00007  *    Kuratorium OFFIS e.V.
00008  *    Healthcare Information and Communication Systems
00009  *    Escherweg 2
00010  *    D-26121 Oldenburg, Germany
00011  *
00012  *  THIS SOFTWARE IS MADE AVAILABLE,  AS IS,  AND OFFIS MAKES NO  WARRANTY
00013  *  REGARDING  THE  SOFTWARE,  ITS  PERFORMANCE,  ITS  MERCHANTABILITY  OR
00014  *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES  OR
00015  *  ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND
00016  *  PERFORMANCE OF THE SOFTWARE IS WITH THE USER.
00017  *
00018  *  Module:  dcmdata
00019  *
00020  *  Author:  Marco Eichelberg
00021  *
00022  *  Purpose: singleton class that registers RLE decoder.
00023  *
00024  *  Last Update:      $Author: joergr $
00025  *  Update Date:      $Date: 2004/02/04 16:00:22 $
00026  *  CVS/RCS Revision: $Revision: 1.4 $
00027  *  Status:           $State: Exp $
00028  *
00029  *  CVS/RCS Log at end of file
00030  *
00031  */
00032 
00033 #ifndef DCRLEDRG_H
00034 #define DCRLEDRG_H
00035 
00036 #include "osconfig.h"
00037 #include "oftypes.h"  /* for OFBool */
00038 
00039 class DcmRLECodecParameter;
00040 class DcmRLECodecDecoder;
00041 
00044 class DcmRLEDecoderRegistration 
00045 {
00046 public: 
00054   static void registerCodecs(
00055     OFBool pCreateSOPInstanceUID = OFFalse,
00056     OFBool pVerbose = OFFalse);
00057 
00063   static void cleanup();
00064 
00065 private:
00066 
00068   DcmRLEDecoderRegistration(const DcmRLEDecoderRegistration&);
00069   
00071   DcmRLEDecoderRegistration& operator=(const DcmRLEDecoderRegistration&);
00072 
00074   static OFBool registered;
00075 
00077   static DcmRLECodecParameter *cp;
00078   
00080   static DcmRLECodecDecoder *codec;
00081 
00082   // dummy friend declaration to prevent gcc from complaining
00083   // that this class only defines private constructors and has no friends.
00084   friend class DcmRLEDecoderRegistrationDummyFriend;
00085 
00086 };
00087 
00088 #endif
00089 
00090 /*
00091  * CVS/RCS Log
00092  * $Log: dcrledrg.h,v $
00093  * Revision 1.4  2004/02/04 16:00:22  joergr
00094  * Added CVS log entry at the end of the file.
00095  *
00096  *
00097  */


Generated on 8 Dec 2004 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.3.9.1