Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef GDCMEXPLICITIMPLICITDATAELEMENT_H
00016 #define GDCMEXPLICITIMPLICITDATAELEMENT_H
00017
00018 #include "gdcmDataElement.h"
00019
00020 namespace gdcm
00021 {
00022
00030 class GDCM_EXPORT ExplicitImplicitDataElement : public DataElement
00031 {
00032 public:
00033 VL GetLength() const;
00034
00035 template <typename TSwap>
00036 std::istream &Read(std::istream &is);
00037
00038 template <typename TSwap>
00039 std::istream &ReadWithLength(std::istream &is, VL & length)
00040 {
00041 return Read<TSwap>(is); (void)length;
00042 }
00043
00044
00045
00046
00047 };
00048
00049 }
00050
00051 #include "gdcmExplicitImplicitDataElement.txx"
00052
00053 #endif //GDCMEXPLICITIMPLICITDATAELEMENT_H
00054