gdcmTableEntry.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMTABLEENTRY_H
#define GDCMTABLEENTRY_H
#include "gdcmType.h"
#include <string>
namespace gdcm
{
class TableEntry
{
public:
TableEntry(const char *attribute = nullptr,
Type const &type = Type(), const char * des = nullptr ) :
Attribute(attribute ? attribute : ""),TypeField(type),Description(des ? des : "") {}
~TableEntry() = default;
private:
std::string Attribute;
Type TypeField;
std::string Description;
};
} // end namespace gdcm
#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