GDCM 3.0.24
gdcmValueIO.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#ifndef GDCMVALUEIO_H
15#define GDCMVALUEIO_H
16
17#include "gdcmTypes.h"
18
19namespace gdcm_ns
20{
24template <typename TDE, typename TSwap, typename TType=uint8_t>
25class /*GDCM_EXPORT*/ ValueIO
26{
27public:
28 static std::istream &Read(std::istream &is, Value& v, bool readvalues);
29
30 static const std::ostream &Write(std::ostream &os, const Value& v);
31};
32
33} // end namespace gdcm_ns
34
35#include "gdcmValueIO.txx"
36
37#endif //GDCMVALUEIO_H
Class to dispatch template calls.
Definition gdcmValueIO.h:26
static std::istream & Read(std::istream &is, Value &v, bool readvalues)
static const std::ostream & Write(std::ostream &os, const Value &v)
Class to represent the value of a Data Element.
Definition gdcmValue.h:32