GDCM 2.2.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

gdcmExplicitDataElement.h
Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program: GDCM (Grassroots DICOM). A DICOM library
    00004
    00005   Copyright (c) 2006-2011 Mathieu Malaterre
    00006   All rights reserved.
    00007   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
    00008
    00009      This software is distributed WITHOUT ANY WARRANTY; without even
    00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00011      PURPOSE.  See the above copyright notice for more information.
    00012
    00013 =========================================================================*/
    00014 #ifndef GDCMEXPLICITDATAELEMENT_H
    00015 #define GDCMEXPLICITDATAELEMENT_H
    00016
    00017 #include "gdcmDataElement.h"
    00018
    00019 namespace gdcm
    00020 {
    00025 class GDCM_EXPORT ExplicitDataElement : public DataElement
    00026 {
    00027 public:
    00028   VL GetLength() const;
    00029
    00030   template <typename TSwap>
    00031   std::istream &Read(std::istream &is);
    00032
    00033   template <typename TSwap>
    00034   std::istream &ReadPreValue(std::istream &is);
    00035
    00036   template <typename TSwap>
    00037   std::istream &ReadValue(std::istream &is);
    00038
    00039   template <typename TSwap>
    00040   std::istream &ReadWithLength(std::istream &is, VL & length);
    00041
    00042   template <typename TSwap>
    00043   const std::ostream &Write(std::ostream &os) const;
    00044 };
    00045
    00046 } // end namespace gdcm
    00047
    00048 #include "gdcmExplicitDataElement.txx"
    00049
    00050 #endif //GDCMEXPLICITDATAELEMENT_H