GDCM  2.4.0
gdcmValue.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: GDCM (Grassroots DICOM). A DICOM library
4 
5  Copyright (c) 2006-2011 Mathieu Malaterre
6  All rights reserved.
7  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 #ifndef GDCMVALUE_H
15 #define GDCMVALUE_H
16 
17 #include "gdcmObject.h"
18 
19 namespace gdcm
20 {
21 
22 class VL;
29 class GDCM_EXPORT Value : public Object
30 {
31 public:
32  Value() {}
33  ~Value() {}
34 
35  virtual VL GetLength() const = 0;
36  virtual void SetLength(VL l) = 0;
37 
38  virtual void Clear() = 0;
39 
40  virtual bool operator==(const Value &val) const = 0;
41 
42 protected:
43  friend class DataElement;
44  virtual void SetLengthOnly(VL l);
45 };
46 
47 
48 } // end namespace gdcm
49 
50 #include "gdcmValue.txx"
51 
52 #endif //GDCMVALUE_H

Generated on Thu Oct 17 2013 10:05:56 for GDCM by doxygen 1.8.4
SourceForge.net Logo