OFFIS DCMTK  Version 3.6.0
diplugin.h
1 /*
2  *
3  * Copyright (C) 2001-2010, OFFIS e.V.
4  * All rights reserved. See COPYRIGHT file for details.
5  *
6  * This software and supporting documentation were developed by
7  *
8  * OFFIS e.V.
9  * R&D Division Health
10  * Escherweg 2
11  * D-26121 Oldenburg, Germany
12  *
13  *
14  * Module: dcmimgle
15  *
16  * Author: Joerg Riesmeier
17  *
18  * Purpose: Provides abstract interface to plugable image output formats
19  *
20  * Last Update: $Author: joergr $
21  * Update Date: $Date: 2010-10-14 13:16:27 $
22  * CVS/RCS Revision: $Revision: 1.5 $
23  * Status: $State: Exp $
24  *
25  * CVS/RCS Log at end of file
26  *
27  */
28 
29 
30 #ifndef DIPLUGIN_H
31 #define DIPLUGIN_H
32 
33 #include "dcmtk/config/osconfig.h"
34 
35 #define INCLUDE_CSTDIO
36 #include "dcmtk/ofstd/ofstdinc.h"
37 
38 
39 /*------------------------*
40  * forward declarations *
41  *------------------------*/
42 
43 class DiImage;
44 
45 
46 /*---------------------*
47  * class declaration *
48  *---------------------*/
49 
56 {
57 
58  public:
59 
62  virtual ~DiPluginFormat() {}
63 
72  virtual int write(DiImage *image,
73  FILE *stream,
74  const unsigned long frame = 0) const = 0;
75 
76  protected:
77 
81 };
82 
83 
84 #endif
85 
86 
87 /*
88  *
89  * CVS/RCS Log:
90  * $Log: diplugin.h,v $
91  * Revision 1.5 2010-10-14 13:16:27 joergr
92  * Updated copyright header. Added reference to COPYRIGHT file.
93  *
94  * Revision 1.4 2005/12/08 16:48:05 meichel
95  * Changed include path schema for all DCMTK header files
96  *
97  * Revision 1.3 2003/12/08 19:29:29 joergr
98  * Removed leading underscore characters from preprocessor symbols (reserved
99  * symbols). Updated copyright header.
100  *
101  * Revision 1.2 2002/11/27 14:08:07 meichel
102  * Adapted module dcmimgle to use of new header file ofstdinc.h
103  *
104  * Revision 1.1 2001/11/27 18:25:04 joergr
105  * Added support for plugable output formats in class DicomImage. First
106  * implementation is JPEG.
107  *
108  *
109  */


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2