Lines Matching refs:VR

65 static VR::VRType VRValue[] = {
66 VR::INVALID ,
67 VR::AE ,
68 VR::AS ,
69 VR::AT ,
70 VR::CS ,
71 VR::DA ,
72 VR::DS ,
73 VR::DT ,
74 VR::FD ,
75 VR::FL ,
76 VR::IS ,
77 VR::LO ,
78 VR::LT ,
79 VR::OB ,
80 VR::OF ,
81 VR::OW ,
82 VR::PN ,
83 VR::SH ,
84 VR::SL ,
85 VR::SQ ,
86 VR::SS ,
87 VR::ST ,
88 VR::TM ,
89 VR::UI ,
90 VR::UL ,
91 VR::UN ,
92 VR::US ,
93 VR::UT ,
94 VR::OD ,
95 VR::OL ,
96 VR::UC ,
97 VR::UR ,
98 VR::OV ,
99 VR::SV ,
100 VR::UV ,
103 bool VR::IsVRFile() const in IsVRFile()
107 case VR::INVALID: in IsVRFile()
108 case VR::AE: in IsVRFile()
109 case VR::AS: in IsVRFile()
110 case VR::AT: in IsVRFile()
111 case VR::CS: in IsVRFile()
112 case VR::DA: in IsVRFile()
113 case VR::DS: in IsVRFile()
114 case VR::DT: in IsVRFile()
115 case VR::FD: in IsVRFile()
116 case VR::FL: in IsVRFile()
117 case VR::IS: in IsVRFile()
118 case VR::LO: in IsVRFile()
119 case VR::LT: in IsVRFile()
120 case VR::OB: in IsVRFile()
121 case VR::OD: in IsVRFile()
122 case VR::OF: in IsVRFile()
123 case VR::OL: in IsVRFile()
124 case VR::OV: in IsVRFile()
125 case VR::OW: in IsVRFile()
126 case VR::PN: in IsVRFile()
127 case VR::SH: in IsVRFile()
128 case VR::SL: in IsVRFile()
129 case VR::SQ: in IsVRFile()
130 case VR::SS: in IsVRFile()
131 case VR::ST: in IsVRFile()
132 case VR::SV: in IsVRFile()
133 case VR::TM: in IsVRFile()
134 case VR::UC: in IsVRFile()
135 case VR::UI: in IsVRFile()
136 case VR::UL: in IsVRFile()
137 case VR::UN: in IsVRFile()
138 case VR::UR: in IsVRFile()
139 case VR::US: in IsVRFile()
140 case VR::UT: in IsVRFile()
141 case VR::UV: in IsVRFile()
149 unsigned int VR::GetSizeof() const in GetSizeof()
155 case VR::AE: in GetSizeof()
156 size = sizeof(VRToType<VR::AE>::Type); in GetSizeof()
158 case VR::AS: in GetSizeof()
159 size = sizeof(VRToType<VR::AS>::Type); in GetSizeof()
161 case VR::AT: in GetSizeof()
162 size = sizeof(VRToType<VR::AT>::Type); in GetSizeof()
164 case VR::CS: in GetSizeof()
165 size = sizeof(VRToType<VR::CS>::Type); in GetSizeof()
167 case VR::DA: in GetSizeof()
168 size = sizeof(VRToType<VR::DA>::Type); in GetSizeof()
170 case VR::DS: in GetSizeof()
171 size = sizeof(VRToType<VR::DS>::Type); in GetSizeof()
173 case VR::DT: in GetSizeof()
174 size = sizeof(VRToType<VR::DT>::Type); in GetSizeof()
176 case VR::FD: in GetSizeof()
177 size = sizeof(VRToType<VR::FD>::Type); in GetSizeof()
179 case VR::FL: in GetSizeof()
180 size = sizeof(VRToType<VR::FL>::Type); in GetSizeof()
182 case VR::IS: in GetSizeof()
183 size = sizeof(VRToType<VR::IS>::Type); in GetSizeof()
185 case VR::LO: in GetSizeof()
186 size = sizeof(VRToType<VR::LO>::Type); in GetSizeof()
188 case VR::LT: in GetSizeof()
189 size = sizeof(VRToType<VR::LT>::Type); in GetSizeof()
191 case VR::OB: in GetSizeof()
192 size = sizeof(VRToType<VR::OB>::Type); in GetSizeof()
194 case VR::OD: in GetSizeof()
195 size = sizeof(VRToType<VR::OD>::Type); in GetSizeof()
197 case VR::OF: in GetSizeof()
198 size = sizeof(VRToType<VR::OF>::Type); in GetSizeof()
200 case VR::OL: in GetSizeof()
201 size = sizeof(VRToType<VR::OL>::Type); in GetSizeof()
203 case VR::OV: in GetSizeof()
204 size = sizeof(VRToType<VR::OV>::Type); in GetSizeof()
206 case VR::OW: in GetSizeof()
207 size = sizeof(VRToType<VR::OW>::Type); in GetSizeof()
209 case VR::PN: in GetSizeof()
210 size = sizeof(VRToType<VR::PN>::Type); in GetSizeof()
212 case VR::SH: in GetSizeof()
213 size = sizeof(VRToType<VR::SH>::Type); in GetSizeof()
215 case VR::SL: in GetSizeof()
216 size = sizeof(VRToType<VR::SL>::Type); in GetSizeof()
218 case VR::SQ: in GetSizeof()
219 size = sizeof(VRToType<VR::SQ>::Type); in GetSizeof()
221 case VR::SS: in GetSizeof()
222 size = sizeof(VRToType<VR::SS>::Type); in GetSizeof()
224 case VR::ST: in GetSizeof()
225 size = sizeof(VRToType<VR::ST>::Type); in GetSizeof()
227 case VR::SV: in GetSizeof()
228 size = sizeof(VRToType<VR::SV>::Type); in GetSizeof()
230 case VR::TM: in GetSizeof()
231 size = sizeof(VRToType<VR::TM>::Type); in GetSizeof()
233 case VR::UC: in GetSizeof()
234 size = sizeof(VRToType<VR::UC>::Type); in GetSizeof()
236 case VR::UI: in GetSizeof()
237 size = sizeof(VRToType<VR::UI>::Type); in GetSizeof()
239 case VR::UL: in GetSizeof()
240 size = sizeof(VRToType<VR::UL>::Type); in GetSizeof()
242 case VR::UN: in GetSizeof()
243 size = sizeof(VRToType<VR::UN>::Type); in GetSizeof()
245 case VR::UR: in GetSizeof()
246 size = sizeof(VRToType<VR::UR>::Type); in GetSizeof()
248 case VR::US: in GetSizeof()
249 size = sizeof(VRToType<VR::US>::Type); in GetSizeof()
251 case VR::UT: in GetSizeof()
252 size = sizeof(VRToType<VR::UT>::Type); in GetSizeof()
254 case VR::UV: in GetSizeof()
255 size = sizeof(VRToType<VR::UV>::Type); in GetSizeof()
257 case VR::US_SS: in GetSizeof()
258 size = sizeof(VRToType<VR::US>::Type); // why not ? in GetSizeof()
267 unsigned int VR::GetIndex(VRType vr) in GetIndex()
269 if( vr == VR::VL32 ) return 0; in GetIndex()
303 const char *VR::GetVRString(VRType vr) in GetVRString()
309 const char *VR::GetVRStringFromFile(VRType vr) in GetVRStringFromFile()
340 VR::VRType VR::GetVRTypeFromFile(const char *vr) in GetVRTypeFromFile()
363 return VR::UN; in GetVRTypeFromFile()
365 return VR::INVALID; in GetVRTypeFromFile()
369 assert( r == (VR::VRType)(1 << (p-start)) ); in GetVRTypeFromFile()
371 VRType r = VR::VR_END; in GetVRTypeFromFile()
378 r = (VR::VRType)(1LL << (i-1)); in GetVRTypeFromFile()
382 if( r == VR::VR_END ) in GetVRTypeFromFile()
391 return VR::UN; in GetVRTypeFromFile()
393 return VR::INVALID; in GetVRTypeFromFile()
397 assert( r != VR::INVALID in GetVRTypeFromFile()
398 && r != VR::OB_OW in GetVRTypeFromFile()
399 && r != VR::US_SS in GetVRTypeFromFile()
400 && r != VR::US_SS_OW in GetVRTypeFromFile()
401 && r != VR::US_OW in GetVRTypeFromFile()
402 && r != VR::VR_END ); in GetVRTypeFromFile()
406 VR::VRType VR::GetVRType(const char *vr) in GetVRType()
408 VRType r = VR::VR_END; in GetVRType()
436 r = (VR::VRType)(1LL << (i-1)); in GetVRType()
444 bool VR::IsValid(const char *vr) in IsValid()
459 bool VR::IsValid(const char *vr1, VRType vr2) in IsValid()
462 VR::VRType vr = GetVRType(vr1); in IsValid()
466 bool VR::IsSwap(const char *vr) in IsSwap()
478 case VR::type: \
479 return (VR::VRType)VRToEncoding<VR::type>::Mode \
480 == VR::rep;
517 bool VR::IsASCII(VRType vr) in IsASCII()
530 bool VR::IsASCII2(VRType vr) in IsASCII2()
532 assert( vr != VR::INVALID ); in IsASCII2()
550 bool VR::IsBinary(VRType vr) in IsBinary()
570 bool VR::IsBinary2(VRType vr) in IsBinary2()
581 bool VR::CanDisplay(VRType vr) in CanDisplay()
607 bool VR::Compatible(VR const &vr) const in Compatible()
610 if( vr.VRField == VR::INVALID ) return true; in Compatible()
611 else if( vr.VRField == VR::UN ) return true; in Compatible()
615 bool VR::IsDual() const in IsDual()