OFFIS DCMTK  Version 3.6.0
dcrleerg.h
1 /*
2  *
3  * Copyright (C) 1994-2010, OFFIS e.V.
4  * All rights reserved. See COPYRIGHT file for details.
5  *
6  * This software and supporting documentation were developed by
7  *
8  * OFFIS e.V.
9  * R&D Division Health
10  * Escherweg 2
11  * D-26121 Oldenburg, Germany
12  *
13  *
14  * Module: dcmdata
15  *
16  * Author: Marco Eichelberg
17  *
18  * Purpose: singleton class that registers RLE encoder.
19  *
20  * Last Update: $Author: joergr $
21  * Update Date: $Date: 2010-10-14 13:15:42 $
22  * CVS/RCS Revision: $Revision: 1.7 $
23  * Status: $State: Exp $
24  *
25  * CVS/RCS Log at end of file
26  *
27  */
28 
29 #ifndef DCRLEERG_H
30 #define DCRLEERG_H
31 
32 #include "dcmtk/config/osconfig.h"
33 #include "dcmtk/ofstd/oftypes.h" /* for OFBool */
34 #include "dcmtk/ofstd/oftypes.h" /* for Uint32 */
35 
37 class DcmRLECodecEncoder;
38 
42 {
43 public:
44 
55  static void registerCodecs(
56  OFBool pCreateSOPInstanceUID = OFFalse,
57  Uint32 pFragmentSize = 0,
58  OFBool pCreateOffsetTable = OFTrue,
59  OFBool pConvertToSC = OFFalse);
60 
66  static void cleanup();
67 
68 private:
69 
72 
75 
77  static OFBool registered;
78 
81 
84 
85  // dummy friend declaration to prevent gcc from complaining
86  // that this class only defines private constructors and has no friends.
87  friend class DcmRLEEncoderRegistrationDummyFriend;
88 
89 };
90 
91 #endif
92 
93 /*
94  * CVS/RCS Log
95  * $Log: dcrleerg.h,v $
96  * Revision 1.7 2010-10-14 13:15:42 joergr
97  * Updated copyright header. Added reference to COPYRIGHT file.
98  *
99  * Revision 1.6 2010-03-01 09:08:44 uli
100  * Removed some unnecessary include directives in the headers.
101  *
102  * Revision 1.5 2009-11-04 09:58:07 uli
103  * Switched to logging mechanism provided by the "new" oflog module
104  *
105  * Revision 1.4 2005-12-08 16:28:39 meichel
106  * Changed include path schema for all DCMTK header files
107  *
108  * Revision 1.3 2004/01/20 12:57:21 meichel
109  * Added dummy friend class to avoid warning on certain gcc releases
110  *
111  * Revision 1.2 2003/03/21 13:06:46 meichel
112  * Minor code purifications for warnings reported by MSVC in Level 4
113  *
114  * Revision 1.1 2002/06/06 14:52:37 meichel
115  * Initial release of the new RLE codec classes
116  * and the dcmcrle/dcmdrle tools in module dcmdata
117  *
118  *
119  */


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2