GDCM  2.4.5
gdcmSegmentHelper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: GDCM (Grassroots DICOM). A DICOM library
4 
5  Copyright (c) 2006-2011 Mathieu Malaterre
6  All rights reserved.
7  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 #ifndef GDCMSEGMENTHELPER_H
15 #define GDCMSEGMENTHELPER_H
16 
17 #include <string>
18 
19 namespace gdcm
20 {
21 
22 namespace SegmentHelper
23 {
24 
31 {
36  CV(""),
37  CSD(""),
38  CSV(""),
39  CM("")
40  {}
41 
45  BasicCodedEntry(const char * a_CV,
46  const char * a_CSD,
47  const char * a_CM):
48  CV(a_CV),
49  CSD(a_CSD),
50  CSV(""),
51  CM(a_CM)
52  {}
53 
57  BasicCodedEntry(const char * a_CV,
58  const char * a_CSD,
59  const char * a_CSV,
60  const char * a_CM):
61  CV(a_CV),
62  CSD(a_CSD),
63  CSV(a_CSV),
64  CM(a_CM)
65  {}
66 
72  bool IsEmpty(const bool checkOptionalAttributes = false) const;
73 
74 
75  //** Members **//
76  // 0008 0100 1 Code Value
77  std::string CV;
78  // 0008 0102 1 Coding Scheme Designator
79  std::string CSD;
80  // 0008 0103 1C Coding Scheme Version
81  std::string CSV;
82  // 0008 0104 1 Code Meaning
83  std::string CM;
84 };
85 
86 } // end of SegmentHelper namespace
87 
88 } // end of gdcm namespace
89 
90 #endif // GDCMSEGMENTHELPER_H
BasicCodedEntry()
Constructor.
Definition: gdcmSegmentHelper.h:35
std::string CM
Coding Scheme Version attribute.
Definition: gdcmSegmentHelper.h:83
bool IsEmpty(const bool checkOptionalAttributes=false) const
Check if each attibutes of the basic coded entry is defined.
This structure defines a basic coded entry with all of its attributes.
Definition: gdcmSegmentHelper.h:30
std::string CSD
Code Value attribute.
Definition: gdcmSegmentHelper.h:79
std::string CSV
Coding Scheme Designator attribute.
Definition: gdcmSegmentHelper.h:81
BasicCodedEntry(const char *a_CV, const char *a_CSD, const char *a_CSV, const char *a_CM)
constructor which defines attributes.
Definition: gdcmSegmentHelper.h:57
BasicCodedEntry(const char *a_CV, const char *a_CSD, const char *a_CM)
constructor which defines type 1 attributes.
Definition: gdcmSegmentHelper.h:45
std::string CV
Definition: gdcmSegmentHelper.h:77
Definition: gdcmASN1.h:20

Generated on Fri Sep 25 2015 17:58:24 for GDCM by doxygen 1.8.9.1
SourceForge.net Logo