15 #ifndef GDCMMACROENTRY_H
16 #define GDCMMACROENTRY_H
33 MacroEntry(
const char *name =
"",
const char *type =
"3",
const char *description =
""):Name(name),DescriptionField(description) {
39 void SetName(
const char *name) { Name = name; }
40 const char *GetName()
const {
return Name.c_str(); }
42 void SetType(
const Type &type) { DataElementType = type; }
43 const Type &GetType()
const {
return DataElementType; }
50 typedef std::string Description;
51 void SetDescription(
const char *d) { DescriptionField = d; }
52 const Description & GetDescription()
const {
return DescriptionField; }
64 Description DescriptionField;
69 _os << _val.Name <<
"\t" << _val.DataElementType <<
"\t" << _val.DescriptionField;
76 #endif //GDCMMODULEENTRY_H
79 #ifndef GDCMMACROENTRY_H
80 #define GDCMMACROENTRY_H
ModuleEntry MacroEntry
Definition: gdcmModuleEntry.h:72
static TypeType GetTypeType(const char *type)
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
std::ostream & operator<<(std::ostream &os, const Directory &d)
Definition: gdcmDirectory.h:92