GDCM 3.2.1

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 = nullptr,
31 Type const &type = Type(), const char * des = nullptr ) :
32 Attribute(attribute ? attribute : ""),TypeField(type),Description(des ? des : "") {}
33 ~TableEntry() = default;
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
gdcm::TableEntry::TableEntry
TableEntry(const char *attribute=nullptr, Type const &type=Type(), const char *des=nullptr)
Definition gdcmTableEntry.h:30
gdcm::TableEntry::~TableEntry
~TableEntry()=default
gdcm::Type
Type.
Definition gdcmType.h:42
gdcmType.h
gdcm
Definition gdcmASN1.h:21