GDCM 3.2.1

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
19 namespace gdcm_ns
20{
24 template <typename TDE, typename TSwap, typename TType=uint8_t>
25 class /*GDCM_EXPORT*/ ValueIO
26{
27 public:
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
gdcm::ValueIO
Class to dispatch template calls.
Definition gdcmValueIO.h:26
gdcm::ValueIO::Read
static std::istream & Read(std::istream &is, Value &v, bool readvalues)
gdcm::ValueIO::Write
static const std::ostream & Write(std::ostream &os, const Value &v)
gdcm::Value
Class to represent the value of a Data Element.
Definition gdcmValue.h:32
gdcmTypes.h