00001 /* 00002 * 00003 * Copyright (C) 1994-2005, 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: Gerd Ehlers, Andreas Barth 00021 * 00022 * Purpose: Interface of class DcmUnsignedLongOffset 00023 * 00024 * Last Update: $Author: meichel $ 00025 * Update Date: $Date: 2005/12/08 16:29:14 $ 00026 * Source File: $Source: /share/dicom/cvs-depot/dcmtk/dcmdata/include/dcmtk/dcmdata/dcvrulup.h,v $ 00027 * CVS/RCS Revision: $Revision: 1.16 $ 00028 * Status: $State: Exp $ 00029 * 00030 * CVS/RCS Log at end of file 00031 * 00032 */ 00033 00034 00035 #ifndef DCVRULUP_H 00036 #define DCVRULUP_H 00037 00038 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00039 00040 #include "dcmtk/dcmdata/dcvrul.h" 00041 00042 00045 class DcmUnsignedLongOffset 00046 : public DcmUnsignedLong 00047 { 00048 00049 public: 00050 00056 DcmUnsignedLongOffset(const DcmTag &tag, 00057 const Uint32 len = 0); 00058 00062 DcmUnsignedLongOffset(const DcmUnsignedLongOffset &old); 00063 00066 virtual ~DcmUnsignedLongOffset(); 00067 00071 virtual DcmObject *clone() const 00072 { 00073 return new DcmUnsignedLongOffset(*this); 00074 } 00075 00079 virtual DcmEVR ident() const; 00080 00084 virtual OFCondition clear(); 00085 00089 virtual DcmObject *getNextRecord(); 00090 00095 virtual DcmObject *setNextRecord(DcmObject *record); 00096 00101 virtual OFCondition verify(const OFBool autocorrect = OFFalse); 00102 00103 00104 protected: 00105 00107 DcmObject *nextRecord; 00108 00109 00110 private: 00111 00113 DcmUnsignedLongOffset &operator=(const DcmUnsignedLongOffset &); 00114 }; 00115 00116 00117 #endif // DCVRUSUP_H 00118 00119 00120 /* 00121 ** CVS/RCS Log: 00122 ** $Log: dcvrulup.h,v $ 00123 ** Revision 1.16 2005/12/08 16:29:14 meichel 00124 ** Changed include path schema for all DCMTK header files 00125 ** 00126 ** Revision 1.15 2004/07/01 12:28:25 meichel 00127 ** Introduced virtual clone method for DcmObject and derived classes. 00128 ** 00129 ** Revision 1.14 2002/12/06 12:49:20 joergr 00130 ** Enhanced "print()" function by re-working the implementation and replacing 00131 ** the boolean "showFullData" parameter by a more general integer flag. 00132 ** Added doc++ documentation. 00133 ** Made source code formatting more consistent with other modules/files. 00134 ** 00135 ** Revision 1.13 2001/09/25 17:19:35 meichel 00136 ** Adapted dcmdata to class OFCondition 00137 ** 00138 ** Revision 1.12 2001/06/01 15:48:54 meichel 00139 ** Updated copyright header 00140 ** 00141 ** Revision 1.11 2000/04/14 15:31:36 meichel 00142 ** Removed default value from output stream passed to print() method. 00143 ** Required for use in multi-thread environments. 00144 ** 00145 ** Revision 1.10 2000/03/08 16:26:27 meichel 00146 ** Updated copyright header. 00147 ** 00148 ** Revision 1.9 2000/03/03 14:05:28 meichel 00149 ** Implemented library support for redirecting error messages into memory 00150 ** instead of printing them to stdout/stderr for GUI applications. 00151 ** 00152 ** Revision 1.8 2000/02/10 10:50:56 joergr 00153 ** Added new feature to dcmdump (enhanced print method of dcmdata): write 00154 ** pixel data/item value fields to raw files. 00155 ** 00156 ** Revision 1.7 1999/03/31 09:25:10 meichel 00157 ** Updated copyright header in module dcmdata 00158 ** 00159 ** Revision 1.6 1998/07/15 15:48:56 joergr 00160 ** Removed several compiler warnings reported by gcc 2.8.1 with 00161 ** additional options, e.g. missing copy constructors and assignment 00162 ** operators, initialization of member variables in the body of a 00163 ** constructor instead of the member initialization list, hiding of 00164 ** methods by use of identical names, uninitialized member variables, 00165 ** missing const declaration of char pointers. Replaced tabs by spaces. 00166 ** 00167 ** Revision 1.5 1997/07/21 08:25:17 andreas 00168 ** - Replace all boolean types (BOOLEAN, CTNBOOLEAN, DICOM_BOOL, BOOL) 00169 ** with one unique boolean type OFBool. 00170 ** 00171 ** Revision 1.4 1996/08/05 08:45:40 andreas 00172 ** new print routine with additional parameters: 00173 ** - print into files 00174 ** - fix output length for elements 00175 ** corrected error in search routine with parameter ESM_fromStackTop 00176 ** 00177 ** Revision 1.3 1996/01/05 13:23:11 andreas 00178 ** - changed to support new streaming facilities 00179 ** - more cleanups 00180 ** - merged read / write methods for block and file transfer 00181 ** 00182 */