00001 /* 00002 * 00003 * Copyright (C) 1994-2002, 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: codec parameter for RLE 00023 * 00024 * Last Update: $Author: meichel $ 00025 * Update Date: $Date: 2002/06/06 14:52:35 $ 00026 * Source File: $Source: /share/dicom/cvs-depot/dcmtk/dcmdata/include/dcrlecp.h,v $ 00027 * CVS/RCS Revision: $Revision: 1.1 $ 00028 * Status: $State: Exp $ 00029 * 00030 * CVS/RCS Log at end of file 00031 * 00032 */ 00033 00034 #ifndef DCRLECP_H 00035 #define DCRLECP_H 00036 00037 #include "osconfig.h" 00038 #include "dccodec.h" /* for DcmCodecParameter */ 00039 00042 class DcmRLECodecParameter: public DcmCodecParameter 00043 { 00044 public: 00045 00055 DcmRLECodecParameter( 00056 OFBool pVerbose = OFFalse, 00057 OFBool pCreateSOPInstanceUID = OFFalse, 00058 Uint32 pFragmentSize = 0, 00059 OFBool pCreateOffsetTable = OFTrue, 00060 OFBool pConvertToSC = OFFalse); 00061 00063 DcmRLECodecParameter(const DcmRLECodecParameter& arg); 00064 00066 virtual ~DcmRLECodecParameter(); 00067 00072 virtual DcmCodecParameter *clone() const; 00073 00077 virtual const char *className() const; 00078 00082 Uint32 getFragmentSize() const 00083 { 00084 return fragmentSize; 00085 } 00086 00090 OFBool getCreateOffsetTable() const 00091 { 00092 return createOffsetTable; 00093 } 00094 00098 OFBool getConvertToSC() const 00099 { 00100 return convertToSC; 00101 } 00102 00106 OFBool getUIDCreation() const 00107 { 00108 return createInstanceUID; 00109 } 00110 00114 OFBool isVerbose() const 00115 { 00116 return verboseMode; 00117 } 00118 00119 private: 00120 00122 DcmRLECodecParameter& operator=(const DcmRLECodecParameter&); 00123 00125 Uint32 fragmentSize; 00126 00128 OFBool createOffsetTable; 00129 00131 OFBool convertToSC; 00132 00134 OFBool createInstanceUID; 00135 00137 OFBool verboseMode; 00138 }; 00139 00140 00141 #endif 00142 00143 /* 00144 * CVS/RCS Log 00145 * $Log: dcrlecp.h,v $ 00146 * Revision 1.1 2002/06/06 14:52:35 meichel 00147 * Initial release of the new RLE codec classes 00148 * and the dcmcrle/dcmdrle tools in module dcmdata 00149 * 00150 * 00151 */