00001 /* 00002 * 00003 * Copyright (C) 2000-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: dcmsr 00015 * 00016 * Author: Joerg Riesmeier 00017 * 00018 * Purpose: 00019 * classes: DSRReferencedDatetimeList 00020 * 00021 * Last Update: $Author: joergr $ 00022 * Update Date: $Date: 2010-10-14 13:16:33 $ 00023 * CVS/RCS Revision: $Revision: 1.12 $ 00024 * Status: $State: Exp $ 00025 * 00026 * CVS/RCS Log at end of file 00027 * 00028 */ 00029 00030 00031 #ifndef DSRTCODT_H 00032 #define DSRTCODT_H 00033 00034 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00035 00036 #include "dcmtk/dcmsr/dsrtypes.h" 00037 #include "dcmtk/dcmsr/dsrtlist.h" 00038 00039 #include "dcmtk/ofstd/ofstring.h" 00040 00041 00042 /*---------------------* 00043 * class declaration * 00044 *---------------------*/ 00045 00048 class DSRReferencedDatetimeList 00049 : public DSRListOfItems<OFString> 00050 { 00051 00052 public: 00053 00056 DSRReferencedDatetimeList(); 00057 00061 DSRReferencedDatetimeList(const DSRReferencedDatetimeList &lst); 00062 00065 virtual ~DSRReferencedDatetimeList(); 00066 00071 DSRReferencedDatetimeList &operator=(const DSRReferencedDatetimeList &lst); 00072 00080 OFCondition print(STD_NAMESPACE ostream &stream, 00081 const size_t flags = 0, 00082 const char separator = ',') const; 00083 00088 OFCondition read(DcmItem &dataset); 00089 00094 OFCondition write(DcmItem &dataset) const; 00095 00102 OFCondition putString(const char *stringValue); 00103 }; 00104 00105 00106 #endif 00107 00108 00109 /* 00110 * CVS/RCS Log: 00111 * $Log: dsrtcodt.h,v $ 00112 * Revision 1.12 2010-10-14 13:16:33 joergr 00113 * Updated copyright header. Added reference to COPYRIGHT file. 00114 * 00115 * Revision 1.11 2009-10-13 14:57:50 uli 00116 * Switched to logging mechanism provided by the "new" oflog module. 00117 * 00118 * Revision 1.10 2007-11-15 16:33:19 joergr 00119 * Fixed coding style to be more consistent. 00120 * 00121 * Revision 1.9 2006/08/15 16:40:03 meichel 00122 * Updated the code in module dcmsr to correctly compile when 00123 * all standard C++ classes remain in namespace std. 00124 * 00125 * Revision 1.8 2005/12/08 16:05:20 meichel 00126 * Changed include path schema for all DCMTK header files 00127 * 00128 * Revision 1.7 2003/08/07 12:51:14 joergr 00129 * Added new putString() method. 00130 * 00131 * Revision 1.6 2003/06/03 10:16:44 meichel 00132 * Renamed local variables to avoid name clashes with STL 00133 * 00134 * Revision 1.5 2001/09/26 13:04:11 meichel 00135 * Adapted dcmsr to class OFCondition 00136 * 00137 * Revision 1.4 2001/06/01 15:51:04 meichel 00138 * Updated copyright header 00139 * 00140 * Revision 1.3 2000/11/06 11:19:18 joergr 00141 * Added parameter to print() method specifying the item separator character. 00142 * 00143 * Revision 1.2 2000/11/01 16:20:24 joergr 00144 * Updated comments/formatting. 00145 * 00146 * Revision 1.1 2000/10/26 14:23:24 joergr 00147 * Added support for TCOORD content item. 00148 * 00149 * 00150 * 00151 */