GDCM 3.0.24
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
21namespace gdcm
22{
23
28{
29public:
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
35private:
36 std::string Attribute;
37 Type TypeField;
38 std::string Description;
39};
40
41} // end namespace gdcm
42
43#endif //GDCMTABLEENTRY_H
Attribute class This class use template metaprograming tricks to let the user know when the template ...
Definition gdcmAttribute.h:86
TableEntry.
Definition gdcmTableEntry.h:28
TableEntry(const char *attribute=nullptr, Type const &type=Type(), const char *des=nullptr)
Definition gdcmTableEntry.h:30
~TableEntry()=default
Type.
Definition gdcmType.h:42
Definition gdcmASN1.h:21