# gdcmValueIO.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program: GDCM (Grassroots DICOM). A DICOM library
    00004   Module:  $URL$
    00005
    00006   Copyright (c) 2006-2010 Mathieu Malaterre
    00007   All rights reserved.
    00008   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
    00009
    00010      This software is distributed WITHOUT ANY WARRANTY; without even
    00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00012      PURPOSE.  See the above copyright notice for more information.
    00013
    00014 =========================================================================*/
    00015 #ifndef GDCMVALUEIO_H
    00016 #define GDCMVALUEIO_H
    00017
    00018 #include "gdcmTypes.h"
    00019
    00020 namespace gdcm
    00021 {
    00025 template <typename TDE, typename TSwap, typename TType=uint8_t>
    00026 class /*GDCM_EXPORT*/ ValueIO
    00027 {
    00028 public:
    00029   static std::istream &Read(std::istream &is, Value& v);
    00030
    00031   static const std::ostream &Write(std::ostream &os, const Value& v);
    00032 };
    00033
    00034 } // end namespace gdcm
    00035
    00036 #include "gdcmValueIO.txx"
    00037
    00038 #endif //GDCMVALUEIO_H