GDCM
2.2.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Source
MediaStorageAndFileFormat
gdcmDecoder.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: GDCM (Grassroots DICOM). A DICOM library
4
5
Copyright (c) 2006-2011 Mathieu Malaterre
6
All rights reserved.
7
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notice for more information.
12
13
=========================================================================*/
14
15
#ifndef GDCMDECODER_H
16
#define GDCMDECODER_H
17
18
#include "
gdcmTypes.h
"
19
#include "
gdcmDataElement.h
"
// FIXME
20
21
namespace
gdcm
22
{
23
24
class
TransferSyntax;
25
class
DataElement;
29
class
GDCM_EXPORT
Decoder
30
{
31
public
:
32
virtual
~Decoder
() {}
33
35
virtual
bool
CanDecode(
TransferSyntax
const
&)
const
= 0;
36
38
virtual
bool
Decode
(
DataElement
const
&is_,
DataElement
&os) { (void)is_;(void)os;
return
false
; }
39
protected
:
40
virtual
bool
Decode
(std::istream &is_, std::ostream &os) { (void)is_; (void)os;
return
false
; }
41
};
42
43
}
// end namespace gdcm
44
45
#endif //GDCMDECODER_H
Generated on Wed Jun 13 2012 20:40:37 for GDCM by
1.8.1