GDCM
2.2.0
|
00001 /*========================================================================= 00002 00003 Program: GDCM (Grassroots DICOM). A DICOM library 00004 00005 Copyright (c) 2006-2011 Mathieu Malaterre 00006 All rights reserved. 00007 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00014 #ifndef GDCMTABLEENTRY_H 00015 #define GDCMTABLEENTRY_H 00016 00017 #include "gdcmType.h" 00018 00019 #include <string> 00020 00021 namespace gdcm 00022 { 00023 00027 class TableEntry 00028 { 00029 public: 00030 TableEntry(const char *attribute = 0, 00031 Type const &type = Type(), const char * des = 0 ) : 00032 Attribute(attribute ? attribute : ""),TypeField(type),Description(des ? des : "") {} 00033 ~TableEntry() {} 00034 00035 private: 00036 std::string Attribute; 00037 Type TypeField; 00038 std::string Description; 00039 }; 00040 00041 } // end namespace gdcm 00042 00043 #endif //GDCMTABLEENTRY_H