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