dcmdata/include/dcmtk/dcmdata/dcvrulup.h

00001 /*
00002  *
00003  *  Copyright (C) 1994-2010, OFFIS e.V.
00004  *  All rights reserved.  See COPYRIGHT file for details.
00005  *
00006  *  This software and supporting documentation were developed by
00007  *
00008  *    OFFIS e.V.
00009  *    R&D Division Health
00010  *    Escherweg 2
00011  *    D-26121 Oldenburg, Germany
00012  *
00013  *
00014  *  Module:  dcmdata
00015  *
00016  *  Author:  Gerd Ehlers, Andreas Barth
00017  *
00018  *  Purpose: Interface of class DcmUnsignedLongOffset
00019  *
00020  *  Last Update:      $Author: joergr $
00021  *  Update Date:      $Date: 2010-10-14 13:15:43 $
00022  *  CVS/RCS Revision: $Revision: 1.21 $
00023  *  Status:           $State: Exp $
00024  *
00025  *  CVS/RCS Log at end of file
00026  *
00027  */
00028 
00029 
00030 #ifndef DCVRULUP_H
00031 #define DCVRULUP_H
00032 
00033 #include "dcmtk/config/osconfig.h"    /* make sure OS specific configuration is included first */
00034 
00035 #include "dcmtk/dcmdata/dcvrul.h"
00036 
00037 
00040 class DcmUnsignedLongOffset
00041   : public DcmUnsignedLong
00042 {
00043 
00044   public:
00045 
00051     DcmUnsignedLongOffset(const DcmTag &tag,
00052                           const Uint32 len = 0);
00053 
00057     DcmUnsignedLongOffset(const DcmUnsignedLongOffset &old);
00058 
00061     virtual ~DcmUnsignedLongOffset();
00062 
00066     DcmUnsignedLongOffset &operator=(const DcmUnsignedLongOffset &);
00067 
00071     virtual DcmObject *clone() const
00072     {
00073       return new DcmUnsignedLongOffset(*this);
00074     }
00075     
00088     virtual OFCondition copyFrom(const DcmObject& rhs);    
00089 
00093     virtual DcmEVR ident() const;
00094 
00098     virtual OFCondition clear();
00099 
00103     virtual DcmObject *getNextRecord();
00104 
00109     virtual DcmObject *setNextRecord(DcmObject *record);
00110 
00115     virtual OFCondition verify(const OFBool autocorrect = OFFalse);
00116 
00117   private:
00118 
00120     DcmObject *nextRecord;
00121 };
00122 
00123 
00124 #endif // DCVRUSUP_H
00125 
00126 
00127 /*
00128 ** CVS/RCS Log:
00129 ** $Log: dcvrulup.h,v $
00130 ** Revision 1.21  2010-10-14 13:15:43  joergr
00131 ** Updated copyright header. Added reference to COPYRIGHT file.
00132 **
00133 ** Revision 1.20  2009-11-04 09:58:08  uli
00134 ** Switched to logging mechanism provided by the "new" oflog module
00135 **
00136 ** Revision 1.19  2008-07-17 11:19:49  onken
00137 ** Updated copyFrom() documentation.
00138 **
00139 ** Revision 1.18  2008-07-17 10:30:23  onken
00140 ** Implemented copyFrom() method for complete DcmObject class hierarchy, which
00141 ** permits setting an instance's value from an existing object. Implemented
00142 ** assignment operator where necessary.
00143 **
00144 ** Revision 1.17  2007-06-29 14:17:49  meichel
00145 ** Code clean-up: Most member variables in module dcmdata are now private,
00146 **   not protected anymore.
00147 **
00148 ** Revision 1.16  2005/12/08 16:29:14  meichel
00149 ** Changed include path schema for all DCMTK header files
00150 **
00151 ** Revision 1.15  2004/07/01 12:28:25  meichel
00152 ** Introduced virtual clone method for DcmObject and derived classes.
00153 **
00154 ** Revision 1.14  2002/12/06 12:49:20  joergr
00155 ** Enhanced "print()" function by re-working the implementation and replacing
00156 ** the boolean "showFullData" parameter by a more general integer flag.
00157 ** Added doc++ documentation.
00158 ** Made source code formatting more consistent with other modules/files.
00159 **
00160 ** Revision 1.13  2001/09/25 17:19:35  meichel
00161 ** Adapted dcmdata to class OFCondition
00162 **
00163 ** Revision 1.12  2001/06/01 15:48:54  meichel
00164 ** Updated copyright header
00165 **
00166 ** Revision 1.11  2000/04/14 15:31:36  meichel
00167 ** Removed default value from output stream passed to print() method.
00168 **   Required for use in multi-thread environments.
00169 **
00170 ** Revision 1.10  2000/03/08 16:26:27  meichel
00171 ** Updated copyright header.
00172 **
00173 ** Revision 1.9  2000/03/03 14:05:28  meichel
00174 ** Implemented library support for redirecting error messages into memory
00175 **   instead of printing them to stdout/stderr for GUI applications.
00176 **
00177 ** Revision 1.8  2000/02/10 10:50:56  joergr
00178 ** Added new feature to dcmdump (enhanced print method of dcmdata): write
00179 ** pixel data/item value fields to raw files.
00180 **
00181 ** Revision 1.7  1999/03/31 09:25:10  meichel
00182 ** Updated copyright header in module dcmdata
00183 **
00184 ** Revision 1.6  1998/07/15 15:48:56  joergr
00185 ** Removed several compiler warnings reported by gcc 2.8.1 with
00186 ** additional options, e.g. missing copy constructors and assignment
00187 ** operators, initialization of member variables in the body of a
00188 ** constructor instead of the member initialization list, hiding of
00189 ** methods by use of identical names, uninitialized member variables,
00190 ** missing const declaration of char pointers. Replaced tabs by spaces.
00191 **
00192 ** Revision 1.5  1997/07/21 08:25:17  andreas
00193 ** - Replace all boolean types (BOOLEAN, CTNBOOLEAN, DICOM_BOOL, BOOL)
00194 **   with one unique boolean type OFBool.
00195 **
00196 ** Revision 1.4  1996/08/05 08:45:40  andreas
00197 ** new print routine with additional parameters:
00198 **         - print into files
00199 **         - fix output length for elements
00200 ** corrected error in search routine with parameter ESM_fromStackTop
00201 **
00202 ** Revision 1.3  1996/01/05 13:23:11  andreas
00203 ** - changed to support new streaming facilities
00204 ** - more cleanups
00205 ** - merged read / write methods for block and file transfer
00206 **
00207 */


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1