00001 /* 00002 * 00003 * Copyright (C) 2000-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: dcmsr 00019 * 00020 * Author: Joerg Riesmeier 00021 * 00022 * Purpose: 00023 * classes: DSRReferencedDatetimeList 00024 * 00025 * Last Update: $Author: meichel $ 00026 * Update Date: $Date: 2005/12/08 16:05:20 $ 00027 * CVS/RCS Revision: $Revision: 1.8 $ 00028 * Status: $State: Exp $ 00029 * 00030 * CVS/RCS Log at end of file 00031 * 00032 */ 00033 00034 00035 #ifndef DSRTCODT_H 00036 #define DSRTCODT_H 00037 00038 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00039 00040 #include "dcmtk/dcmsr/dsrtypes.h" 00041 #include "dcmtk/dcmsr/dsrtlist.h" 00042 00043 #include "dcmtk/ofstd/ofstring.h" 00044 00045 00046 /*---------------------* 00047 * class declaration * 00048 *---------------------*/ 00049 00052 class DSRReferencedDatetimeList 00053 : public DSRListOfItems<OFString> 00054 { 00055 00056 public: 00057 00060 DSRReferencedDatetimeList(); 00061 00065 DSRReferencedDatetimeList(const DSRReferencedDatetimeList &lst); 00066 00069 virtual ~DSRReferencedDatetimeList(); 00070 00075 DSRReferencedDatetimeList &operator=(const DSRReferencedDatetimeList &lst); 00076 00084 OFCondition print(ostream &stream, 00085 const size_t flags = 0, 00086 const char separator = ',') const; 00087 00093 OFCondition read(DcmItem &dataset, 00094 OFConsole *logStream); 00095 00101 OFCondition write(DcmItem &dataset, 00102 OFConsole *logStream) const; 00103 00110 OFCondition putString(const char *stringValue); 00111 }; 00112 00113 00114 #endif 00115 00116 00117 /* 00118 * CVS/RCS Log: 00119 * $Log: dsrtcodt.h,v $ 00120 * Revision 1.8 2005/12/08 16:05:20 meichel 00121 * Changed include path schema for all DCMTK header files 00122 * 00123 * Revision 1.7 2003/08/07 12:51:14 joergr 00124 * Added new putString() method. 00125 * 00126 * Revision 1.6 2003/06/03 10:16:44 meichel 00127 * Renamed local variables to avoid name clashes with STL 00128 * 00129 * Revision 1.5 2001/09/26 13:04:11 meichel 00130 * Adapted dcmsr to class OFCondition 00131 * 00132 * Revision 1.4 2001/06/01 15:51:04 meichel 00133 * Updated copyright header 00134 * 00135 * Revision 1.3 2000/11/06 11:19:18 joergr 00136 * Added parameter to print() method specifying the item separator character. 00137 * 00138 * Revision 1.2 2000/11/01 16:20:24 joergr 00139 * Updated comments/formatting. 00140 * 00141 * Revision 1.1 2000/10/26 14:23:24 joergr 00142 * Added support for TCOORD content item. 00143 * 00144 * 00145 * 00146 */