gdcmValueIO.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMVALUEIO_H
#define GDCMVALUEIO_H
#include "gdcmTypes.h"
namespace gdcm_ns
{
template <typename TDE, typename TSwap, typename TType=uint8_t>
class /*GDCM_EXPORT*/ ValueIO
{
public:
static std::istream &Read(std::istream &is, Value& v, bool readvalues);
static const std::ostream &Write(std::ostream &os, const Value& v);
};
} // end namespace gdcm_ns
#include "gdcmValueIO.txx"
#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