MeVisLab Toolbox Reference
mlPrivateDICOMTagInfos.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2012, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef ML_PRIVATE_DICOMTAG_INFOS_H
14 #define ML_PRIVATE_DICOMTAG_INFOS_H
15 
16 
18 
19 #include "mlTypeDefs.h"
20 
21 #include <string>
22 
23 ML_START_NAMESPACE
24 
25 //----------------------------------------------------------------------------------
27 //----------------------------------------------------------------------------------
29 {
30  public:
34  isValidTag(false),
35  isValidId(false),
36  groupId(0),
37  elementId()
38  {}
39 
42  bool isValidTag;
43 
45  std::string otherInfo;
46 
48  std::string name;
49 
51  std::string value;
52 
55  bool isValidId;
56 
58  unsigned short groupId;
59 
61  unsigned short elementId;
62 
64  std::string vr;
65 
67  std::string vm;
68 };
69 
70 ML_END_NAMESPACE
71 
72 #endif
Small container class managing one decoded sub element of a private DICOM tag.
bool isValidTag
Flag to indicate whether the other fields contain information about a valid tag or only other informa...
bool isValidId
If true it indicates that a valid id is set and that it shall be dumped; otherwise false.
PrivateDICOMTagInfos()
Default constructor, creating a container basically with empty members and invalid tag flag.
unsigned short elementId
Element id of the tag.
unsigned short groupId
Group id of the tag.
std::string otherInfo
Any other information string.
std::string vm
Value multiplicity of the tag.
std::string vr
Value representation of the tag.
std::string value
Value of the tag.
std::string name
Name of the tag.