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: DSRReferencedTimeOffsetList 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 DSRTCOTO_H 00032 #define DSRTCOTO_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 00040 /*---------------------* 00041 * class declaration * 00042 *---------------------*/ 00043 00046 class DSRReferencedTimeOffsetList 00047 : public DSRListOfItems<Float64> 00048 { 00049 00050 public: 00051 00054 DSRReferencedTimeOffsetList(); 00055 00059 DSRReferencedTimeOffsetList(const DSRReferencedTimeOffsetList &lst); 00060 00063 virtual ~DSRReferencedTimeOffsetList(); 00064 00069 DSRReferencedTimeOffsetList &operator=(const DSRReferencedTimeOffsetList &lst); 00070 00078 OFCondition print(STD_NAMESPACE ostream &stream, 00079 const size_t flags = 0, 00080 const char separator = ',') const; 00081 00086 OFCondition read(DcmItem &dataset); 00087 00092 OFCondition write(DcmItem &dataset) const; 00093 00100 OFCondition putString(const char *stringValue); 00101 }; 00102 00103 00104 #endif 00105 00106 00107 /* 00108 * CVS/RCS Log: 00109 * $Log: dsrtcoto.h,v $ 00110 * Revision 1.12 2010-10-14 13:16:33 joergr 00111 * Updated copyright header. Added reference to COPYRIGHT file. 00112 * 00113 * Revision 1.11 2009-10-13 14:57:50 uli 00114 * Switched to logging mechanism provided by the "new" oflog module. 00115 * 00116 * Revision 1.10 2007-11-15 16:33:19 joergr 00117 * Fixed coding style to be more consistent. 00118 * 00119 * Revision 1.9 2006/08/15 16:40:03 meichel 00120 * Updated the code in module dcmsr to correctly compile when 00121 * all standard C++ classes remain in namespace std. 00122 * 00123 * Revision 1.8 2005/12/08 16:05:23 meichel 00124 * Changed include path schema for all DCMTK header files 00125 * 00126 * Revision 1.7 2003/08/07 12:52:51 joergr 00127 * Added new putString() method. 00128 * 00129 * Revision 1.6 2003/06/03 10:16:44 meichel 00130 * Renamed local variables to avoid name clashes with STL 00131 * 00132 * Revision 1.5 2001/09/26 13:04:12 meichel 00133 * Adapted dcmsr to class OFCondition 00134 * 00135 * Revision 1.4 2001/06/01 15:51:04 meichel 00136 * Updated copyright header 00137 * 00138 * Revision 1.3 2000/11/06 11:20:10 joergr 00139 * Added parameter to print() method specifying the item separator character. 00140 * 00141 * Revision 1.2 2000/11/01 16:20:24 joergr 00142 * Updated comments/formatting. 00143 * 00144 * Revision 1.1 2000/10/26 14:23:25 joergr 00145 * Added support for TCOORD content item. 00146 * 00147 * 00148 * 00149 */