GDCM  2.2.6
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
Class to represent the value of a Data Element.
Definition: gdcmValue.h:29
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
Value Length.
Definition: gdcmVL.h:29
Object.
Definition: gdcmObject.h:36
Class to represent a Data Element either Implicit or Explicit.
Definition: gdcmDataElement.h:58
bool operator==(const CodeString &ref, const CodeString &cs)
Definition: gdcmCodeString.h:93
Value()
Definition: gdcmValue.h:32
~Value()
Definition: gdcmValue.h:33

Generated on Sat Dec 21 2013 05:56:18 for GDCM by doxygen 1.8.5
SourceForge.net Logo