3 //This is needed when compiling in debug mode
5 // 'identifier' : class 'type' needs to have dll-interface to be used by
6 // clients of class 'type2'
7 #pragma warning ( disable : 4251 )
8 // 'identifier' : identifier was truncated to 'number' characters in the
10 #pragma warning ( disable : 4786 )
15 gdcmVR::gdcmVR(void) {
16 vr["AE"] = "Application Entity"; // At most 16 bytes
17 vr["AS"] = "Age String"; // Exactly 4 bytes
18 vr["AT"] = "Attribute Tag"; // 2 16-bit unsigned short integers
19 vr["CS"] = "Code String"; // At most 16 bytes
20 vr["DA"] = "Date"; // Exactly 8 bytes
21 vr["DS"] = "Decimal String"; // At most 16 bytes
22 vr["DT"] = "Date Time"; // At most 26 bytes
23 vr["FL"] = "Floating Point Single"; // 32-bit IEEE 754:1985 float
24 vr["FD"] = "Floating Point Double"; // 64-bit IEEE 754:1985 double
25 vr["IS"] = "Integer String"; // At most 12 bytes
26 vr["LO"] = "Long String"; // At most 64 chars
27 vr["LT"] = "Long Text"; // At most 10240 chars
28 vr["OB"] = "Other Byte String"; // String of bytes (vr independant)
29 vr["OW"] = "Other Word String"; // String of 16-bit words (vr dep)
30 vr["PN"] = "Person Name"; // At most 64 chars
31 vr["SH"] = "Short String"; // At most 16 chars
32 vr["SL"] = "Signed Long"; // Exactly 4 bytes
33 vr["SQ"] = "Sequence of Items"; // Not Applicable
34 vr["SS"] = "Signed Short"; // Exactly 2 bytes
35 vr["ST"] = "Short Text"; // At most 1024 chars
36 vr["TM"] = "Time"; // At most 16 bytes
37 vr["UI"] = "Unique Identifier"; // At most 64 bytes
38 vr["UL"] = "Unsigned Long "; // Exactly 4 bytes
39 vr["UN"] = "Unknown"; // Any length of bytes
40 vr["US"] = "Unsigned Short "; // Exactly 2 bytes
41 vr["UT"] = "Unlimited Text"; // At most 2^32 -1 chars
48 int gdcmVR::Count(VRKey key) {