14 #ifndef GDCMCSAHEADERDICTENTRY_H
15 #define GDCMCSAHEADERDICTENTRY_H
47 const VR &
GetVR()
const {
return ValueRepresentation; }
48 void SetVR(
const VR & vr) { ValueRepresentation = vr; }
51 const VM &
GetVM()
const {
return ValueMultiplicity; }
52 void SetVM(
VM const & vm) { ValueMultiplicity = vm; }
55 const char *
GetName()
const {
return Name.c_str(); }
56 void SetName(
const char* name) { Name = name; }
64 return strcmp(GetName(),entry.
GetName()) < 0;
69 VR ValueRepresentation;
71 std::string Description;
79 if( val.Name.empty() )
87 os <<
"\t" << val.ValueRepresentation <<
"\t" << val.ValueMultiplicity;
88 if( !val.Description.empty() )
90 os <<
"\t" << val.Description;
97 #endif //GDCMCSAHEADERDICTENTRY_H
Type.
Definition: gdcmType.h:41
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
std::ostream & operator<<(std::ostream &os, const Directory &d)
Definition: gdcmDirectory.h:88
Value Multiplicity Looking at the DICOMV3 dict only there is very few cases: 1 2 3 4 5 6 8 16 24 1-2 ...
Definition: gdcmVM.h:67
VR class This is adapted from DICOM standard The biggest difference is the INVALID VR and the composi...
Definition: gdcmVR.h:54
Definition: gdcmASN1.h:20