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