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: Andrew Hewett 00021 * 00022 * Purpose: Interface of class DcmUnlimitedText 00023 * Value Representation UT is defined in Correction Proposal 101 00024 * 00025 * Last Update: $Author: meichel $ 00026 * Update Date: $Date: 2005/12/08 16:29:16 $ 00027 * Source File: $Source: /share/dicom/cvs-depot/dcmtk/dcmdata/include/dcmtk/dcmdata/dcvrut.h,v $ 00028 * CVS/RCS Revision: $Revision: 1.9 $ 00029 * Status: $State: Exp $ 00030 * 00031 * CVS/RCS Log at end of file 00032 * 00033 */ 00034 00035 00036 #ifndef DCVRUT_H 00037 #define DCVRUT_H 00038 00039 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00040 00041 #include "dcmtk/dcmdata/dctypes.h" 00042 #include "dcmtk/dcmdata/dcchrstr.h" 00043 00044 00047 class DcmUnlimitedText 00048 : public DcmCharString 00049 { 00050 00051 public: 00052 00053 DcmUnlimitedText(const DcmTag &tag, 00054 const Uint32 len = 0); 00055 00056 DcmUnlimitedText(const DcmUnlimitedText &old); 00057 00058 virtual ~DcmUnlimitedText(); 00059 00060 DcmUnlimitedText &operator=(const DcmUnlimitedText &obj); 00061 00065 virtual DcmObject *clone() const 00066 { 00067 return new DcmUnlimitedText(*this); 00068 } 00069 00070 virtual DcmEVR ident() const; 00071 00077 virtual unsigned long getVM(); 00078 00085 virtual OFCondition getOFString(OFString &stringVal, 00086 const unsigned long pos, 00087 OFBool normalize = OFTrue); 00088 00094 virtual OFCondition getOFStringArray(OFString &stringVal, 00095 OFBool normalize = OFTrue); 00096 }; 00097 00098 00099 #endif // DCVRUT_H 00100 00101 00102 /* 00103 ** CVS/RCS Log: 00104 ** $Log: dcvrut.h,v $ 00105 ** Revision 1.9 2005/12/08 16:29:16 meichel 00106 ** Changed include path schema for all DCMTK header files 00107 ** 00108 ** Revision 1.8 2004/07/01 12:28:25 meichel 00109 ** Introduced virtual clone method for DcmObject and derived classes. 00110 ** 00111 ** Revision 1.7 2002/12/06 12:49:21 joergr 00112 ** Enhanced "print()" function by re-working the implementation and replacing 00113 ** the boolean "showFullData" parameter by a more general integer flag. 00114 ** Added doc++ documentation. 00115 ** Made source code formatting more consistent with other modules/files. 00116 ** 00117 ** Revision 1.6 2001/09/25 17:19:36 meichel 00118 ** Adapted dcmdata to class OFCondition 00119 ** 00120 ** Revision 1.5 2001/06/01 15:48:55 meichel 00121 ** Updated copyright header 00122 ** 00123 ** Revision 1.4 2000/03/08 16:26:28 meichel 00124 ** Updated copyright header. 00125 ** 00126 ** Revision 1.3 1999/03/31 09:25:12 meichel 00127 ** Updated copyright header in module dcmdata 00128 ** 00129 ** Revision 1.2 1998/11/12 16:47:58 meichel 00130 ** Implemented operator= for all classes derived from DcmObject. 00131 ** 00132 ** Revision 1.1 1998/01/19 13:19:40 hewett 00133 ** Initial version. 00134 ** 00135 */