# gdcmValue.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 __gdcmValue_h
    00017 #define __gdcmValue_h
    00018
    00019 #include "gdcmObject.h"
    00020
    00021 namespace gdcm
    00022 {
    00023
    00024 class VL;
    00031 class GDCM_EXPORT Value : public Object
    00032 {
    00033 public:
    00034   Value() {}
    00035   ~Value() {}
    00036
    00037   virtual VL GetLength() const = 0;
    00038   virtual void SetLength(VL l) = 0;
    00039
    00040   virtual void Clear() = 0;
    00041 };
    00042
    00043
    00044 } // end namespace gdcm
    00045
    00046 #include "gdcmValue.txx"
    00047
    00048 #endif //__gdcmValue_h
    00049