16 #include <ThirdPartyWarningsDisable.h>
20 #include <ThirdPartyWarningsRestore.h>
35 namespace DICOMTagInformation {
76 return (typeBits == Type1_Tag ) ||
77 (typeBits == Type1C_Tag) ||
78 (typeBits == Type2_Tag ) ||
79 (typeBits == Type2C_Tag) ||
80 (typeBits == Type3_Tag );
86 if (typeBits & Type1_Tag ){ retList += retList.empty() ?
"1" :
", 1" ; }
87 if (typeBits & Type1C_Tag ){ retList += retList.empty() ?
"1C" :
", 1C"; }
88 if (typeBits & Type2_Tag ){ retList += retList.empty() ?
"2" :
", 2" ; }
89 if (typeBits & Type2C_Tag ){ retList += retList.empty() ?
"2C" :
", 2C"; }
90 if (typeBits & Type3_Tag ){ retList += retList.empty() ?
"3" :
", 3" ; }
91 if (typeBits & OtherType_Tag){ retList += retList.empty() ?
"Other or unknown" :
", other or unknown"; }
151 const std::string &prefix,
152 std::string *chapterIndex =
nullptr,
153 std::string *chapterName =
nullptr,
154 std::string *tagTextName =
nullptr,
155 std::string *tagType =
nullptr,
156 std::string *tagDesc =
nullptr);
Class managing some bits needed to initialize tag tables as well as a vector of indexes into table wh...
DICOMTagInfoEntry()
Constructor resettings to no set bits and empty indexes vector.
size_t typeBits
Composition of bits from TagTypeBits describing possibly types the tag can have.
TagTypeBits
An enumerator describing possible bits which can be ored to a bit mask which describes possible types...
std::vector< size_t > indexes
Vector of indexes to all entries of DICOMTagFullInfos in which the tag appears.
bool isPureType() const
Returns true if it is exclusively of one valid type (1, 1C, 2, 2C, or 3), otherwise false.
std::string getTypeDescriptionList() const
Returns a comma separated list of strings of tag types according to the bits in typeBits.
class to dump a DCMTree dicom message into a human readable file this class could be used as a starte...