dvpsvll.h

00001 /*
00002  *
00003  *  Copyright (C) 1998-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: dcmpstat
00019  *
00020  *  Author: Marco Eichelberg
00021  *
00022  *  Purpose:
00023  *    classes: DVPSVOILUT_PList
00024  *
00025  *  Last Update:      $Author: meichel $
00026  *  Update Date:      $Date: 2005/12/08 16:04:12 $
00027  *  CVS/RCS Revision: $Revision: 1.7 $
00028  *  Status:           $State: Exp $
00029  *
00030  *  CVS/RCS Log at end of file
00031  *
00032  */
00033 
00034 #ifndef __DVPSVLL_H__
00035 #define __DVPSVLL_H__
00036 
00037 #include "dcmtk/config/osconfig.h"    /* make sure OS specific configuration is included first */
00038 #include "dcmtk/ofstd/oflist.h"
00039 #include "dcmtk/dcmdata/dctk.h"
00040 
00041 class DVPSVOILUT;
00042 
00043 
00049 class DVPSVOILUT_PList
00050 {
00051 public:
00053   DVPSVOILUT_PList();
00054   
00056   DVPSVOILUT_PList(const DVPSVOILUT_PList& copy);
00057 
00062   DVPSVOILUT_PList *clone() { return new DVPSVOILUT_PList(*this); }
00063 
00065   virtual ~DVPSVOILUT_PList();
00066 
00076   OFCondition read(DcmItem &dset);
00077 
00082   void clear();
00083   
00087   size_t size() const { return list_.size(); }  
00088 
00094   DVPSVOILUT *getVOILUT(size_t idx);
00095 
00101   void setLog(OFConsole *stream, OFBool verbMode, OFBool dbgMode);
00102 
00103 private:
00104 
00106   DVPSVOILUT_PList& operator=(const DVPSVOILUT_PList&);
00107 
00110   OFList<DVPSVOILUT *> list_;
00111 
00114   OFConsole *logstream;
00115 
00118   OFBool verboseMode;
00119    
00122   OFBool debugMode;
00123 
00124   
00125 };
00126 
00127 #endif
00128 
00129 /*
00130  *  $Log: dvpsvll.h,v $
00131  *  Revision 1.7  2005/12/08 16:04:12  meichel
00132  *  Changed include path schema for all DCMTK header files
00133  *
00134  *  Revision 1.6  2003/06/04 10:18:06  meichel
00135  *  Replaced private inheritance from template with aggregation
00136  *
00137  *  Revision 1.5  2001/09/26 15:36:18  meichel
00138  *  Adapted dcmpstat to class OFCondition
00139  *
00140  *  Revision 1.4  2001/06/01 15:50:25  meichel
00141  *  Updated copyright header
00142  *
00143  *  Revision 1.3  2000/06/02 16:00:54  meichel
00144  *  Adapted all dcmpstat classes to use OFConsole for log and error output
00145  *
00146  *  Revision 1.2  2000/03/08 16:28:59  meichel
00147  *  Updated copyright header.
00148  *
00149  *  Revision 1.1  1998/12/22 17:57:09  meichel
00150  *  Implemented Presentation State interface for overlays,
00151  *    VOI LUTs, VOI windows, curves. Added test program that
00152  *    allows to add curve data to DICOM images.
00153  *
00154  *
00155  */
00156 


Generated on 20 Dec 2005 for OFFIS DCMTK Version 3.5.4 by Doxygen 1.4.5