# 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-2009 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
    00016 #ifndef __gdcmValueIO_h
    00017 #define __gdcmValueIO_h
    00018
    00019 #include "gdcmTypes.h"
    00020
    00021 namespace gdcm
    00022 {
    00029 template <typename TDE, typename TSwap, typename TType=uint8_t>
    00030 class /*GDCM_EXPORT*/ ValueIO
    00031 {
    00032 public:
    00033   static std::istream &Read(std::istream &is, Value& v);
    00034
    00035   static const std::ostream &Write(std::ostream &os, const Value& v);
    00036 };
    00037
    00038
    00039 } // end namespace gdcm
    00040
    00041 #include "gdcmValueIO.txx"
    00042
    00043 #endif //__gdcmValue_h
    00044