GDCM 2.2.1

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

gdcmTableEntry.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 GDCMTABLEENTRY_H
15 #define GDCMTABLEENTRY_H
16
17 #include "gdcmType.h"
18
19 #include <string>
20
21 namespace gdcm
22 {
23
27 class TableEntry
28 {
29 public:
30 TableEntry(const char *attribute = 0,
31 Type const &type = Type(), const char * des = 0 ) :
32 Attribute(attribute ? attribute : ""),TypeField(type),Description(des ? des : "") {}
33 ~TableEntry() {}
34
35 private:
36 std::string Attribute;
37 Type TypeField;
38 std::string Description;
39 };
40
41 } // end namespace gdcm
42
43 #endif //GDCMTABLEENTRY_H