MeVisLab Toolbox Reference
ml::DICOMTagInformation::DICOMTagInfoEntry Class Reference

Class managing some bits needed to initialize tag tables as well as a vector of indexes into table where the tag appears. More...

#include <mlDICOMTagDescriptions.h>

Public Types

enum  TagTypeBits {
  Type1_Tag = 1 , Type1C_Tag = 2 , Type2_Tag = 4 , Type2C_Tag = 8 ,
  Type3_Tag = 16 , OtherType_Tag = 32
}
 An enumerator describing possible bits which can be ored to a bit mask which describes possible types of a DICOM tag. More...
 

Public Member Functions

 DICOMTagInfoEntry ()
 Constructor resettings to no set bits and empty indexes vector. More...
 
bool isPureType () const
 Returns true if it is exclusively of one valid type (1, 1C, 2, 2C, or 3), otherwise false. More...
 
std::string getTypeDescriptionList () const
 Returns a comma separated list of strings of tag types according to the bits in typeBits. More...
 

Public Attributes

size_t typeBits
 Composition of bits from TagTypeBits describing possibly types the tag can have. More...
 
std::vector< size_t > indexes
 Vector of indexes to all entries of DICOMTagFullInfos in which the tag appears. More...
 

Detailed Description

Class managing some bits needed to initialize tag tables as well as a vector of indexes into table where the tag appears.

Definition at line 51 of file mlDICOMTagDescriptions.h.

Member Enumeration Documentation

◆ TagTypeBits

An enumerator describing possible bits which can be ored to a bit mask which describes possible types of a DICOM tag.


Enumerator
Type1_Tag 

Bit 0, the tag can be of type 1 (mandatory and not empty).

Type1C_Tag 

Bit 1, the tag can be of type 1C (mandatory under conditions and not empty).

Type2_Tag 

Bit 2, the tag can be of type 2 (mandatory, may be empty).

Type2C_Tag 

Bit 3, the tag can be of type 2C (mandatory under conditions and may be empty).

Type3_Tag 

Bit 4, the tag can be of type 3 (optional).

OtherType_Tag 

Bit 5, some tag type information indicates another, unknown or undefined type.

Definition at line 59 of file mlDICOMTagDescriptions.h.

Constructor & Destructor Documentation

◆ DICOMTagInfoEntry()

ml::DICOMTagInformation::DICOMTagInfoEntry::DICOMTagInfoEntry ( )
inline

Constructor resettings to no set bits and empty indexes vector.

Definition at line 55 of file mlDICOMTagDescriptions.h.

Member Function Documentation

◆ getTypeDescriptionList()

std::string ml::DICOMTagInformation::DICOMTagInfoEntry::getTypeDescriptionList ( ) const
inline

Returns a comma separated list of strings of tag types according to the bits in typeBits.

Definition at line 84 of file mlDICOMTagDescriptions.h.

◆ isPureType()

bool ml::DICOMTagInformation::DICOMTagInfoEntry::isPureType ( ) const
inline

Returns true if it is exclusively of one valid type (1, 1C, 2, 2C, or 3), otherwise false.

Definition at line 75 of file mlDICOMTagDescriptions.h.

Member Data Documentation

◆ indexes

std::vector<size_t> ml::DICOMTagInformation::DICOMTagInfoEntry::indexes

Vector of indexes to all entries of DICOMTagFullInfos in which the tag appears.

Definition at line 72 of file mlDICOMTagDescriptions.h.

◆ typeBits

size_t ml::DICOMTagInformation::DICOMTagInfoEntry::typeBits

Composition of bits from TagTypeBits describing possibly types the tag can have.

Definition at line 69 of file mlDICOMTagDescriptions.h.


The documentation for this class was generated from the following file: