Doxygen Source Code Documentation
mri_dicom_hdr.h File Reference
#include <stdio.h>#include <string.h>#include <stdlib.h>#include <stdarg.h>#include <errno.h>#include <signal.h>#include <time.h>#include <sys/types.h>#include <sys/stat.h>#include <unistd.h>#include <sys/file.h>#include <sys/socket.h>#include <sys/time.h>#include <sys/wait.h>#include <netinet/in.h>#include <netdb.h>#include <sys/param.h>#include <sys/utsname.h>#include <dirent.h>Go to the source code of this file.
| Data Structures | |
| struct | DCM_ELEMENT | 
| struct | DCM_ELEMENT_NODE | 
| struct | DCM_FILE_META | 
| struct | DCM_FLAGGED_ELEMENT | 
| struct | DCM_FRAGMENT_ITEM | 
| struct | DCM_SEQUENCE_ITEM | 
| struct | DCM_TAG_NODE | 
| union | LONG_WORD | 
| struct | lst_head | 
| struct | lst_node | 
| struct | PRIVATE_OBJECT | 
| struct | PRV_ELEMENT_ITEM | 
| struct | PRV_GROUP_ITEM | 
| union | SHORT_WORD | 
| struct | UID_BLOCK | 
| struct | UID_DESCRIPTION | 
| struct | UTL_FILEITEM | 
| Defines | |
| #define | DICOM_IS_IN 1 | 
| #define | SHORTSIZE 16 | 
| #define | INTSIZE 32 | 
| #define | LONGSIZE 64 | 
| #define | FORM_COND(facility, severity, value) | 
| #define | SEV_SUCC 1 | 
| #define | SEV_INFORM 3 | 
| #define | SEV_WARN 5 | 
| #define | SEV_ERROR 2 | 
| #define | SEV_FATAL 4 | 
| #define | CTN_SUCCESS(A) (((A)&0xf) == SEV_SUCC) | 
| #define | CTN_INFORM(A) (((A)&0xf) == SEV_INFORM) | 
| #define | CTN_WARNING(A) (((A)&0xf) == SEV_WARN) | 
| #define | CTN_ERROR(A) (((A)&0xf) == SEV_ERROR) | 
| #define | CTN_FATAL(A) (((A)&0xf) == SEV_FATAL) | 
| #define | FACILITY(A) ((unsigned long)(A)>>4) & 0xfff | 
| #define | FAC_DUL 1 | 
| #define | FAC_IDBMB 2 | 
| #define | FAC_IDX 3 | 
| #define | FAC_LST 4 | 
| #define | FAC_DIAG 5 | 
| #define | FAC_COND 6 | 
| #define | FAC_GQ 7 | 
| #define | FAC_SRV 8 | 
| #define | FAC_DCM 9 | 
| #define | FAC_MSG 10 | 
| #define | FAC_HUNK 11 | 
| #define | FAC_DB 12 | 
| #define | FAC_CFG 13 | 
| #define | FAC_IAP 14 | 
| #define | FAC_HIS 15 | 
| #define | FAC_HAP 16 | 
| #define | FAC_IE 17 | 
| #define | FAC_UID 18 | 
| #define | FAC_SQ 19 | 
| #define | FAC_ICON 20 | 
| #define | FAC_PRN 21 | 
| #define | FAC_TBL 22 | 
| #define | FAC_DMAN 23 | 
| #define | FAC_UTL 24 | 
| #define | FAC_IDB 25 | 
| #define | FAC_MUT 26 | 
| #define | FAC_IMAN 27 | 
| #define | FAC_ICPY 30 | 
| #define | FAC_FIS 31 | 
| #define | FAC_SNP 32 | 
| #define | FAC_LUT 34 | 
| #define | FAC_IODV 35 | 
| #define | FAC_THR 36 | 
| #define | FAC_DDR 37 | 
| #define | FAC_ATH 38 | 
| #define | FAC_IRS 39 | 
| #define | FAC_TBLMB 40 | 
| #define | FAC_CHR 41 | 
| #define | FAC_MAXIMUM 50 | 
| #define | FAC_APP 0x0fff | 
| #define | TRUE 1 | 
| #define | FALSE 0 | 
| #define | MAX(x, y) (((x) < (y)) ? (y) : (x)) | 
| #define | MIN(x, y) (((x) < (y)) ? (x) : (y)) | 
| #define | IS_EVEN(i) (~(i) & 0x01) | 
| #define | DIM_OF(a) (sizeof(a) / sizeof(a[0])) | 
| #define | IN_RANGE(n, lo, hi) ((lo) <= n && (n) <= (hi)) | 
| #define | STRUCT_OFFSET(s, f) (off_t)(((s *)(0))->f) | 
| #define | DICOM_AS_LENGTH 4 | 
| #define | DICOM_CS_LENGTH 16 | 
| #define | DICOM_DS_LENGTH 16 | 
| #define | DICOM_IS_LENGTH 12 | 
| #define | DICOM_PN_LENGTH 64 | 
| #define | DICOM_DA_LENGTH 8 | 
| #define | DICOM_LO_LENGTH 64 | 
| #define | DICOM_TM_LENGTH 16 | 
| #define | DICOM_UI_LENGTH 64 | 
| #define | DICOM_SH_LENGTH 16 | 
| #define | DICOM_AE_LENGTH 16 | 
| #define | DICOM_ST_LENGTH 1024 | 
| #define | DICOM_LT_LENGTH 10240 | 
| #define | DICOM_DT_LENGTH 26 | 
| #define | VERSION_JUN1993 199306 | 
| #define | VERSION_JUL1993 199307 | 
| #define | VERSION_AUG1993 199308 | 
| #define | VERSION_SEP1993 199309 | 
| #define | VERSION_OCT1993 199310 | 
| #define | VERSION_NOV1993 199311 | 
| #define | VERSION_DEC1993 199312 | 
| #define | VERSION_JAN1994 199401 | 
| #define | VERSION_FEB1994 199402 | 
| #define | VERSION_MAR1994 199403 | 
| #define | VERSION_APR1994 199404 | 
| #define | VERSION_MAY1994 199405 | 
| #define | VERSION_JUN1994 199406 | 
| #define | VERSION_JUL1994 199407 | 
| #define | VERSION_AUG1994 199408 | 
| #define | VERSION_SEP1994 199409 | 
| #define | VERSION_OCT1994 199410 | 
| #define | VERSION_NOV1994 199411 | 
| #define | VERSION_DEC1994 199412 | 
| #define | VERSION_JAN1995 199501 | 
| #define | VERSION_FEB1995 199502 | 
| #define | VERSION_MAR1995 199503 | 
| #define | VERSION_APR1995 199504 | 
| #define | VERSION_MAY1995 199505 | 
| #define | VERSION_JUN1995 199506 | 
| #define | STANDARD_VERSION VERSION_JUN1995 | 
| #define | CTN_MALLOC(a) malloc((a)) | 
| #define | CTN_FREE(a) free((a)) | 
| #define | COND_IS_IN 1 | 
| #define | COND_NORMAL FORM_COND(FAC_COND, SEV_SUCC, 1) | 
| #define | LST_KEYS 1 | 
| #define | LST_K_BEFORE 0x00000000 | 
| #define | LST_K_AFTER 0xFFFFFFFF | 
| #define | LST_Top(x) LST_Head((x)) | 
| #define | LST_Front(x) LST_Head((x)) | 
| #define | LST_NORMAL FORM_COND(FAC_LST, SEV_SUCC, 1) | 
| #define | LST_LISTNOTEMPTY FORM_COND(FAC_LST, SEV_ERROR, 3) | 
| #define | LST_BADEND FORM_COND(FAC_LST, SEV_ERROR, 5) | 
| #define | LST_NOCURRENT FORM_COND(FAC_LST, SEV_ERROR, 7) | 
| #define | DCM_OBJECTS_IS_IN 1 | 
| #define | DCM_MAKETAG(g, e) | 
| #define | DCM_TAG_GROUP(t) (unsigned short) ((t) >> 16) | 
| #define | DCM_TAG_ELEMENT(t) (unsigned short) ((t) & 0xffff) | 
| #define | DCM_PREAMBLELENGTH 128 | 
| #define | DCM_FILEMETA_IMPLEMENTATIONVERSIONNAME (1 << 0) | 
| #define | DCM_FILEMETA_SOURCEAPPLICATIONENTITYTITLE (1 << 1) | 
| #define | DCM_FILEMETA_PRIVATEINFORMATIONCREATORUID (1 << 2) | 
| #define | DCM_FILEMETA_PRIVATEINFORMATION (1 << 3) | 
| #define | DCM_ORDERMASK 0x7f | 
| #define | DCM_ORDERNATIVE 0x01 | 
| #define | DCM_ORDERLITTLEENDIAN 0x02 | 
| #define | DCM_ORDERBIGENDIAN 0x03 | 
| #define | DCM_EXPLICITLITTLEENDIAN 0x04 | 
| #define | DCM_EXPLICITBIGENDIAN 0x05 | 
| #define | DCM_ENCAPSULATEDPIXELS 0x06 | 
| #define | DCM_FILEFORMATMASK 0x80 | 
| #define | DCM_PART10FILE 0x80 | 
| #define | DCM_CONVERTMASK 0x100 | 
| #define | DCM_FORMATCONVERSION 0x100 | 
| #define | DCM_DELETEMASK 0x200 | 
| #define | DCM_DELETEONCLOSE 0x200 | 
| #define | DCM_GROUPLENGTHMASK 0x400 | 
| #define | DCM_NOGROUPLENGTH 0x400 | 
| #define | DCM_SEQUENCELENGTHMASK 0x800 | 
| #define | DCM_UNSPECIFIEDLENGTHFLAG 0x800 | 
| #define | DCM_LENGTHTOENDMASK 0x1000 | 
| #define | DCM_USELENGTHTOEND 0x1000 | 
| #define | DCM_REPEATELEMENTSMASK 0x2000 | 
| #define | DCM_ALLOWREPEATELEMENTS 0x2000 | 
| #define | DCM_FILENAMEMASK 0x2000 | 
| #define | DCM_TRYFILENAMECHANGE 0x2000 | 
| #define | DCM_VRMASK 0x4000 | 
| #define | DCM_ACCEPTVRMISMATCH 0x4000 | 
| #define | DCM_SPECIALFORMATMASK 0x8000 | 
| #define | DCM_EFILM 0x8000 | 
| #define | DCM_NORMAL FORM_COND(FAC_DCM, SEV_SUCC, 1) | 
| #define | DCM_FILEOPENFAILED FORM_COND(FAC_DCM, SEV_ERROR, 2) | 
| #define | DCM_FILEACCESSERROR FORM_COND(FAC_DCM, SEV_ERROR, 3) | 
| #define | DCM_OBJECTCREATEFAILED FORM_COND(FAC_DCM, SEV_ERROR, 4) | 
| #define | DCM_NULLOBJECT FORM_COND(FAC_DCM, SEV_ERROR, 5) | 
| #define | DCM_ILLEGALOBJECT FORM_COND(FAC_DCM, SEV_ERROR, 6) | 
| #define | DCM_ELEMENTNOTFOUND FORM_COND(FAC_DCM, SEV_ERROR, 7) | 
| #define | DCM_ILLEGALSTREAMLENGTH FORM_COND(FAC_DCM, SEV_ERROR, 8) | 
| #define | DCM_ELEMENTCREATEFAILED FORM_COND(FAC_DCM, SEV_ERROR, 9) | 
| #define | DCM_UNRECOGNIZEDGROUP FORM_COND(FAC_DCM, SEV_WARN, 10) | 
| #define | DCM_UNRECOGNIZEDELEMENT FORM_COND(FAC_DCM, SEV_WARN, 11) | 
| #define | DCM_ELEMENTOUTOFORDER FORM_COND(FAC_DCM, SEV_ERROR, 12) | 
| #define | DCM_LISTFAILURE FORM_COND(FAC_DCM, SEV_ERROR, 13) | 
| #define | DCM_ILLEGALOPTION FORM_COND(FAC_DCM, SEV_ERROR, 14) | 
| #define | DCM_ILLEGALADD FORM_COND(FAC_DCM, SEV_ERROR, 19) | 
| #define | DCM_GETINCOMPLETE FORM_COND(FAC_DCM, SEV_WARN, 20) | 
| #define | DCM_ILLEGALCONTEXT FORM_COND(FAC_DCM, SEV_ERROR, 21) | 
| #define | DCM_ILLEGALREPRESENTATION FORM_COND(FAC_DCM, SEV_ERROR, 22) | 
| #define | DCM_UNEVENELEMENTLENGTH FORM_COND(FAC_DCM, SEV_ERROR, 23) | 
| #define | DCM_ELEMENTLENGTHERROR FORM_COND(FAC_DCM, SEV_ERROR, 25) | 
| #define | DCM_GROUPNOTFOUND FORM_COND(FAC_DCM, SEV_ERROR, 27) | 
| #define | DCM_FILECREATEFAILED FORM_COND(FAC_DCM, SEV_ERROR, 28) | 
| #define | DCM_FILEIOERROR FORM_COND(FAC_DCM, SEV_ERROR, 29) | 
| #define | DCM_INSERTFAILED FORM_COND(FAC_DCM, SEV_ERROR, 30) | 
| #define | DCM_CANNOTGETSEQUENCEVALUE FORM_COND(FAC_DCM, SEV_ERROR, 31) | 
| #define | DCM_FILEDELETEFAILED FORM_COND(FAC_DCM, SEV_ERROR, 32) | 
| #define | DCM_MALLOCFAILURE FORM_COND(FAC_DCM, SEV_ERROR, 33) | 
| #define | DCM_NULLADDRESS FORM_COND(FAC_DCM, SEV_ERROR, 34) | 
| #define | DCM_UNEXPECTEDREPRESENTATION FORM_COND(FAC_DCM, SEV_ERROR, 35) | 
| #define | DCM_BADELEMENTINGROUP FORM_COND(FAC_DCM, SEV_ERROR, 36) | 
| #define | DCM_CALLBACKABORTED FORM_COND(FAC_DCM, SEV_WARN, 37) | 
| #define | DCM_READSTREAMFAILED FORM_COND(FAC_DCM, SEV_ERROR, 38) | 
| #define | DCM_STREAMCOMPLETE FORM_COND(FAC_DCM, SEV_SUCC, 39) | 
| #define | DCM_UNRECOGNIZEDVRCODE FORM_COND(FAC_DCM, SEV_ERROR, 40) | 
| #define | DCM_VRMISMATCH FORM_COND(FAC_DCM, SEV_ERROR, 41) | 
| #define | DCM_EXPORTBUFFERTOOSMALL FORM_COND(FAC_DCM, SEV_ERROR, 42) | 
| #define | DCM_BADOFFSET FORM_COND(FAC_DCM, SEV_ERROR, 43) | 
| #define | DCM_BADLENGTH FORM_COND(FAC_DCM, SEV_ERROR, 44) | 
| #define | DCM_NOTASEQUENCE FORM_COND(FAC_DCM, SEV_ERROR, 45) | 
| #define | DCM_GENERALWARNING FORM_COND(FAC_DCM, SEV_WARN, 46) | 
| #define | DCM_EMPTYOBJECT FORM_COND(FAC_DCM, SEV_WARN, 47) | 
| #define | DCM_GETNEXTELEMENTCOMPLETE FORM_COND(FAC_DCM, SEV_SUCC, 48) | 
| #define | DCM_REPEATEDELEMENT FORM_COND(FAC_DCM, SEV_WARN, 49) | 
| #define | DCM_NOFRAGMENTSINOBJECT FORM_COND(FAC_DCM, SEV_ERROR, 50) | 
| #define | DCM_UNEVENFRAGMENTLENGTH FORM_COND(FAC_DCM, SEV_ERROR, 51) | 
| #define | DCM_GROUPCOMMAND 0x0000 | 
| #define | DCM_GROUPFILEMETA 0x0002 | 
| #define | DCM_GROUPBASICDIRINFO 0x0004 | 
| #define | DCM_GROUPIDENTIFYING 0x0008 | 
| #define | DCM_GROUPPATIENTINFO 0x0010 | 
| #define | DCM_GROUPACQUISITION 0x0018 | 
| #define | DCM_GROUPRELATIONSHIP 0x0020 | 
| #define | DCM_GROUPIMAGE 0x0028 | 
| #define | DCM_GROUPSTUDY 0x0032 | 
| #define | DCM_GROUPVISIT 0x0038 | 
| #define | DCM_GROUPWAVEFORM 0x003a | 
| #define | DCM_GRPPROCEDURE 0x0040 | 
| #define | DCM_GROUPDEVICE 0x0050 | 
| #define | DCM_GROUPNMIMAGE 0x0054 | 
| #define | DCM_GROUPGRAPHICS 0x0070 | 
| #define | DCM_GROUPMEDIA 0x0088 | 
| #define | DCM_GROUPBASICFILMSESSION 0x2000 | 
| #define | DCM_GROUPBASICFILMBOX 0x2010 | 
| #define | DCM_GROUPBASICIMAGEBOX 0x2020 | 
| #define | DCM_GROUPBASICANNOTATIONBOX 0x2030 | 
| #define | DCM_GROUPBASICIMAGEOVERLAYBOX 0x2040 | 
| #define | DCM_GROUPPRINTJOB 0x2100 | 
| #define | DCM_GROUPPRINTER 0x2110 | 
| #define | DCM_GROUPTEXT 0x4000 | 
| #define | DCM_GROUPRESULTS 0x4008 | 
| #define | DCM_GROUPCURVE 0x5000 | 
| #define | DCM_GROUPOVERLAY 0x6000 | 
| #define | DCM_GROUPPIXEL 0x7fe0 | 
| #define | DCM_GROUPPAD 0xfffc | 
| #define | DCM_GROUPDELIMITER 0xfffe | 
| #define | DCM_CMDGROUPLENGTH DCM_MAKETAG(DCM_GROUPCOMMAND,0x0000) | 
| #define | DCM_CMDAFFECTEDCLASSUID DCM_MAKETAG(DCM_GROUPCOMMAND,0x0002) | 
| #define | DCM_CMDREQUESTEDCLASSUID DCM_MAKETAG(DCM_GROUPCOMMAND,0x0003) | 
| #define | DCM_CMDCOMMANDFIELD DCM_MAKETAG(DCM_GROUPCOMMAND,0x0100) | 
| #define | DCM_CMDMSGID DCM_MAKETAG(DCM_GROUPCOMMAND,0x0110) | 
| #define | DCM_CMDMSGIDRESPOND DCM_MAKETAG(DCM_GROUPCOMMAND,0x0120) | 
| #define | DCM_CMDMOVEDESTINATION DCM_MAKETAG(DCM_GROUPCOMMAND,0x0600) | 
| #define | DCM_CMDPRIORITY DCM_MAKETAG(DCM_GROUPCOMMAND,0x0700) | 
| #define | DCM_CMDDATASETTYPE DCM_MAKETAG(DCM_GROUPCOMMAND,0x0800) | 
| #define | DCM_CMDSTATUS DCM_MAKETAG(DCM_GROUPCOMMAND,0x0900) | 
| #define | DCM_CMDOFFENDINGELEMENT DCM_MAKETAG(DCM_GROUPCOMMAND,0x0901) | 
| #define | DCM_CMDERRORCOMMENT DCM_MAKETAG(DCM_GROUPCOMMAND,0x0902) | 
| #define | DCM_CMDERRORID DCM_MAKETAG(DCM_GROUPCOMMAND,0x0903) | 
| #define | DCM_CMDAFFECTEDINSTANCEUID DCM_MAKETAG(DCM_GROUPCOMMAND,0x1000) | 
| #define | DCM_CMDREQUESTEDINSTANCEUID DCM_MAKETAG(DCM_GROUPCOMMAND,0x1001) | 
| #define | DCM_CMDEVENTTYPEID DCM_MAKETAG(DCM_GROUPCOMMAND,0x1002) | 
| #define | DCM_CMDATTRIBUTEIDLIST DCM_MAKETAG(DCM_GROUPCOMMAND,0x1005) | 
| #define | DCM_CMDACTIONTYPEID DCM_MAKETAG(DCM_GROUPCOMMAND,0x1008) | 
| #define | DCM_CMDREMAININGSUBOPERATIONS DCM_MAKETAG(DCM_GROUPCOMMAND,0x1020) | 
| #define | DCM_CMDCOMPLETEDSUBOPERATIONS DCM_MAKETAG(DCM_GROUPCOMMAND,0x1021) | 
| #define | DCM_CMDFAILEDSUBOPERATIONS DCM_MAKETAG(DCM_GROUPCOMMAND,0x1022) | 
| #define | DCM_CMDWARNINGSUBOPERATIONS DCM_MAKETAG(DCM_GROUPCOMMAND,0x1023) | 
| #define | DCM_CMDMOVEAETITLE DCM_MAKETAG(DCM_GROUPCOMMAND,0x1030) | 
| #define | DCM_CMDMOVEMESSAGEID DCM_MAKETAG(DCM_GROUPCOMMAND,0x1031) | 
| #define | DCM_STORE_REQUEST 0x0001 | 
| #define | DCM_STORE_RESPONSE 0x8001 | 
| #define | DCM_GET_REQUEST 0x0010 | 
| #define | DCM_GET_RESPONSE 0x8010 | 
| #define | DCM_FIND_REQUEST 0x0020 | 
| #define | DCM_FIND_RESPONSE 0x8020 | 
| #define | DCM_MOVE_REQUEST 0x0021 | 
| #define | DCM_MOVE_RESPONSE 0x8021 | 
| #define | DCM_ECHO_REQUEST 0x0030 | 
| #define | DCM_ECHO_RESPONSE 0x8030 | 
| #define | DCM_CANCEL_REQUEST 0x0fff | 
| #define | DCM_CANCEL_RESPONSE 0x8fff | 
| #define | DCM_DIALOG_REQUEST 0x0080 | 
| #define | DCM_DIALOG_RESPONSE 0x8080 | 
| #define | DCM_N_EVENT_REPORT_REQUEST 0x0100 | 
| #define | DCM_N_EVENT_REPORT_RESPONSE 0x8100 | 
| #define | DCM_N_GET_REQUEST 0x0110 | 
| #define | DCM_N_GET_RESPONSE 0x8110 | 
| #define | DCM_N_SET_REQUEST 0x0120 | 
| #define | DCM_N_SET_RESPONSE 0x8120 | 
| #define | DCM_N_ACTION_REQUEST 0x0130 | 
| #define | DCM_N_ACTION_RESPONSE 0x8130 | 
| #define | DCM_N_CREATE_REQUEST 0x0140 | 
| #define | DCM_N_CREATE_RESPONSE 0x8140 | 
| #define | DCM_N_DELETE_REQUEST 0x0150 | 
| #define | DCM_N_DELETE_RESPONSE 0x8150 | 
| #define | DCM_CMDLENGTHTOEND DCM_MAKETAG(DCM_GROUPCOMMAND,0x0001) | 
| #define | DCM_CMDRECOGNITIONCODE DCM_MAKETAG(DCM_GROUPCOMMAND,0x0010) | 
| #define | DCM_CMDINITIATOR DCM_MAKETAG(DCM_GROUPCOMMAND,0x0200) | 
| #define | DCM_CMDRECEIVER DCM_MAKETAG(DCM_GROUPCOMMAND,0x0300) | 
| #define | DCM_CMDFINDLOCATION DCM_MAKETAG(DCM_GROUPCOMMAND,0x0400) | 
| #define | DCM_CMDNUMBERMATCHES DCM_MAKETAG(DCM_GROUPCOMMAND,0x0850) | 
| #define | DCM_CMDRESPSEQNUMBER DCM_MAKETAG(DCM_GROUPCOMMAND,0x0860) | 
| #define | DCM_CMDDIALOGRECEIVOR DCM_MAKETAG(DCM_GROUPCOMMAND,0x4000) | 
| #define | DCM_CMDTERMINALTYPE DCM_MAKETAG(DCM_GROUPCOMMAND,0x4010) | 
| #define | DCM_CMDMSGSETID DCM_MAKETAG(DCM_GROUPCOMMAND,0x5010) | 
| #define | DCM_CMDENDMSGD DCM_MAKETAG(DCM_GROUPCOMMAND,0x5020) | 
| #define | DCM_CMDDISPLAYFORMAT DCM_MAKETAG(DCM_GROUPCOMMAND,0x5110) | 
| #define | DCM_CMDPAGEPOSITIONID DCM_MAKETAG(DCM_GROUPCOMMAND,0x5120) | 
| #define | DCM_CMDTEXTFORMATID DCM_MAKETAG(DCM_GROUPCOMMAND,0x5130) | 
| #define | DCM_CMDNORREV DCM_MAKETAG(DCM_GROUPCOMMAND,0x5140) | 
| #define | DCM_CMDADDGRAYSCALE DCM_MAKETAG(DCM_GROUPCOMMAND,0x5150) | 
| #define | DCM_CMDBORDERS DCM_MAKETAG(DCM_GROUPCOMMAND,0x5160) | 
| #define | DCM_CMDCOPIES DCM_MAKETAG(DCM_GROUPCOMMAND,0x5170) | 
| #define | DCM_CMDMAGNIFICATIONTYPE DCM_MAKETAG(DCM_GROUPCOMMAND,0x5180) | 
| #define | DCM_CMDERASE DCM_MAKETAG(DCM_GROUPCOMMAND,0x5190) | 
| #define | DCM_CMDPRINT DCM_MAKETAG(DCM_GROUPCOMMAND,0x51a0) | 
| #define | DCM_CMDOVERLAYS DCM_MAKETAG(DCM_GROUPCOMMAND,0x51b0) | 
| #define | DCM_METAGROUPLENGTH DCM_MAKETAG(DCM_GROUPFILEMETA,0x0000) | 
| #define | DCM_METAINFORMATIONVERSION DCM_MAKETAG(DCM_GROUPFILEMETA,0x0001) | 
| #define | DCM_METAMEDIASTORAGESOPCLASS DCM_MAKETAG(DCM_GROUPFILEMETA,0x0002) | 
| #define | DCM_METAMEDIASTORAGESOPINSTANCE DCM_MAKETAG(DCM_GROUPFILEMETA,0x0003) | 
| #define | DCM_METATRANSFERSYNTAX DCM_MAKETAG(DCM_GROUPFILEMETA,0x0010) | 
| #define | DCM_METAIMPLEMENTATIONCLASS DCM_MAKETAG(DCM_GROUPFILEMETA,0x0012) | 
| #define | DCM_METAIMPLEMENTATIONVERSION DCM_MAKETAG(DCM_GROUPFILEMETA,0x0013) | 
| #define | DCM_METASOURCEAETITLE DCM_MAKETAG(DCM_GROUPFILEMETA,0x0016) | 
| #define | DCM_METAPRIVATEINFORMATIONCREATOR DCM_MAKETAG(DCM_GROUPFILEMETA,0x0100) | 
| #define | DCM_METAPRIVATEINFORMATION DCM_MAKETAG(DCM_GROUPFILEMETA,0x0102) | 
| #define | DCM_DIRFILESETID DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1130) | 
| #define | DCM_DIRFILESETDESCRFILEID DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1141) | 
| #define | DCM_DIRSPECIFICCHARACTER DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1142) | 
| #define | DCM_DIRFIRSTOFFSET DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1200) | 
| #define | DCM_DIRLASTOFFSET DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1202) | 
| #define | DCM_DIRFILESETCONSISTENCY DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1212) | 
| #define | DCM_DIRRECORDSEQUENCE DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1220) | 
| #define | DCM_DIRNEXTRECORDOFFSET DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1400) | 
| #define | DCM_DIRRECORDINUSE DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1410) | 
| #define | DCM_DIRLOWERLEVELOFFSET DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1420) | 
| #define | DCM_DIRRECORDTYPE DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1430) | 
| #define | DCM_DIRPRIVATERECORDUID DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1432) | 
| #define | DCM_DIRREFERENCEDFILEID DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1500) | 
| #define | DCM_DIRMRDRRECORDOFFSET DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1504) | 
| #define | DCM_DIRREFSOPCLASSUID DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1510) | 
| #define | DCM_DIRREFSOPINSTANCEUID DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1511) | 
| #define | DCM_DIRREFTRANSFERSYNTAXUID DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1512) | 
| #define | DCM_DIRNUMREFERENCES DCM_MAKETAG(DCM_GROUPBASICDIRINFO, 0x1600) | 
| #define | DCM_IDGROUPLENGTH DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0000) | 
| #define | DCM_IDLENGTHTOEND DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0001) | 
| #define | DCM_IDSPECIFICCHARACTER DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0005) | 
| #define | DCM_IDIMAGETYPE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0008) | 
| #define | DCM_IDRECOGNITIONCODE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0010) | 
| #define | DCM_IDINSTANCECREATEDATE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0012) | 
| #define | DCM_IDINSTANCECREATETIME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0013) | 
| #define | DCM_IDINSTANCECREATORUID DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0014) | 
| #define | DCM_IDSOPCLASSUID DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0016) | 
| #define | DCM_IDSOPINSTANCEUID DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0018) | 
| #define | DCM_IDSTUDYDATE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0020) | 
| #define | DCM_IDSERIESDATE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0021) | 
| #define | DCM_IDACQUISITIONDATE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0022) | 
| #define | DCM_IDIMAGEDATE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0023) | 
| #define | DCM_IDOVERLAYDATE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0024) | 
| #define | DCM_IDCURVEDATE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0025) | 
| #define | DCM_IDSTUDYTIME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0030) | 
| #define | DCM_IDSERIESTIME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0031) | 
| #define | DCM_IDACQUISITIONTIME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0032) | 
| #define | DCM_IDIMAGETIME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0033) | 
| #define | DCM_IDOVERLAYTIME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0034) | 
| #define | DCM_IDCURVETIME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0035) | 
| #define | DCM_IDDATASETTYPE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0040) | 
| #define | DCM_IDDATASETSUBTYPE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0041) | 
| #define | DCM_IDNMSERIESTYPE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0042) | 
| #define | DCM_IDACCESSIONNUMBER DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0050) | 
| #define | DCM_IDQUERYLEVEL DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0052) | 
| #define | DCM_IDRETRIEVEAETITLE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0054) | 
| #define | DCM_IDINSTANCEAVAILABILITY DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0056) | 
| #define | DCM_IDFAILEDINSTANCEUIDLIST DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0058) | 
| #define | DCM_IDMODALITY DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0060) | 
| #define | DCM_IDMODALITIESINSTUDY DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0061) | 
| #define | DCM_IDMODALITYSUBTYPE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0062) | 
| #define | DCM_IDCONVERSIONTYPE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0064) | 
| #define | DCM_IDPRESENTATIONINTENTTYPE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0068) | 
| #define | DCM_IDMANUFACTURER DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0070) | 
| #define | DCM_IDINSTITUTIONNAME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0080) | 
| #define | DCM_IDINSTITUTIONADDR DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0081) | 
| #define | DCM_IDINSTITUTECODESEQUENCE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0082) | 
| #define | DCM_IDREFERRINGPHYSICIAN DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0090) | 
| #define | DCM_IDREFERRINGPHYSADDR DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0092) | 
| #define | DCM_IDREFERRINGPHYSPHONE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0094) | 
| #define | DCM_IDCODEVALUE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0100) | 
| #define | DCM_IDCODINGSCHEMEDESIGNATOR DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0102) | 
| #define | DCM_IDCODINGSCHEMEVERSION DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0103) | 
| #define | DCM_IDCODEMEANING DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0104) | 
| #define | DCM_IDMAPPINGRESOURCE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0105) | 
| #define | DCM_IDCONTEXTGROUPVERSION DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x0106) | 
| #define | DCM_IDCODESETEXTENSIONFLAG DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x010B) | 
| #define | DCM_IDPRIVATECODINGSCHEMECREATORUID DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x010C) | 
| #define | DCM_IDCODESETEXTENSIONCREATORUID DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x010D) | 
| #define | DCM_IDMAPPINGRESOURCESEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x010E) | 
| #define | DCM_IDCONTEXTIDENTIFIER DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x010F) | 
| #define | DCM_IDNETWORKID DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1000) | 
| #define | DCM_IDSTATIONNAME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1010) | 
| #define | DCM_IDSTUDYDESCRIPTION DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1030) | 
| #define | DCM_IDPROCEDURECODESEQUENCE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1032) | 
| #define | DCM_IDSERIESDESCR DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x103e) | 
| #define | DCM_IDINSTITUTIONALDEPT DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1040) | 
| #define | DCM_IDPHYSICIANOFRECORD DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1048) | 
| #define | DCM_IDPERFORMINGPHYSICIAN DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1050) | 
| #define | DCM_IDPHYSREADINGSTUDY DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1060) | 
| #define | DCM_IDOPERATORNAME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1070) | 
| #define | DCM_IDADMITTINGDIAGDESCR DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1080) | 
| #define | DCM_IDADMITDIAGCODESEQUENCE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1084) | 
| #define | DCM_IDMANUFACTURERMODEL DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1090) | 
| #define | DCM_IDREFERENCEDRESULTSSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1100) | 
| #define | DCM_IDREFERENCEDSTUDYSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1110) | 
| #define | DCM_IDREFERENCEDSTUDYCOMPONENTSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1111) | 
| #define | DCM_IDREFERENCEDSERIESSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1115) | 
| #define | DCM_IDREFERENCEDPATIENTSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1120) | 
| #define | DCM_IDREFERENCEDVISITSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1125) | 
| #define | DCM_IDREFERENCEDOVERLAYSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1130) | 
| #define | DCM_IDREFERENCEDIMAGESEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1140) | 
| #define | DCM_IDREFERENCEDCURVESEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1145) | 
| #define | DCM_IDREFERENCEDPREVIOUSWAVEFORM DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1148) | 
| #define | DCM_IDREFERENCEDSIMULTANEOUSWAVEFORMS DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x114A) | 
| #define | DCM_IDREFERENCEDSUBSEQUENTWAVEFORM DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x114C) | 
| #define | DCM_IDREFERENCEDSOPCLASSUID DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1150) | 
| #define | DCM_IDREFERENCEDSOPINSTUID DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1155) | 
| #define | DCM_IDREFERENCEDFRAMENUMBER DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1160) | 
| #define | DCM_IDTRANSACTIONUID DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1195) | 
| #define | DCM_IDFAILUREREASON DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1197) | 
| #define | DCM_IDFAILEDSOPSEQUENCE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1198) | 
| #define | DCM_IDREFERENCEDSOPSEQUENCE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x1199) | 
| #define | DCM_IDLOSSYIMAGECOMPRESSION DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2110) | 
| #define | DCM_IDDERIVATIONDESCR DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2111) | 
| #define | DCM_IDSOURCEIMAGESEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2112) | 
| #define | DCM_IDSTAGENAME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2120) | 
| #define | DCM_IDSTAGENUMBER DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2122) | 
| #define | DCM_IDNUMBEROFSTAGES DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2124) | 
| #define | DCM_IDVIEWNUMBER DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2128) | 
| #define | DCM_IDNUMBEROFEVENTTIMERS DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2129) | 
| #define | DCM_IDNUMBERVIEWSINSTAGE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x212a) | 
| #define | DCM_IDEVENTELAPSEDTIME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2130) | 
| #define | DCM_IDEVENTTIMERNAME DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2132) | 
| #define | DCM_IDSTARTTRIM DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2142) | 
| #define | DCM_IDSTOPTRIM DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2143) | 
| #define | DCM_IDDISPLAYFRAMERATE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2144) | 
| #define | DCM_IDTRANSDUCERPOSITION DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2200) | 
| #define | DCM_IDTRANSDUCERORIENTATION DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2204) | 
| #define | DCM_IDANATOMICSTRUCTURE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2208) | 
| #define | DCM_IDANATOMICREGIONSEQUENCE DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2218) | 
| #define | DCM_IDANATOMICREGIONMODIFIERSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2220) | 
| #define | DCM_IDPRIMARYANATOMICSTRUCTURESEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2228) | 
| #define | DCM_IDPRIMARYANATOMICSTRUCTUREMODIFIERSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2230) | 
| #define | DCM_IDTRANSDUCERPOSITIONSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2240) | 
| #define | DCM_IDTRANSDUCERPOSITIONMODIFIERSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2242) | 
| #define | DCM_IDTRANSDUCERORIENTATIONSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2244) | 
| #define | DCM_IDTRANSDUCERORIENTATIONMODIFIERSEQ DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x2246) | 
| #define | DCM_IDCOMMENTS DCM_MAKETAG(DCM_GROUPIDENTIFYING,0x4000) | 
| #define | DCM_PATGROUPLENGTH DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0000) | 
| #define | DCM_PATNAME DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0010) | 
| #define | DCM_PATID DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0020) | 
| #define | DCM_ISSUERPATIENTID DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0021) | 
| #define | DCM_PATBIRTHDATE DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0030) | 
| #define | DCM_PATBIRTHTIME DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0032) | 
| #define | DCM_PATSEX DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0040) | 
| #define | DCM_PATINSURANCEPLANCODESEQ DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x0050) | 
| #define | DCM_PATOTHERIDS DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1000) | 
| #define | DCM_PATOTHERNAMES DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1001) | 
| #define | DCM_PATBIRTHNAME DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1005) | 
| #define | DCM_PATAGE DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1010) | 
| #define | DCM_PATSIZE DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1020) | 
| #define | DCM_PATWEIGHT DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1030) | 
| #define | DCM_PATADDRESS DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1040) | 
| #define | DCM_PATINSURANCEPLANID DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1050) | 
| #define | DCM_PATMOTHERBIRTHNAME DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1060) | 
| #define | DCM_PATMILITARYRANK DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1080) | 
| #define | DCM_PATBRANCHOFSERVICE DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1081) | 
| #define | DCM_PATMEDICALRECORDLOCATOR DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x1090) | 
| #define | DCM_PATMEDICALALERTS DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2000) | 
| #define | DCM_PATCONTRASTALLERGIES DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2110) | 
| #define | DCM_COUNTRYOFRESIDENCE DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2150) | 
| #define | DCM_REGIONOFRESIDENCE DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2152) | 
| #define | DCM_PATTELEPHONENUMBER DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2154) | 
| #define | DCM_PATETHNICGROUP DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2160) | 
| #define | DCM_PATOCCUPATION DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x2180) | 
| #define | DCM_PATSMOKINGSTATUS DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x21a0) | 
| #define | DCM_PATADDITIONALPATHISTORY DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x21b0) | 
| #define | DCM_PATPREGNANCYSTATUS DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x21c0) | 
| #define | DCM_PATLASTMENSTRUALDATE DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x21d0) | 
| #define | DCM_PATRELIGIOUSPREFERENCE DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x21f0) | 
| #define | DCM_PATCOMMENTS DCM_MAKETAG(DCM_GROUPPATIENTINFO,0x4000) | 
| #define | DCM_ACQGROUPLENGTH DCM_MAKETAG(DCM_GROUPACQUISITION,0x0000) | 
| #define | DCM_ACQCONTRASTBOLUSAGENT DCM_MAKETAG(DCM_GROUPACQUISITION,0x0010) | 
| #define | DCM_ACQCONTRASTBOLUSAGENTSEQ DCM_MAKETAG(DCM_GROUPACQUISITION,0x0012) | 
| #define | DCM_ACQCONTRASTBOLUSADMINROUTESEQ DCM_MAKETAG(DCM_GROUPACQUISITION,0x0014) | 
| #define | DCM_ACQBODYPARTEXAMINED DCM_MAKETAG(DCM_GROUPACQUISITION,0x0015) | 
| #define | DCM_ACQSCANNINGSEQUENCE DCM_MAKETAG(DCM_GROUPACQUISITION,0x0020) | 
| #define | DCM_ACQSEQUENCEVARIANT DCM_MAKETAG(DCM_GROUPACQUISITION,0x0021) | 
| #define | DCM_ACQSCANOPTIONS DCM_MAKETAG(DCM_GROUPACQUISITION,0x0022) | 
| #define | DCM_ACQMRACQUISITIONTYPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x0023) | 
| #define | DCM_ACQSEQUENCENAME DCM_MAKETAG(DCM_GROUPACQUISITION,0x0024) | 
| #define | DCM_ACQANGIOFLAG DCM_MAKETAG(DCM_GROUPACQUISITION,0x0025) | 
| #define | DCM_ACQINTERVENTIONDRUGINFOSEQ DCM_MAKETAG(DCM_GROUPACQUISITION,0x0026) | 
| #define | DCM_ACQINTERVENTIONDRUGSTOPTIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x0027) | 
| #define | DCM_ACQINTERVENTIONDRUGDOSE DCM_MAKETAG(DCM_GROUPACQUISITION,0x0028) | 
| #define | DCM_ACQINTERVENTIONDRUGCODESEQ DCM_MAKETAG(DCM_GROUPACQUISITION,0x0029) | 
| #define | DCM_ACQADDITIONALDRUGSEQ DCM_MAKETAG(DCM_GROUPACQUISITION,0x002a) | 
| #define | DCM_ACQRADIONUCLIDE DCM_MAKETAG(DCM_GROUPACQUISITION,0x0030) | 
| #define | DCM_ACQRADIOPHARMACEUTICAL DCM_MAKETAG(DCM_GROUPACQUISITION,0x0031) | 
| #define | DCM_ACQENERGYWCENTERLINE DCM_MAKETAG(DCM_GROUPACQUISITION,0x0032) | 
| #define | DCM_ACQENERGYWTOTALWIDTH DCM_MAKETAG(DCM_GROUPACQUISITION,0x0033) | 
| #define | DCM_ACQINTERVENTIONDRUGNAME DCM_MAKETAG(DCM_GROUPACQUISITION,0x0034) | 
| #define | DCM_ACQINTERVENTIONDRUGSTART DCM_MAKETAG(DCM_GROUPACQUISITION,0x0035) | 
| #define | DCM_ACQINTERVENTIONALTHERAPYSEQ DCM_MAKETAG(DCM_GROUPACQUISITION,0x0036) | 
| #define | DCM_ACQTHERAPYTYPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x0037) | 
| #define | DCM_ACQINTERVENTIONALSTATUS DCM_MAKETAG(DCM_GROUPACQUISITION,0x0038) | 
| #define | DCM_ACQTHERAPYDESCRIPTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x0039) | 
| #define | DCM_ACQCINERATE DCM_MAKETAG(DCM_GROUPACQUISITION,0x0040) | 
| #define | DCM_ACQSLICETHICKNESS DCM_MAKETAG(DCM_GROUPACQUISITION,0x0050) | 
| #define | DCM_ACQKVP DCM_MAKETAG(DCM_GROUPACQUISITION,0x0060) | 
| #define | DCM_ACQCOUNTSACCUMULATED DCM_MAKETAG(DCM_GROUPACQUISITION,0x0070) | 
| #define | DCM_ACQTERMINATIONCONDITION DCM_MAKETAG(DCM_GROUPACQUISITION,0x0071) | 
| #define | DCM_ACQEFFECTIVESERIESDURATION DCM_MAKETAG(DCM_GROUPACQUISITION,0x0072) | 
| #define | DCM_ACQSTARTCONDITION DCM_MAKETAG(DCM_GROUPACQUISITION,0x0073) | 
| #define | DCM_ACQSTARTCONDITIONDATA DCM_MAKETAG(DCM_GROUPACQUISITION,0x0074) | 
| #define | DCM_ACQTERMINATIONCONDITIONDATA DCM_MAKETAG(DCM_GROUPACQUISITION,0x0075) | 
| #define | DCM_ACQREPETITIONTIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x0080) | 
| #define | DCM_ACQECHOTIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x0081) | 
| #define | DCM_ACQINVERSIONTIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x0082) | 
| #define | DCM_ACQNUMBEROFAVERAGES DCM_MAKETAG(DCM_GROUPACQUISITION,0x0083) | 
| #define | DCM_ACQIMAGINGFREQUENCY DCM_MAKETAG(DCM_GROUPACQUISITION,0x0084) | 
| #define | DCM_ACQIMAGEDNUCLEUS DCM_MAKETAG(DCM_GROUPACQUISITION,0x0085) | 
| #define | DCM_ACQECHONUMBER DCM_MAKETAG(DCM_GROUPACQUISITION,0x0086) | 
| #define | DCM_ACQMAGNETICFIELDSTRENGTH DCM_MAKETAG(DCM_GROUPACQUISITION,0x0087) | 
| #define | DCM_ACQSLICESPACING DCM_MAKETAG(DCM_GROUPACQUISITION,0x0088) | 
| #define | DCM_ACQPHASEENCODINGSTEPS DCM_MAKETAG(DCM_GROUPACQUISITION,0x0089) | 
| #define | DCM_ACQDATACOLLECTIONDIAMETER DCM_MAKETAG(DCM_GROUPACQUISITION,0x0090) | 
| #define | DCM_ACQECHOTRAINLENGTH DCM_MAKETAG(DCM_GROUPACQUISITION,0x0091) | 
| #define | DCM_ACQPERCENTSAMPLING DCM_MAKETAG(DCM_GROUPACQUISITION,0x0093) | 
| #define | DCM_ACQPERCENTPHASEFIELDVIEW DCM_MAKETAG(DCM_GROUPACQUISITION,0x0094) | 
| #define | DCM_ACQPIXELBANDWIDTH DCM_MAKETAG(DCM_GROUPACQUISITION,0x0095) | 
| #define | DCM_ACQDEVICESERIALNUM DCM_MAKETAG(DCM_GROUPACQUISITION,0x1000) | 
| #define | DCM_ACQPLATEID DCM_MAKETAG(DCM_GROUPACQUISITION,0x1004) | 
| #define | DCM_ACQSECONDARYCAPTUREDEVID DCM_MAKETAG(DCM_GROUPACQUISITION,0x1010) | 
| #define | DCM_ACQDATESECONDARYCAPTURE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1012) | 
| #define | DCM_ACQTIMESECONDARYCAPTURE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1014) | 
| #define | DCM_ACQSECONDARYCAPTMANUFACTURER DCM_MAKETAG(DCM_GROUPACQUISITION,0x1016) | 
| #define | DCM_ACQSECONDARYCAPTMODEL DCM_MAKETAG(DCM_GROUPACQUISITION,0x1018) | 
| #define | DCM_ACQSECONDARYCAPTSOFTWAREVERSION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1019) | 
| #define | DCM_ACQSOFTWAREVERSION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1020) | 
| #define | DCM_ACQVIDEOIMAGEFORMATACQ DCM_MAKETAG(DCM_GROUPACQUISITION,0x1022) | 
| #define | DCM_ACQDIGITALIMAGEFORMATACQ DCM_MAKETAG(DCM_GROUPACQUISITION,0x1023) | 
| #define | DCM_ACQPROTOCOLNAME DCM_MAKETAG(DCM_GROUPACQUISITION,0x1030) | 
| #define | DCM_ACQCONTRASTBOLUSROUTE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1040) | 
| #define | DCM_ACQCONTRASTBOLUSVOL DCM_MAKETAG(DCM_GROUPACQUISITION,0x1041) | 
| #define | DCM_ACQCONTRASTBOLUSSTARTTIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x1042) | 
| #define | DCM_ACQCONTRASTBOLUSSTOPTIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x1043) | 
| #define | DCM_ACQCONTRASTBOLUSTOTALDOSE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1044) | 
| #define | DCM_ACQSYRINGECOUNTS DCM_MAKETAG(DCM_GROUPACQUISITION,0x1045) | 
| #define | DCM_ACQCONTRASTFLOWRATE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1046) | 
| #define | DCM_ACQCONTRASTFLOWDURATION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1047) | 
| #define | DCM_ACQCONTRASTBOLUSINGREDIENT DCM_MAKETAG(DCM_GROUPACQUISITION,0x1048) | 
| #define | DCM_ACQCONTRASTBOLUSINGREDIENTCONCENTRATION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1049) | 
| #define | DCM_ACQSPATIALRESOLUTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1050) | 
| #define | DCM_ACQTRIGGERTIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x1060) | 
| #define | DCM_ACQTRIGGERSRCTYPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1061) | 
| #define | DCM_ACQNOMINALINTERVAL DCM_MAKETAG(DCM_GROUPACQUISITION,0x1062) | 
| #define | DCM_ACQFRAMETIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x1063) | 
| #define | DCM_ACQFRAMINGTYPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1064) | 
| #define | DCM_ACQFRAMETIMEVECTOR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1065) | 
| #define | DCM_ACQFRAMEDELAY DCM_MAKETAG(DCM_GROUPACQUISITION,0x1066) | 
| #define | DCM_ACQIMAGETRIGGERDELAY DCM_MAKETAG(DCM_GROUPACQUISITION,0x1067) | 
| #define | DCM_ACQGROUPTIMEOFFSET DCM_MAKETAG(DCM_GROUPACQUISITION,0x1068) | 
| #define | DCM_ACQTRIGGERTIMEOFFSET DCM_MAKETAG(DCM_GROUPACQUISITION,0x1069) | 
| #define | DCM_ACQSYNCTRIGGER DCM_MAKETAG(DCM_GROUPACQUISITION,0x106A) | 
| #define | DCM_ACQSYNCFRAMEOFREFERENCE DCM_MAKETAG(DCM_GROUPACQUISITION,0x106B) | 
| #define | DCM_ACQTRIGGERSAMPLEPOSITION DCM_MAKETAG(DCM_GROUPACQUISITION,0x106E) | 
| #define | DCM_ACQRADIOPHARMROUTE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1070) | 
| #define | DCM_ACQRADIOPHARMVOLUME DCM_MAKETAG(DCM_GROUPACQUISITION,0x1071) | 
| #define | DCM_ACQRADIOPHARMSTARTTIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x1072) | 
| #define | DCM_ACQRADIOPHARMSTOPTIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x1073) | 
| #define | DCM_ACQRADIONUCLIDETOTALDOSE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1074) | 
| #define | DCM_ACQRADIONUCLIDEHALFLIFE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1075) | 
| #define | DCM_ACQRADIONUCLIDEPOSITRONFRACTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1076) | 
| #define | DCM_ACQRADIOPHARMACEUTICALSPECIFICACTIVITY DCM_MAKETAG(DCM_GROUPACQUISITION,0x1077) | 
| #define | DCM_ACQBEATREJECTIONFLAG DCM_MAKETAG(DCM_GROUPACQUISITION,0x1080) | 
| #define | DCM_ACQLOWRRVALUE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1081) | 
| #define | DCM_ACQHIGHRRVALUE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1082) | 
| #define | DCM_ACQINTERVALSACQUIRED DCM_MAKETAG(DCM_GROUPACQUISITION,0x1083) | 
| #define | DCM_ACQINTERVALSREJECTED DCM_MAKETAG(DCM_GROUPACQUISITION,0x1084) | 
| #define | DCM_ACQPVCREJECTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1085) | 
| #define | DCM_ACQSKIPBEATS DCM_MAKETAG(DCM_GROUPACQUISITION,0x1086) | 
| #define | DCM_ACQHEARTRATE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1088) | 
| #define | DCM_ACQCARDIACNUMBEROFIMAGES DCM_MAKETAG(DCM_GROUPACQUISITION,0x1090) | 
| #define | DCM_ACQTRIGGERWINDOW DCM_MAKETAG(DCM_GROUPACQUISITION,0x1094) | 
| #define | DCM_ACQRECONSTRUCTIONDIAMETER DCM_MAKETAG(DCM_GROUPACQUISITION,0x1100) | 
| #define | DCM_ACQDISTANCESRCTODETECTOR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1110) | 
| #define | DCM_ACQDISTANCESRCTOPATIENT DCM_MAKETAG(DCM_GROUPACQUISITION,0x1111) | 
| #define | DCM_ACQESTIMATEDRADIOGRAPHICMAGFACTOR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1114) | 
| #define | DCM_ACQGANTRYTILT DCM_MAKETAG(DCM_GROUPACQUISITION,0x1120) | 
| #define | DCM_ACQGANTRYSLEW DCM_MAKETAG(DCM_GROUPACQUISITION,0x1121) | 
| #define | DCM_ACQTABLEHEIGHT DCM_MAKETAG(DCM_GROUPACQUISITION,0x1130) | 
| #define | DCM_ACQTABLETRAVERSE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1131) | 
| #define | DCM_ACQTABLEMOTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1134) | 
| #define | DCM_ACQTABLEVERTICALINCREMENT DCM_MAKETAG(DCM_GROUPACQUISITION,0x1135) | 
| #define | DCM_ACQTABLELATERALINCREMENT DCM_MAKETAG(DCM_GROUPACQUISITION,0x1136) | 
| #define | DCM_ACQTABLELONGITUDINALINCREMENT DCM_MAKETAG(DCM_GROUPACQUISITION,0x1137) | 
| #define | DCM_ACQTABLEANGLE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1138) | 
| #define | DCM_ACQROTATIONDIRECTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1140) | 
| #define | DCM_ACQANGULARPOSITION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1141) | 
| #define | DCM_ACQRADIALPOSITION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1142) | 
| #define | DCM_ACQSCANARC DCM_MAKETAG(DCM_GROUPACQUISITION,0x1143) | 
| #define | DCM_ACQANGULARSTEP DCM_MAKETAG(DCM_GROUPACQUISITION,0x1144) | 
| #define | DCM_ACQCENTERROTATIONOFFSET DCM_MAKETAG(DCM_GROUPACQUISITION,0x1145) | 
| #define | DCM_ACQROTATIONOFFSET DCM_MAKETAG(DCM_GROUPACQUISITION,0x1146) | 
| #define | DCM_ACQFIELDOFVIEWSHAPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1147) | 
| #define | DCM_ACQFIELDOFVIEWDIMENSION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1149) | 
| #define | DCM_ACQEXPOSURETIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x1150) | 
| #define | DCM_ACQXRAYTUBECURRENT DCM_MAKETAG(DCM_GROUPACQUISITION,0x1151) | 
| #define | DCM_ACQEXPOSURE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1152) | 
| #define | DCM_ACQAVERAGEPULSEWIDTH DCM_MAKETAG(DCM_GROUPACQUISITION,0x1154) | 
| #define | DCM_ACQRADIATIONSETTING DCM_MAKETAG(DCM_GROUPACQUISITION,0x1155) | 
| #define | DCM_ACQRADIATIONMODE DCM_MAKETAG(DCM_GROUPACQUISITION,0x115a) | 
| #define | DCM_ACQIMAGEAREADOSEPRODUCT DCM_MAKETAG(DCM_GROUPACQUISITION,0x115e) | 
| #define | DCM_ACQFILTERTYPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1160) | 
| #define | DCM_ACQTYPEOFFILTERS DCM_MAKETAG(DCM_GROUPACQUISITION,0x1161) | 
| #define | DCM_ACQINTENSIFIERSIZE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1162) | 
| #define | DCM_ACQIMAGERPIXELSPACING DCM_MAKETAG(DCM_GROUPACQUISITION,0x1164) | 
| #define | DCM_ACQGRID DCM_MAKETAG(DCM_GROUPACQUISITION,0x1166) | 
| #define | DCM_ACQGENERATORPOWER DCM_MAKETAG(DCM_GROUPACQUISITION,0x1170) | 
| #define | DCM_ACQCOLLIMATORGRIDNAME DCM_MAKETAG(DCM_GROUPACQUISITION,0x1180) | 
| #define | DCM_ACQCOLLIMATORTYPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1181) | 
| #define | DCM_ACQFOCALDISTANCE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1182) | 
| #define | DCM_ACQXFOCUSCENTER DCM_MAKETAG(DCM_GROUPACQUISITION,0x1183) | 
| #define | DCM_ACQYFOCUSCENTER DCM_MAKETAG(DCM_GROUPACQUISITION,0x1184) | 
| #define | DCM_ACQFOCALSPOT DCM_MAKETAG(DCM_GROUPACQUISITION,0x1190) | 
| #define | DCM_ACQDATELASTCALIBRATION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1200) | 
| #define | DCM_ACQTIMELASTCALIBRATION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1201) | 
| #define | DCM_ACQCONVOLUTIONKERNEL DCM_MAKETAG(DCM_GROUPACQUISITION,0x1210) | 
| #define | DCM_ACQUPPERLOWERPIXELVALUES DCM_MAKETAG(DCM_GROUPACQUISITION,0x1240) | 
| #define | DCM_ACQACTUALFRAMEDURATION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1242) | 
| #define | DCM_ACQCOUNTRATE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1243) | 
| #define | DCM_ACQPREFPLAYBACKSEQUENCING DCM_MAKETAG(DCM_GROUPACQUISITION,0x1244) | 
| #define | DCM_ACQRECEIVINGCOIL DCM_MAKETAG(DCM_GROUPACQUISITION,0x1250) | 
| #define | DCM_ACQTRANSMITTINGCOIL DCM_MAKETAG(DCM_GROUPACQUISITION,0x1251) | 
| #define | DCM_ACQPLATETYPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1260) | 
| #define | DCM_ACQPHOSPHORTYPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1261) | 
| #define | DCM_ACQSCANVELOCITY DCM_MAKETAG(DCM_GROUPACQUISITION,0x1300) | 
| #define | DCM_ACQWHOLEBODYTECHNIQUE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1301) | 
| #define | DCM_ACQSCANLENGTH DCM_MAKETAG(DCM_GROUPACQUISITION,0x1302) | 
| #define | DCM_ACQACQUISITIONMATRIX DCM_MAKETAG(DCM_GROUPACQUISITION,0x1310) | 
| #define | DCM_ACQPHASEENCODINGDIRECTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1312) | 
| #define | DCM_ACQFLIPANGLE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1314) | 
| #define | DCM_ACQVARIABLEFLIPANGLE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1315) | 
| #define | DCM_ACQSAR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1316) | 
| #define | DCM_ACQDBDT DCM_MAKETAG(DCM_GROUPACQUISITION,0x1318) | 
| #define | DCM_ACQDEVICEPROCESSINGDESCR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1400) | 
| #define | DCM_ACQDEVICEPROCESSINGCODE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1401) | 
| #define | DCM_ACQCASSETTEORIENTATION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1402) | 
| #define | DCM_ACQCASSETTESIZE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1403) | 
| #define | DCM_ACQEXPOSURESONPLATE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1404) | 
| #define | DCM_ACQRELATIVEXRAYEXPOSURE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1405) | 
| #define | DCM_ACQCOLUMNANGULATION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1450) | 
| #define | DCM_ACQTOMOLAYERHEIGHT DCM_MAKETAG(DCM_GROUPACQUISITION,0x1460) | 
| #define | DCM_ACQTOMOANGLE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1470) | 
| #define | DCM_ACQTOMOTIME DCM_MAKETAG(DCM_GROUPACQUISITION,0x1480) | 
| #define | DCM_ACQPOSITIONERMOTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x1500) | 
| #define | DCM_ACQPOSITIONERPRIMARYANGLE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1510) | 
| #define | DCM_ACQPOSITIONERSECONDARYANGLE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1511) | 
| #define | DCM_ACQPOSITIONERPRIMARYANGLEINCR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1520) | 
| #define | DCM_ACQPOSITIONERSECONDARYANGLEINCR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1521) | 
| #define | DCM_ACQDETECTORPRIMARYANGLE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1530) | 
| #define | DCM_ACQDETECTORSECONDARYANGLE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1531) | 
| #define | DCM_ACQSHUTTERSHAPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1600) | 
| #define | DCM_ACQSHUTTERLEFTVERTICALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1602) | 
| #define | DCM_ACQSHUTTERRIGHTVERTICALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1604) | 
| #define | DCM_ACQSHUTTERUPPERHORIZONTALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1606) | 
| #define | DCM_ACQSHUTTERLOWERHORIZONTALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1608) | 
| #define | DCM_ACQCENTEROFCIRCULARSHUTTER DCM_MAKETAG(DCM_GROUPACQUISITION,0x1610) | 
| #define | DCM_ACQRADIUSOFCIRCULARSHUTTER DCM_MAKETAG(DCM_GROUPACQUISITION,0x1612) | 
| #define | DCM_ACQVERTICESOFPOLYGONALSHUTTER DCM_MAKETAG(DCM_GROUPACQUISITION,0x1620) | 
| #define | DCM_ACQCOLLIMATORSHAPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1700) | 
| #define | DCM_ACQCOLLIMATORLEFTVERTICALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1702) | 
| #define | DCM_ACQCOLLIMATORRIGHTVERTICALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1704) | 
| #define | DCM_ACQCOLLIMATORUPPERHORIZONTALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1706) | 
| #define | DCM_ACQCOLLIMATORLOWERHORIZONTALEDGE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1708) | 
| #define | DCM_ACQCENTEROFCIRCULARCOLLIMATOR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1710) | 
| #define | DCM_ACQRADIUSOFCIRCULARCOLLIMATOR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1712) | 
| #define | DCM_ACQVERTICESOFPOLYGONALCOLLIMATOR DCM_MAKETAG(DCM_GROUPACQUISITION,0x1720) | 
| #define | DCM_ACQACQUISITIONTIMESYNCHRONIZED DCM_MAKETAG(DCM_GROUPACQUISITION,0x1800) | 
| #define | DCM_ACQTIMESOURCE DCM_MAKETAG(DCM_GROUPACQUISITION,0x1801) | 
| #define | DCM_ACQTIMEDISTRIBUTIONPROTOCOL DCM_MAKETAG(DCM_GROUPACQUISITION,0x1802) | 
| #define | DCM_ACQCOMMENTS DCM_MAKETAG(DCM_GROUPACQUISITION,0x4000) | 
| #define | DCM_ACQOUTPUTPOWER DCM_MAKETAG(DCM_GROUPACQUISITION,0x5000) | 
| #define | DCM_ACQTRANSDUCERDATA DCM_MAKETAG(DCM_GROUPACQUISITION,0x5010) | 
| #define | DCM_ACQFOCUSDEPTH DCM_MAKETAG(DCM_GROUPACQUISITION,0x5012) | 
| #define | DCM_ACQPROCESSINGFUNCTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x5020) | 
| #define | DCM_ACQPOSTPROCESSINGFUNCTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x5021) | 
| #define | DCM_ACQMECHANICALINDEX DCM_MAKETAG(DCM_GROUPACQUISITION,0x5022) | 
| #define | DCM_ACQTHERMALINDEX DCM_MAKETAG(DCM_GROUPACQUISITION,0x5024) | 
| #define | DCM_ACQCRANIALTHERMALINDEX DCM_MAKETAG(DCM_GROUPACQUISITION,0x5026) | 
| #define | DCM_ACQSOFTTISSUETHERMALINDEX DCM_MAKETAG(DCM_GROUPACQUISITION,0x5027) | 
| #define | DCM_ACQSOFTTISSUEFOCUSTHERMALINDEX DCM_MAKETAG(DCM_GROUPACQUISITION,0x5028) | 
| #define | DCM_ACQSOFTTISSUESURFACETHERMALINDEX DCM_MAKETAG(DCM_GROUPACQUISITION,0x5029) | 
| #define | DCM_ACQDEPTHOFSCANFIELD DCM_MAKETAG(DCM_GROUPACQUISITION,0x5050) | 
| #define | DCM_ACQPATIENTPOSITION DCM_MAKETAG(DCM_GROUPACQUISITION,0x5100) | 
| #define | DCM_ACQVIEWPOSITION DCM_MAKETAG(DCM_GROUPACQUISITION,0x5101) | 
| #define | DCM_ACQIMAGETRANSFORMATIONMATRIX DCM_MAKETAG(DCM_GROUPACQUISITION,0x5210) | 
| #define | DCM_ACQIMAGETRANSLATIONVECTOR DCM_MAKETAG(DCM_GROUPACQUISITION,0x5212) | 
| #define | DCM_ACQSENSITIVITY DCM_MAKETAG(DCM_GROUPACQUISITION,0x6000) | 
| #define | DCM_ACQUSREGIONSEQUENCE DCM_MAKETAG(DCM_GROUPACQUISITION,0x6011) | 
| #define | DCM_ACQREGIONSPATIALFORMAT DCM_MAKETAG(DCM_GROUPACQUISITION,0x6012) | 
| #define | DCM_ACQREGIONDATATYPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x6014) | 
| #define | DCM_ACQREGIONFLAGS DCM_MAKETAG(DCM_GROUPACQUISITION,0x6016) | 
| #define | DCM_ACQREGIONLOCATIONMINX0 DCM_MAKETAG(DCM_GROUPACQUISITION,0x6018) | 
| #define | DCM_ACQREGIONLOCATIONMINY0 DCM_MAKETAG(DCM_GROUPACQUISITION,0x601a) | 
| #define | DCM_ACQREGIONLOCATIONMAXX1 DCM_MAKETAG(DCM_GROUPACQUISITION,0x601c) | 
| #define | DCM_ACQREGIONLOCATIONMAXY1 DCM_MAKETAG(DCM_GROUPACQUISITION,0x601e) | 
| #define | DCM_ACQREFERENCEPIXELX DCM_MAKETAG(DCM_GROUPACQUISITION,0x6020) | 
| #define | DCM_ACQREFERENCEPIXELY DCM_MAKETAG(DCM_GROUPACQUISITION,0x6022) | 
| #define | DCM_ACQPHYSICALUNITSXDIRECTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x6024) | 
| #define | DCM_ACQPHYSICALUNITSYDIRECTION DCM_MAKETAG(DCM_GROUPACQUISITION,0x6026) | 
| #define | DCM_ACQREFPIXELPHYSICALVALUEX DCM_MAKETAG(DCM_GROUPACQUISITION,0x6028) | 
| #define | DCM_ACQREFPIXELPHYSICALVALUEY DCM_MAKETAG(DCM_GROUPACQUISITION,0x602a) | 
| #define | DCM_ACQPHYSICALDELTAX DCM_MAKETAG(DCM_GROUPACQUISITION,0x602c) | 
| #define | DCM_ACQPHYSICALDELTAY DCM_MAKETAG(DCM_GROUPACQUISITION,0x602e) | 
| #define | DCM_ACQTRANSDUCERFREQUENCY DCM_MAKETAG(DCM_GROUPACQUISITION,0x6030) | 
| #define | DCM_ACQTRANSDUCERTYPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x6031) | 
| #define | DCM_ACQPULSEREPETITIONFREQ DCM_MAKETAG(DCM_GROUPACQUISITION,0x6032) | 
| #define | DCM_ACQDOPPLERCORRECTIONANGLE DCM_MAKETAG(DCM_GROUPACQUISITION,0x6034) | 
| #define | DCM_ACQSTERRINGANGLE DCM_MAKETAG(DCM_GROUPACQUISITION,0x6036) | 
| #define | DCM_ACQDOPPLERSAMPLEVOLXPOS DCM_MAKETAG(DCM_GROUPACQUISITION,0x6038) | 
| #define | DCM_ACQDOPPLERSAMPLEVOLYPOS DCM_MAKETAG(DCM_GROUPACQUISITION,0x603a) | 
| #define | DCM_ACQTMLINEPOSITIONX0 DCM_MAKETAG(DCM_GROUPACQUISITION,0x603c) | 
| #define | DCM_ACQTMLINEPOSITIONY0 DCM_MAKETAG(DCM_GROUPACQUISITION,0x603e) | 
| #define | DCM_ACQTMLINEPOSITIONX1 DCM_MAKETAG(DCM_GROUPACQUISITION,0x6040) | 
| #define | DCM_ACQTMLINEPOSITIONY1 DCM_MAKETAG(DCM_GROUPACQUISITION,0x6042) | 
| #define | DCM_ACQPIXELCOMPORGANIZATION DCM_MAKETAG(DCM_GROUPACQUISITION,0x6044) | 
| #define | DCM_ACQPIXELCOMPMASK DCM_MAKETAG(DCM_GROUPACQUISITION,0x6046) | 
| #define | DCM_ACQPIXELCOMPRANGESTART DCM_MAKETAG(DCM_GROUPACQUISITION,0x6048) | 
| #define | DCM_ACQPIXELCOMPRANGESTOP DCM_MAKETAG(DCM_GROUPACQUISITION,0x604a) | 
| #define | DCM_ACQPIXELCOMPPHYSUNITS DCM_MAKETAG(DCM_GROUPACQUISITION,0x604c) | 
| #define | DCM_ACQPIXELCOMPDATATYPE DCM_MAKETAG(DCM_GROUPACQUISITION,0x604e) | 
| #define | DCM_ACQNUMBERTABLEBREAKPOINTS DCM_MAKETAG(DCM_GROUPACQUISITION,0x6050) | 
| #define | DCM_ACQTABLEXBREAKPOINTS DCM_MAKETAG(DCM_GROUPACQUISITION,0x6052) | 
| #define | DCM_ACQTABLEYBREAKPOINTS DCM_MAKETAG(DCM_GROUPACQUISITION,0x6054) | 
| #define | DCM_ACQNUMBEROFTABLEENTRIES DCM_MAKETAG(DCM_GROUPACQUISITION,0x6056) | 
| #define | DCM_ACQTABLEOFPIXELVALUES DCM_MAKETAG(DCM_GROUPACQUISITION,0x6058) | 
| #define | DCM_ACQTABLEOFPARAMETERVALUES DCM_MAKETAG(DCM_GROUPACQUISITION,0x605a) | 
| #define | DCM_RELGROUPLENGTH DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0000) | 
| #define | DCM_RELSTUDYINSTANCEUID DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x000d) | 
| #define | DCM_RELSERIESINSTANCEUID DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x000e) | 
| #define | DCM_RELSTUDYID DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0010) | 
| #define | DCM_RELSERIESNUMBER DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0011) | 
| #define | DCM_RELACQUISITIONNUMBER DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0012) | 
| #define | DCM_RELIMAGENUMBER DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0013) | 
| #define | DCM_RELISOTOPENUMBER DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0014) | 
| #define | DCM_RELPHASENUMBER DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0015) | 
| #define | DCM_RELINTERVALNUMBER DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0016) | 
| #define | DCM_RELTIMESLOTNUMBER DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0017) | 
| #define | DCM_RELANGLENUMBER DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0018) | 
| #define | DCM_RELPATIENTORIENTATION DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0020) | 
| #define | DCM_RELOVERLAYNUMBER DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0022) | 
| #define | DCM_RELCURVENUMBER DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0024) | 
| #define | DCM_RELLOOKUPTABLENUMBER DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0026) | 
| #define | DCM_RELIMAGEPOSITION DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0030) | 
| #define | DCM_RELIMAGEPOSITIONPATIENT DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0032) | 
| #define | DCM_RELIMAGEORIENTATION DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0035) | 
| #define | DCM_RELIMAGEORIENTATIONPATIENT DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0037) | 
| #define | DCM_RELLOCATION DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0050) | 
| #define | DCM_RELFRAMEOFREFERENCEUID DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0052) | 
| #define | DCM_RELLATERALITY DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0060) | 
| #define | DCM_RELIMAGEGEOMETRYTYPE DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0070) | 
| #define | DCM_RELMASKINGIMAGE DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0080) | 
| #define | DCM_RELTEMPORALPOSITIONID DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0100) | 
| #define | DCM_RELNUMBERTEMPORALPOSITIONS DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0105) | 
| #define | DCM_RELTEMPORALRESOLUTION DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x0110) | 
| #define | DCM_RELSERIESINSTUDY DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1000) | 
| #define | DCM_RELACQUISITIONSINSERIES DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1001) | 
| #define | DCM_RELIMAGESINACQUISITION DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1002) | 
| #define | DCM_RELACQUISITIONSINSTUDY DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1004) | 
| #define | DCM_RELREFERENCE DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1020) | 
| #define | DCM_RELPOSITIONREFINDICATOR DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1040) | 
| #define | DCM_RELSLICELOCATION DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1041) | 
| #define | DCM_RELOTHERSTUDYNUMBERS DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1070) | 
| #define | DCM_RELNUMBERPATRELATEDSTUDIES DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1200) | 
| #define | DCM_RELNUMBERPATRELATEDSERIES DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1202) | 
| #define | DCM_RELNUMBERPATRELATEDIMAGES DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1204) | 
| #define | DCM_RELNUMBERSTUDYRELATEDSERIES DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1206) | 
| #define | DCM_RELNUMBERSTUDYRELATEDIMAGES DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1208) | 
| #define | DCM_RELNUMBERSERIESRELATEDINST DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x1209) | 
| #define | DCM_RELSOURCEIMAGEID DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3100) | 
| #define | DCM_RELMODIFYINGDEVICEID DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3401) | 
| #define | DCM_RELMODIFIEDIMAGEID DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3402) | 
| #define | DCM_RELMODIFIEDIMAGEDATE DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3403) | 
| #define | DCM_RELMODIFYINGDEVICEMFR DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3404) | 
| #define | DCM_RELMODIFIEDIMAGETIME DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3405) | 
| #define | DCM_RELMODIFIEDIMAGEDESCRIPTION DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x3406) | 
| #define | DCM_RELIMAGECOMMENTS DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x4000) | 
| #define | DCM_RELORIGINALIMAGEID DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x5000) | 
| #define | DCM_RELORIGINALIMAGEIDNOMENCLATURE DCM_MAKETAG(DCM_GROUPRELATIONSHIP,0x5002) | 
| #define | DCM_IMGGROUPLENGTH DCM_MAKETAG(DCM_GROUPIMAGE,0x0000) | 
| #define | DCM_IMGSAMPLESPERPIXEL DCM_MAKETAG(DCM_GROUPIMAGE,0x0002) | 
| #define | DCM_IMGPHOTOMETRICINTERP DCM_MAKETAG(DCM_GROUPIMAGE,0x0004) | 
| #define | DCM_IMGIMAGEDIMENSIONS DCM_MAKETAG(DCM_GROUPIMAGE,0x0005) | 
| #define | DCM_IMGPLANARCONFIGURATION DCM_MAKETAG(DCM_GROUPIMAGE,0x0006) | 
| #define | DCM_IMGNUMBEROFFRAMES DCM_MAKETAG(DCM_GROUPIMAGE,0x0008) | 
| #define | DCM_IMGFRAMEINCREMENTPOINTER DCM_MAKETAG(DCM_GROUPIMAGE,0x0009) | 
| #define | DCM_IMGROWS DCM_MAKETAG(DCM_GROUPIMAGE,0x0010) | 
| #define | DCM_IMGCOLUMNS DCM_MAKETAG(DCM_GROUPIMAGE,0x0011) | 
| #define | DCM_IMGPLANES DCM_MAKETAG(DCM_GROUPIMAGE,0x0012) | 
| #define | DCM_IMGUSOUNDCOLORDATAPRESENT DCM_MAKETAG(DCM_GROUPIMAGE,0x0014) | 
| #define | DCM_IMGPIXELSPACING DCM_MAKETAG(DCM_GROUPIMAGE,0x0030) | 
| #define | DCM_IMGZOOMFACTOR DCM_MAKETAG(DCM_GROUPIMAGE,0x0031) | 
| #define | DCM_IMGZOOMCENTER DCM_MAKETAG(DCM_GROUPIMAGE,0x0032) | 
| #define | DCM_IMGPIXELASPECTRATIO DCM_MAKETAG(DCM_GROUPIMAGE,0x0034) | 
| #define | DCM_IMGIMAGEFORMAT DCM_MAKETAG(DCM_GROUPIMAGE,0x0040) | 
| #define | DCM_IMGMANIPULATEDIMAGE DCM_MAKETAG(DCM_GROUPIMAGE,0x0050) | 
| #define | DCM_IMGCORRECTEDIMAGE DCM_MAKETAG(DCM_GROUPIMAGE,0x0051) | 
| #define | DCM_IMGCOMPRESSIONCODE DCM_MAKETAG(DCM_GROUPIMAGE,0x0060) | 
| #define | DCM_IMGBITSALLOCATED DCM_MAKETAG(DCM_GROUPIMAGE,0x0100) | 
| #define | DCM_IMGBITSSTORED DCM_MAKETAG(DCM_GROUPIMAGE,0x0101) | 
| #define | DCM_IMGHIGHBIT DCM_MAKETAG(DCM_GROUPIMAGE,0x0102) | 
| #define | DCM_IMGPIXELREPRESENTATION DCM_MAKETAG(DCM_GROUPIMAGE,0x0103) | 
| #define | DCM_IMGSMALLESTPIXELVALUE DCM_MAKETAG(DCM_GROUPIMAGE,0x0104) | 
| #define | DCM_IMGLARGESTPIXELVALUE DCM_MAKETAG(DCM_GROUPIMAGE,0x0105) | 
| #define | DCM_IMGSMALLESTIMAGEPIXELVALUE DCM_MAKETAG(DCM_GROUPIMAGE,0x0106) | 
| #define | DCM_IMGLARGESTIMAGEPIXELVALUE DCM_MAKETAG(DCM_GROUPIMAGE,0x0107) | 
| #define | DCM_IMGSMALLESTPIXELVALUESERIES DCM_MAKETAG(DCM_GROUPIMAGE,0x0108) | 
| #define | DCM_IMGLARGESTPIXELVALUESERIES DCM_MAKETAG(DCM_GROUPIMAGE,0x0109) | 
| #define | DCM_IMGSMALLESTIMAGEPIXELVALUEPLANE DCM_MAKETAG(DCM_GROUPIMAGE, 0x0110) | 
| #define | DCM_IMGLARGESTIMAGEPIXELVALUEPLANE DCM_MAKETAG(DCM_GROUPIMAGE, 0x0111) | 
| #define | DCM_IMGPIXELPADDINGVALUE DCM_MAKETAG(DCM_GROUPIMAGE,0x0120) | 
| #define | DCM_IMGWAVEFORMPADDINGVALUE DCM_MAKETAG(DCM_GROUPIMAGE,0x0122) | 
| #define | DCM_IMGIMAGELOCATION DCM_MAKETAG(DCM_GROUPIMAGE,0x0200) | 
| #define | DCM_IMGPIXELINTENSITYRELATIONSHIP DCM_MAKETAG(DCM_GROUPIMAGE,0x1040) | 
| #define | DCM_IMGWINDOWCENTER DCM_MAKETAG(DCM_GROUPIMAGE,0x1050) | 
| #define | DCM_IMGWINDOWWIDTH DCM_MAKETAG(DCM_GROUPIMAGE,0x1051) | 
| #define | DCM_IMGRESCALEINTERCEPT DCM_MAKETAG(DCM_GROUPIMAGE,0x1052) | 
| #define | DCM_IMGRESCALESLOPE DCM_MAKETAG(DCM_GROUPIMAGE,0x1053) | 
| #define | DCM_IMGRESCALETYPE DCM_MAKETAG(DCM_GROUPIMAGE,0x1054) | 
| #define | DCM_IMGWINDOWCWEXPLANATION DCM_MAKETAG(DCM_GROUPIMAGE,0x1055) | 
| #define | DCM_IMGGRAYSCALE DCM_MAKETAG(DCM_GROUPIMAGE,0x1080) | 
| #define | DCM_IMGRECOMMENDEDVIEWINGMODE DCM_MAKETAG(DCM_GROUPIMAGE,0x1090) | 
| #define | DCM_IMGLUTDESCRIPTGRAY DCM_MAKETAG(DCM_GROUPIMAGE,0x1100) | 
| #define | DCM_IMGLUTDESCRIPTRED DCM_MAKETAG(DCM_GROUPIMAGE,0x1101) | 
| #define | DCM_IMGLUTDESCRIPTGREEN DCM_MAKETAG(DCM_GROUPIMAGE,0x1102) | 
| #define | DCM_IMGLUTDESCRIPTBLUE DCM_MAKETAG(DCM_GROUPIMAGE,0x1103) | 
| #define | DCM_IMGPALETTECOLORLUTUID DCM_MAKETAG(DCM_GROUPIMAGE,0x1199) | 
| #define | DCM_IMGLOOKUPDATAGRAY DCM_MAKETAG(DCM_GROUPIMAGE,0x1200) | 
| #define | DCM_IMGLOOKUPDATARED DCM_MAKETAG(DCM_GROUPIMAGE,0x1201) | 
| #define | DCM_IMGLOOKUPDATAGREEN DCM_MAKETAG(DCM_GROUPIMAGE,0x1202) | 
| #define | DCM_IMGLOOKUPDATABLUE DCM_MAKETAG(DCM_GROUPIMAGE,0x1203) | 
| #define | DCM_IMGSEGMENTEDREDLUTDATA DCM_MAKETAG(DCM_GROUPIMAGE,0x1221) | 
| #define | DCM_IMGSEGMENTEDGREENLUTDATA DCM_MAKETAG(DCM_GROUPIMAGE,0x1222) | 
| #define | DCM_IMGSEGMENTEDBLUELUTDATA DCM_MAKETAG(DCM_GROUPIMAGE,0x1223) | 
| #define | DCM_IMGLOSSYIMAGECOMPRESSION DCM_MAKETAG(DCM_GROUPIMAGE,0x2110) | 
| #define | DCM_IMGMODALITYLUTSEQUENCE DCM_MAKETAG(DCM_GROUPIMAGE,0x3000) | 
| #define | DCM_IMGLUTDESCRIPTOR DCM_MAKETAG(DCM_GROUPIMAGE,0x3002) | 
| #define | DCM_IMGLUTEXPLANATION DCM_MAKETAG(DCM_GROUPIMAGE,0x3003) | 
| #define | DCM_IMGMODALITYLUTTYPE DCM_MAKETAG(DCM_GROUPIMAGE,0x3004) | 
| #define | DCM_IMGLUTDATA DCM_MAKETAG(DCM_GROUPIMAGE,0x3006) | 
| #define | DCM_IMGVOILUTSEQUENCE DCM_MAKETAG(DCM_GROUPIMAGE,0x3010) | 
| #define | DCM_IMGCOMMENTS DCM_MAKETAG(DCM_GROUPIMAGE,0x4000) | 
| #define | DCM_IMGBIPLANEACQSEQUENCE DCM_MAKETAG(DCM_GROUPIMAGE,0x5000) | 
| #define | DCM_IMGREPRESENTATIVEFRAMENUMBER DCM_MAKETAG(DCM_GROUPIMAGE,0x6010) | 
| #define | DCM_IMGFRAMENUMBERSOFINTEREST DCM_MAKETAG(DCM_GROUPIMAGE,0x6020) | 
| #define | DCM_IMGFRAMEOFINTERESTDESCRIPTION DCM_MAKETAG(DCM_GROUPIMAGE,0x6022) | 
| #define | DCM_IMGMASKPOINTER DCM_MAKETAG(DCM_GROUPIMAGE,0x6030) | 
| #define | DCM_IMGRWAVEPOINTER DCM_MAKETAG(DCM_GROUPIMAGE,0x6040) | 
| #define | DCM_IMGMASKSUBTRACTIONSEQ DCM_MAKETAG(DCM_GROUPIMAGE,0x6100) | 
| #define | DCM_IMGMASKOPERATION DCM_MAKETAG(DCM_GROUPIMAGE,0x6101) | 
| #define | DCM_IMGAPPLICABLEFRAMERANGE DCM_MAKETAG(DCM_GROUPIMAGE,0x6102) | 
| #define | DCM_IMGMASKFRAMENUMBERS DCM_MAKETAG(DCM_GROUPIMAGE,0x6110) | 
| #define | DCM_IMGCONTRASTFRAMEAVERAGING DCM_MAKETAG(DCM_GROUPIMAGE,0x6112) | 
| #define | DCM_IMGMASKSUBPIXELSHIFT DCM_MAKETAG(DCM_GROUPIMAGE,0x6114) | 
| #define | DCM_IMGTIDOFFSET DCM_MAKETAG(DCM_GROUPIMAGE,0x6120) | 
| #define | DCM_MASKOPERATIONEXPLANATION DCM_MAKETAG(DCM_GROUPIMAGE,0x6190) | 
| #define | DCM_SDYGROUPLENGTH DCM_MAKETAG(DCM_GROUPSTUDY,0x0000) | 
| #define | DCM_SDYSTATUSID DCM_MAKETAG(DCM_GROUPSTUDY,0x000A) | 
| #define | DCM_SDYPRIORITYID DCM_MAKETAG(DCM_GROUPSTUDY,0x000C) | 
| #define | DCM_SDYIDISSUER DCM_MAKETAG(DCM_GROUPSTUDY,0x0012) | 
| #define | DCM_SDYVERIFIEDDATE DCM_MAKETAG(DCM_GROUPSTUDY,0x0032) | 
| #define | DCM_SDYVERIFIEDTIME DCM_MAKETAG(DCM_GROUPSTUDY,0x0033) | 
| #define | DCM_SDYREADDATE DCM_MAKETAG(DCM_GROUPSTUDY,0x0034) | 
| #define | DCM_SDYREADTIME DCM_MAKETAG(DCM_GROUPSTUDY,0x0035) | 
| #define | DCM_SDYSCHEDULEDSTARTDATE DCM_MAKETAG(DCM_GROUPSTUDY,0x1000) | 
| #define | DCM_SDYSCHEDULEDSTARTTIME DCM_MAKETAG(DCM_GROUPSTUDY,0x1001) | 
| #define | DCM_SDYSCHEDULEDSTOPDATE DCM_MAKETAG(DCM_GROUPSTUDY,0x1010) | 
| #define | DCM_SDYSCHEDULEDSTOPTIME DCM_MAKETAG(DCM_GROUPSTUDY,0x1011) | 
| #define | DCM_SDYSCHEDULEDLOCATION DCM_MAKETAG(DCM_GROUPSTUDY,0x1020) | 
| #define | DCM_SDYSCHEDULEDLOCATIONAETITLE DCM_MAKETAG(DCM_GROUPSTUDY,0x1021) | 
| #define | DCM_SDYREASON DCM_MAKETAG(DCM_GROUPSTUDY,0x1030) | 
| #define | DCM_SDYREQUESTINGPHYSICIAN DCM_MAKETAG(DCM_GROUPSTUDY,0x1032) | 
| #define | DCM_SDYREQUESTINGSERVICE DCM_MAKETAG(DCM_GROUPSTUDY,0x1033) | 
| #define | DCM_SDYARRIVALDATE DCM_MAKETAG(DCM_GROUPSTUDY,0x1040) | 
| #define | DCM_SDYARRIVALTIME DCM_MAKETAG(DCM_GROUPSTUDY,0x1041) | 
| #define | DCM_SDYCOMPLETIONDATE DCM_MAKETAG(DCM_GROUPSTUDY,0x1050) | 
| #define | DCM_SDYCOMPLETIONTIME DCM_MAKETAG(DCM_GROUPSTUDY,0x1051) | 
| #define | DCM_SDYSTUDYCOMPONENTSTATUSID DCM_MAKETAG(DCM_GROUPSTUDY,0x1055) | 
| #define | DCM_SDYREQUESTEDPRODESCRIPTION DCM_MAKETAG(DCM_GROUPSTUDY,0x1060) | 
| #define | DCM_SDYREQUESTEDPROCODESEQ DCM_MAKETAG(DCM_GROUPSTUDY,0x1064) | 
| #define | DCM_SDYREQUESTEDCONTRASTAGENT DCM_MAKETAG(DCM_GROUPSTUDY,0x1070) | 
| #define | DCM_SDYCOMMENTS DCM_MAKETAG(DCM_GROUPSTUDY,0x4000) | 
| #define | DCM_VISGROUPLENGTH DCM_MAKETAG(DCM_GROUPVISIT,0x0000) | 
| #define | DCM_VISREFERENCEDPATALIASSEQ DCM_MAKETAG(DCM_GROUPVISIT,0x0004) | 
| #define | DCM_VISSTATUSID DCM_MAKETAG(DCM_GROUPVISIT,0x0008) | 
| #define | DCM_VISADMISSIONID DCM_MAKETAG(DCM_GROUPVISIT,0x0010) | 
| #define | DCM_VISISSUEROFADMISSIONID DCM_MAKETAG(DCM_GROUPVISIT,0x0011) | 
| #define | DCM_VISROUTEOFADMISSION DCM_MAKETAG(DCM_GROUPVISIT,0x0016) | 
| #define | DCM_VISSCHEDULEDADMISSIONDATE DCM_MAKETAG(DCM_GROUPVISIT,0x001a) | 
| #define | DCM_VISSCHEDULEDADMISSIONTIME DCM_MAKETAG(DCM_GROUPVISIT,0x001b) | 
| #define | DCM_VISSCHEDULEDDISCHARGEDATE DCM_MAKETAG(DCM_GROUPVISIT,0x001c) | 
| #define | DCM_VISSCHEDULEDDISCHARGETIME DCM_MAKETAG(DCM_GROUPVISIT,0x001d) | 
| #define | DCM_VISSCHEDULEDPATINSTRESIDENCE DCM_MAKETAG(DCM_GROUPVISIT,0x001e) | 
| #define | DCM_VISADMITTINGDATE DCM_MAKETAG(DCM_GROUPVISIT,0x0020) | 
| #define | DCM_VISADMITTINGTIME DCM_MAKETAG(DCM_GROUPVISIT,0x0021) | 
| #define | DCM_VISDISCHARGEDATE DCM_MAKETAG(DCM_GROUPVISIT,0x0030) | 
| #define | DCM_VISDISCHARGETIME DCM_MAKETAG(DCM_GROUPVISIT,0x0032) | 
| #define | DCM_VISDISCHARGEDIAGDESCRIPTION DCM_MAKETAG(DCM_GROUPVISIT,0x0040) | 
| #define | DCM_VISDISCHARGEDIAGNOSISCODESEQ DCM_MAKETAG(DCM_GROUPVISIT,0x0044) | 
| #define | DCM_VISSPECIALNEEDS DCM_MAKETAG(DCM_GROUPVISIT,0x0050) | 
| #define | DCM_VISCURRENTPATIENTLOCATION DCM_MAKETAG(DCM_GROUPVISIT,0x0300) | 
| #define | DCM_VISPATIENTSINSTRESIDENCE DCM_MAKETAG(DCM_GROUPVISIT,0x0400) | 
| #define | DCM_VISPATIENTSTATE DCM_MAKETAG(DCM_GROUPVISIT,0x0500) | 
| #define | DCM_VISCOMMENTS DCM_MAKETAG(DCM_GROUPVISIT,0x4000) | 
| #define | DCM_PRCGROUPLENGTH DCM_MAKETAG(DCM_GRPPROCEDURE,0x0000) | 
| #define | DCM_PRCSCHEDULEDSTATIONAETITLE DCM_MAKETAG(DCM_GRPPROCEDURE,0x0001) | 
| #define | DCM_PRCSCHEDULEDPROCSTEPSTARTDATE DCM_MAKETAG(DCM_GRPPROCEDURE,0x0002) | 
| #define | DCM_PRCSCHEDULEDPROCSTEPSTARTTIME DCM_MAKETAG(DCM_GRPPROCEDURE,0x0003) | 
| #define | DCM_PRCSCHEDULEDPROCSTEPENDDATE DCM_MAKETAG(DCM_GRPPROCEDURE,0x0004) | 
| #define | DCM_PRCSCHEDULEDPROCSTEPENDTIME DCM_MAKETAG(DCM_GRPPROCEDURE,0x0005) | 
| #define | DCM_PRCSCHEDULEDPERFORMINGPHYSNAME DCM_MAKETAG(DCM_GRPPROCEDURE,0x0006) | 
| #define | DCM_PRCSCHEDULEDPROCSTEPDESCRIPTION DCM_MAKETAG(DCM_GRPPROCEDURE,0x0007) | 
| #define | DCM_PRCSCHEDULEDACTIONITEMCODESEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0008) | 
| #define | DCM_PRCSCHEDULEDPROCSTEPID DCM_MAKETAG(DCM_GRPPROCEDURE,0x0009) | 
| #define | DCM_PRCSCHEDULEDSTATIONNAME DCM_MAKETAG(DCM_GRPPROCEDURE,0x0010) | 
| #define | DCM_PRCSCHEDULEDPROCSTEPLOCATION DCM_MAKETAG(DCM_GRPPROCEDURE,0x0011) | 
| #define | DCM_PRCPREMEDICATION DCM_MAKETAG(DCM_GRPPROCEDURE,0x0012) | 
| #define | DCM_PRCSTATUS DCM_MAKETAG(DCM_GRPPROCEDURE,0x0020) | 
| #define | DCM_PRCSCHEDULEDPROCSTEPSEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0100) | 
| #define | DCM_PRCREFSTANDALONESOPSEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0220) | 
| #define | DCM_PRCPERFORMEDSTATIONAET DCM_MAKETAG(DCM_GRPPROCEDURE,0x0241) | 
| #define | DCM_PRCPERFORMEDSTATIONNAME DCM_MAKETAG(DCM_GRPPROCEDURE,0x0242) | 
| #define | DCM_PRCPERFORMEDLOCATION DCM_MAKETAG(DCM_GRPPROCEDURE,0x0243) | 
| #define | DCM_PRCPPSSTARTDATE DCM_MAKETAG(DCM_GRPPROCEDURE,0x0244) | 
| #define | DCM_PRCPPSSTARTTIME DCM_MAKETAG(DCM_GRPPROCEDURE,0x0245) | 
| #define | DCM_PRCPPSENDDATE DCM_MAKETAG(DCM_GRPPROCEDURE,0x0250) | 
| #define | DCM_PRCPPSENDTIME DCM_MAKETAG(DCM_GRPPROCEDURE,0x0251) | 
| #define | DCM_PRCPPSSTATUS DCM_MAKETAG(DCM_GRPPROCEDURE,0x0252) | 
| #define | DCM_PRCPPSID DCM_MAKETAG(DCM_GRPPROCEDURE,0x0253) | 
| #define | DCM_PRCPPSDESCRIPTION DCM_MAKETAG(DCM_GRPPROCEDURE,0x0254) | 
| #define | DCM_PRCPPTYPEDESCRIPTION DCM_MAKETAG(DCM_GRPPROCEDURE,0x0255) | 
| #define | DCM_PRCPERFORMEDAISEQUENCE DCM_MAKETAG(DCM_GRPPROCEDURE,0x0260) | 
| #define | DCM_PRCSCHEDSTEPATTRSEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0270) | 
| #define | DCM_PRCREQUESTATTRIBUTESSEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0275) | 
| #define | DCM_PRCCOMMENTSPPS DCM_MAKETAG(DCM_GRPPROCEDURE,0x0280) | 
| #define | DCM_PRCQUANTITYSEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0293) | 
| #define | DCM_PRCQUANTITY DCM_MAKETAG(DCM_GRPPROCEDURE,0x0294) | 
| #define | DCM_PRCMEASURINGUNITSSEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0295) | 
| #define | DCM_PRCBILLINGITEMSEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0296) | 
| #define | DCM_PRCTOTALTIMEFLUOROSCOPY DCM_MAKETAG(DCM_GRPPROCEDURE,0x0300) | 
| #define | DCM_PRCTOTALNUMBEREXPOSURES DCM_MAKETAG(DCM_GRPPROCEDURE,0x0301) | 
| #define | DCM_PRCENTRANCEDOSE DCM_MAKETAG(DCM_GRPPROCEDURE,0x0302) | 
| #define | DCM_PRCEXPOSEDAREA DCM_MAKETAG(DCM_GRPPROCEDURE,0x0303) | 
| #define | DCM_PRCDISTANCESOURCEENTRANCE DCM_MAKETAG(DCM_GRPPROCEDURE,0x0306) | 
| #define | DCM_PRCCOMMENTSRADIATIONDOSE DCM_MAKETAG(DCM_GRPPROCEDURE,0x0310) | 
| #define | DCM_PRCBILLINGPROCEDURESTEPSEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0320) | 
| #define | DCM_PRCFILMCONSUMPTIONSEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0321) | 
| #define | DCM_PRCBILLINGSUPPLIESDEVICESEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0324) | 
| #define | DCM_PRCREFERENCEDPPS DCM_MAKETAG(DCM_GRPPROCEDURE,0x0330) | 
| #define | DCM_PRCPERFORMEDSERIESSEQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x0340) | 
| #define | DCM_PRCCOMMENTSONSCHEDULEDPROCSTEP DCM_MAKETAG(DCM_GRPPROCEDURE,0x0400) | 
| #define | DCM_PRCREQUESTEDPROCEDUREID DCM_MAKETAG(DCM_GRPPROCEDURE,0x1001) | 
| #define | DCM_PRCREASONFORREQUESTEDPROC DCM_MAKETAG(DCM_GRPPROCEDURE,0x1002) | 
| #define | DCM_PRCREQUESTEDPROCPRIORITY DCM_MAKETAG(DCM_GRPPROCEDURE,0x1003) | 
| #define | DCM_PRCPATIENTTRANSPORTARRANGEMENTS DCM_MAKETAG(DCM_GRPPROCEDURE,0x1004) | 
| #define | DCM_PRCREQUESTEDPROCLOCATION DCM_MAKETAG(DCM_GRPPROCEDURE,0x1005) | 
| #define | DCM_PRCPLACERORDERNUMBERPROC DCM_MAKETAG(DCM_GRPPROCEDURE,0x1006) | 
| #define | DCM_PRCFILLERORDERNUMBERPROC DCM_MAKETAG(DCM_GRPPROCEDURE,0x1007) | 
| #define | DCM_PRCCONFIDENTIALITYCODE DCM_MAKETAG(DCM_GRPPROCEDURE,0x1008) | 
| #define | DCM_PRCREPORTINGPRIORITY DCM_MAKETAG(DCM_GRPPROCEDURE,0x1009) | 
| #define | DCM_PRCNAMESINTENDEDRECIPIENTSRESULTS DCM_MAKETAG(DCM_GRPPROCEDURE,0x1010) | 
| #define | DCM_PRCREQUESTEDPROCCOMMENTS DCM_MAKETAG(DCM_GRPPROCEDURE,0x1400) | 
| #define | DCM_PRCREASONFORIMAGINGSERVICEREQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x2001) | 
| #define | DCM_PRCISSUEDATEIMAGINGSERVICEREQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x2004) | 
| #define | DCM_PRCISSUETIMEIMAGINGSERVICEREQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x2005) | 
| #define | DCM_PRCPLACERORDERNUMBERIMAGINGSRVREQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x2006) | 
| #define | DCM_PRCFILLERORDERNUMBERIMAGINGSRVREQ DCM_MAKETAG(DCM_GRPPROCEDURE,0x2007) | 
| #define | DCM_PRCORDERENTEREDBY DCM_MAKETAG(DCM_GRPPROCEDURE,0x2008) | 
| #define | DCM_PRCORDERENTERERSLOCATION DCM_MAKETAG(DCM_GRPPROCEDURE,0x2009) | 
| #define | DCM_PRCORDERCALLBACKPHONENUMBER DCM_MAKETAG(DCM_GRPPROCEDURE,0x2010) | 
| #define | DCM_PRCIMAGINGSERVICEREQCOMMENTS DCM_MAKETAG(DCM_GRPPROCEDURE,0x2400) | 
| #define | DCM_PRCCONFIDIENTIALITYCONSTRAINTPATIENTDATADES DCM_MAKETAG(DCM_GRPPROCEDURE,0x3001) | 
| #define | DCM_PRCGPSPSSTATUS DCM_MAKETAG(0x0040, 0x4001) | 
| #define | DCM_PRCGPPPSSTATUS DCM_MAKETAG(0x0040, 0x4002) | 
| #define | DCM_PRCGPSPSPRIORITY DCM_MAKETAG(0x0040, 0x4003) | 
| #define | DCM_PRCSCHEDULEDPROCAPPCODESEQ DCM_MAKETAG(0x0040, 0x4004) | 
| #define | DCM_PRCGPSPSSTARTDATETIME DCM_MAKETAG(0x0040, 0x4005) | 
| #define | DCM_PRCGPSPSMULTIPLECOPIESFLAG DCM_MAKETAG(0x0040, 0x4006) | 
| #define | DCM_PRCPERFORMEDPROCAPPCODESEQ DCM_MAKETAG(0x0040, 0x4007) | 
| #define | DCM_PRCHUMANPERFORMERCODESEQ DCM_MAKETAG(0x0040, 0x4009) | 
| #define | DCM_PRCGPSPSEXPECTEDCOMPLETEDATETIME DCM_MAKETAG(0x0040, 0x4011) | 
| #define | DCM_PRCRESULTINGGPPERFPROCSTEPSEQ DCM_MAKETAG(0x0040, 0x4015) | 
| #define | DCM_PRCREFERENCEDGPSCHEDPROCSTEPSEQ DCM_MAKETAG(0x0040, 0x4016) | 
| #define | DCM_PRCSCHEDWORKITEMCODESEQ DCM_MAKETAG(0x0040, 0x4018) | 
| #define | DCM_PRCPERFORMEDWORKITEMCODESEQ DCM_MAKETAG(0x0040, 0x4019) | 
| #define | DCM_PRCINPUTAVAILFLAG DCM_MAKETAG(0x0040, 0x4020) | 
| #define | DCM_PRCINPUTINFOSEQ DCM_MAKETAG(0x0040, 0x4021) | 
| #define | DCM_PRCRELEVANTINFOSEQ DCM_MAKETAG(0x0040, 0x4022) | 
| #define | DCM_PRCREFERENCEDGPSPSTRANSACTIONUID DCM_MAKETAG(0x0040, 0x4023) | 
| #define | DCM_PRCSCHEDSTATIONNAMECODESEQ DCM_MAKETAG(0x0040, 0x4025) | 
| #define | DCM_PRCSCHEDSTATIONCLASSCODESEQ DCM_MAKETAG(0x0040, 0x4026) | 
| #define | DCM_PRCSCHEDSTATIONLOCCODESEQ DCM_MAKETAG(0x0040, 0x4027) | 
| #define | DCM_PRCPERFORMEDSTATIONNAMECODESEQ DCM_MAKETAG(0x0040, 0x4028) | 
| #define | DCM_PRCPERFORMEDSTATIONCLASSCODESEQ DCM_MAKETAG(0x0040, 0x4029) | 
| #define | DCM_PRCPERFORMEDSTATIONLOCCODESEQ DCM_MAKETAG(0x0040, 0x4030) | 
| #define | DCM_PRCREQSUBSWORKITEMCODESEQ DCM_MAKETAG(0x0040, 0x4031) | 
| #define | DCM_PRCNONDICOMOUTPUTCODESEQ DCM_MAKETAG(0x0040, 0x4032) | 
| #define | DCM_PRCOUTPUTINFOSEQ DCM_MAKETAG(0x0040, 0x4033) | 
| #define | DCM_PRCSCHEDHUMANPERFORMERSSEQ DCM_MAKETAG(0x0040, 0x4034) | 
| #define | DCM_PRCACTUALHUMANPERFORMERSSEQ DCM_MAKETAG(0x0040, 0x4035) | 
| #define | DCM_PRCHUMANPERFORMERSORG DCM_MAKETAG(0x0040, 0x4036) | 
| #define | DCM_PRCHUMANPERFORMERSNAME DCM_MAKETAG(0x0040, 0x4037) | 
| #define | DCM_PRCRELATIONSHIPTYPE DCM_MAKETAG(0x0040, 0xa010) | 
| #define | DCM_PRCVERIFYINGORGANIZATION DCM_MAKETAG(0x0040, 0xa027) | 
| #define | DCM_PRCVERIFICATIONDATETIME DCM_MAKETAG(0x0040, 0xa030) | 
| #define | DCM_PRCOBSERVATIONDATETIME DCM_MAKETAG(0x0040, 0xa032) | 
| #define | DCM_PRCVALUETYPE DCM_MAKETAG(0x0040, 0xa040) | 
| #define | DCM_PRCCONCEPTNAMECODESEQ DCM_MAKETAG(0x0040, 0xa043) | 
| #define | DCM_PRCCONTINUITYOFCONTENT DCM_MAKETAG(0x0040, 0xa050) | 
| #define | DCM_PRCVERIFYINGOBSERVERSEQ DCM_MAKETAG(0x0040, 0xa073) | 
| #define | DCM_PRCVERIFYINGOBSERVERNAME DCM_MAKETAG(0x0040, 0xa075) | 
| #define | DCM_PRCVERIFYINGOBSERVERIDCODESEQ DCM_MAKETAG(0x0040, 0xa088) | 
| #define | DCM_PRCDATETIME DCM_MAKETAG(0x0040, 0xa120) | 
| #define | DCM_PRCUID DCM_MAKETAG(0x0040, 0xa124) | 
| #define | DCM_PRCTEXTVALUE DCM_MAKETAG(0x0040, 0xa160) | 
| #define | DCM_PRCMEASUREDVALUESEQ DCM_MAKETAG(0x0040, 0xa300) | 
| #define | DCM_PRCPREDECESSORDOCUMENTSSEQ DCM_MAKETAG(0x0040, 0xa360) | 
| #define | DCM_PRCREFERENCEDDOCUMENTSSEQ DCM_MAKETAG(0x0040, 0xa370) | 
| #define | DCM_PRCPERFORMEDPROCEDURECODESEQ DCM_MAKETAG(0x0040, 0xa372) | 
| #define | DCM_PRCCURRENTREQPROCEVIDENCESEQ DCM_MAKETAG(0x0040, 0xa375) | 
| #define | DCM_PRCPERTINENTOTHEREVIDENCESEQ DCM_MAKETAG(0x0040, 0xa385) | 
| #define | DCM_PRCCOMPLETIONFLAG DCM_MAKETAG(0x0040, 0xa491) | 
| #define | DCM_PRCCOMPLETIONFLAGDESCR DCM_MAKETAG(0x0040, 0xa492) | 
| #define | DCM_PRCVERIFICATIONFLAG DCM_MAKETAG(0x0040, 0xa493) | 
| #define | DCM_PRCCONTENTTEMPLATESEQ DCM_MAKETAG(0x0040, 0xa504) | 
| #define | DCM_PRCIDENTIFICALDOCUMENTSSEQ DCM_MAKETAG(0x0040, 0xa525) | 
| #define | DCM_PRCCONTENTSEQ DCM_MAKETAG(0x0040, 0xa730) | 
| #define | DCM_PRCTEMPLATEIDENTIFIER DCM_MAKETAG(0x0040, 0xdb00) | 
| #define | DCM_PRCTEMPLATEVERSION DCM_MAKETAG(0x0040, 0xdb06) | 
| #define | DCM_PRCTEMPLATELOCALVERSION DCM_MAKETAG(0x0040, 0xdb07) | 
| #define | DCM_PRCTEMPLATEEXTENSIONFLAG DCM_MAKETAG(0x0040, 0xdb0b) | 
| #define | DCM_PRCTEMPLATEEXTENSIONORGUID DCM_MAKETAG(0x0040, 0xdb0c) | 
| #define | DCM_PRCTEMPLATEEXTENSIONCREATORUID DCM_MAKETAG(0x0040, 0xdb0d) | 
| #define | DCM_PRCREFERENCEDCONTENTITEMID DCM_MAKETAG(0x0040, 0xdb73) | 
| #define | DCM_DEVGROUPLENGTH DCM_MAKETAG(DCM_GROUPDEVICE,0x0000) | 
| #define | DCM_DEVCALIBRATIONOBJECT DCM_MAKETAG(DCM_GROUPDEVICE,0x0004) | 
| #define | DCM_DEVDEVICESEQUENCE DCM_MAKETAG(DCM_GROUPDEVICE,0x0010) | 
| #define | DCM_DEVDEVICELENGTH DCM_MAKETAG(DCM_GROUPDEVICE,0x0014) | 
| #define | DCM_DEVDEVICEDIAMETER DCM_MAKETAG(DCM_GROUPDEVICE,0x0016) | 
| #define | DCM_DEVDEVICEDIAMETERUNITS DCM_MAKETAG(DCM_GROUPDEVICE,0x0017) | 
| #define | DCM_DEVDEVICEVOLUME DCM_MAKETAG(DCM_GROUPDEVICE,0x0018) | 
| #define | DCM_DEVINTERMARKERDISTANCE DCM_MAKETAG(DCM_GROUPDEVICE,0x0019) | 
| #define | DCM_DEVDEVICEDESCRIPTION DCM_MAKETAG(DCM_GROUPDEVICE,0x0020) | 
| #define | DCM_RESGROUPLENGTH DCM_MAKETAG(DCM_GROUPRESULTS,0x0000) | 
| #define | DCM_RESID DCM_MAKETAG(DCM_GROUPRESULTS,0x0040) | 
| #define | DCM_RESIDISSUER DCM_MAKETAG(DCM_GROUPRESULTS,0x0042) | 
| #define | DCM_RESREFERENCEDINTERPSEQ DCM_MAKETAG(DCM_GROUPRESULTS,0x0050) | 
| #define | DCM_RESINTERPRECORDEDDATE DCM_MAKETAG(DCM_GROUPRESULTS,0x0100) | 
| #define | DCM_RESINTERPRECORDEDTIME DCM_MAKETAG(DCM_GROUPRESULTS,0x0101) | 
| #define | DCM_RESINTERPRECORDER DCM_MAKETAG(DCM_GROUPRESULTS,0x0102) | 
| #define | DCM_RESREFERENCETORECORDEDSOUND DCM_MAKETAG(DCM_GROUPRESULTS,0x0103) | 
| #define | DCM_RESINTERPTRANSCRIPTIONDATE DCM_MAKETAG(DCM_GROUPRESULTS,0x0108) | 
| #define | DCM_RESINTERPTRANSCRIPTIONTIME DCM_MAKETAG(DCM_GROUPRESULTS,0x0109) | 
| #define | DCM_RESINTERPTRANSCRIBER DCM_MAKETAG(DCM_GROUPRESULTS,0x010a) | 
| #define | DCM_RESINTERPTEXT DCM_MAKETAG(DCM_GROUPRESULTS,0x010b) | 
| #define | DCM_RESINTERPAUTHOR DCM_MAKETAG(DCM_GROUPRESULTS,0x010c) | 
| #define | DCM_RESINTERPAPPROVERSEQUENCE DCM_MAKETAG(DCM_GROUPRESULTS,0x0111) | 
| #define | DCM_RESINTERPAPPROVALDATE DCM_MAKETAG(DCM_GROUPRESULTS,0x0112) | 
| #define | DCM_RESINTERPAPPROVALTIME DCM_MAKETAG(DCM_GROUPRESULTS,0x0113) | 
| #define | DCM_RESPHYSICIANAPPROVINGINTERP DCM_MAKETAG(DCM_GROUPRESULTS,0x0114) | 
| #define | DCM_RESDIAGNOSIS DCM_MAKETAG(DCM_GROUPRESULTS,0x0115) | 
| #define | DCM_RESDIAGNOSISCODESEQ DCM_MAKETAG(DCM_GROUPRESULTS,0x0117) | 
| #define | DCM_RESDISTRIBUTIIONLISTSEQUENCE DCM_MAKETAG(DCM_GROUPRESULTS,0x0118) | 
| #define | DCM_RESDISTRIBUTIONNAME DCM_MAKETAG(DCM_GROUPRESULTS,0x0119) | 
| #define | DCM_RESDISTRIBUTIONADDRESS DCM_MAKETAG(DCM_GROUPRESULTS,0x011a) | 
| #define | DCM_RESINTERPID DCM_MAKETAG(DCM_GROUPRESULTS,0x0200) | 
| #define | DCM_RESINTERPIDISSUER DCM_MAKETAG(DCM_GROUPRESULTS,0x0202) | 
| #define | DCM_RESINTERPTYPEID DCM_MAKETAG(DCM_GROUPRESULTS,0x0210) | 
| #define | DCM_RESINTERPSTATUSID DCM_MAKETAG(DCM_GROUPRESULTS,0x0212) | 
| #define | DCM_RESIMPRESSIONS DCM_MAKETAG(DCM_GROUPRESULTS,0x0300) | 
| #define | DCM_RESCOMMENTS DCM_MAKETAG(DCM_GROUPRESULTS,0x4000) | 
| #define | DCM_CURVEGROUPLENGTH DCM_MAKETAG(DCM_GROUPCURVE, 0x0000) | 
| #define | DCM_CURVEDIMENSIONS DCM_MAKETAG(DCM_GROUPCURVE, 0x0005) | 
| #define | DCM_CURVENUMBEROFPOINTS DCM_MAKETAG(DCM_GROUPCURVE, 0x0010) | 
| #define | DCM_CURVETYPEOFDATA DCM_MAKETAG(DCM_GROUPCURVE, 0x0020) | 
| #define | DCM_CURVEDESCRIPTION DCM_MAKETAG(DCM_GROUPCURVE, 0x0022) | 
| #define | DCM_CURVEAXISUNITS DCM_MAKETAG(DCM_GROUPCURVE, 0x0030) | 
| #define | DCM_CURVEAXISLABELS DCM_MAKETAG(DCM_GROUPCURVE, 0x0040) | 
| #define | DCM_CURVEDATAVALUEREPRESENTATION DCM_MAKETAG(DCM_GROUPCURVE, 0x0103) | 
| #define | DCM_CURVEMINCOORDINATEVALUE DCM_MAKETAG(DCM_GROUPCURVE, 0x0104) | 
| #define | DCM_CURVEMAXCOORDINATEVALUE DCM_MAKETAG(DCM_GROUPCURVE, 0x0105) | 
| #define | DCM_CURVERANGE DCM_MAKETAG(DCM_GROUPCURVE, 0x0106) | 
| #define | DCM_CURVEDATADESCRIPTOR DCM_MAKETAG(DCM_GROUPCURVE, 0x0110) | 
| #define | DCM_CURVECOORDINATESTARTVALUE DCM_MAKETAG(DCM_GROUPCURVE, 0x0112) | 
| #define | DCM_CURVECOORDINATESTEPVALUE DCM_MAKETAG(DCM_GROUPCURVE, 0x0114) | 
| #define | DCM_CURVEAUDIOTYPE DCM_MAKETAG(DCM_GROUPCURVE, 0x2000) | 
| #define | DCM_CURVEAUDIOSAMPLEFORMAT DCM_MAKETAG(DCM_GROUPCURVE, 0x2002) | 
| #define | DCM_CURVENUMBEROFCHANNELS DCM_MAKETAG(DCM_GROUPCURVE, 0x2004) | 
| #define | DCM_CURVENUMBEROFSAMPLES DCM_MAKETAG(DCM_GROUPCURVE, 0x2006) | 
| #define | DCM_CURVESAMPLERATE DCM_MAKETAG(DCM_GROUPCURVE, 0x2008) | 
| #define | DCM_CURVETOTALTIME DCM_MAKETAG(DCM_GROUPCURVE, 0x200A) | 
| #define | DCM_CURVEAUDIOSAMPLEDATA DCM_MAKETAG(DCM_GROUPCURVE, 0x200C) | 
| #define | DCM_CURVEAUDIOCOMMENTS DCM_MAKETAG(DCM_GROUPCURVE, 0x200E) | 
| #define | DCM_CURVELABEL DCM_MAKETAG(DCM_GROUPCURVE, 0x2500) | 
| #define | DCM_CURVEREFOVERLAYSEQUENCE DCM_MAKETAG(DCM_GROUPCURVE, 0x2600) | 
| #define | DCM_CURVEREFOVERLAYGROUP DCM_MAKETAG(DCM_GROUPCURVE, 0x2610) | 
| #define | DCM_CURVEDATA DCM_MAKETAG(DCM_GROUPCURVE, 0x3000) | 
| #define | DCM_NMIGROUPLENGTH DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0000) | 
| #define | DCM_NMIENERGYWINDOWVECTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0010) | 
| #define | DCM_NMINUMBEROFENERGYWINDOWS DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0011) | 
| #define | DCM_NMIENERGYWINDOWINFOSEQ DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0012) | 
| #define | DCM_NMIENERGYWINDOWRANGESEQ DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0013) | 
| #define | DCM_NMIENERGYWINDOWLOWERLIMIT DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0014) | 
| #define | DCM_NMIENERGYWINDOWUPPERLIMIT DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0015) | 
| #define | DCM_NMIRADIOPHARMINFOSEQ DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0016) | 
| #define | DCM_NMIRESIDUALSYRINGECOUNTS DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0017) | 
| #define | DCM_NMIENERGYWINDOWNAME DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0018) | 
| #define | DCM_NMIDETECTORVECTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0020) | 
| #define | DCM_NMINUMBEROFDETECTORS DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0021) | 
| #define | DCM_NMIDETECTORINFOSEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0022) | 
| #define | DCM_NMIPHASEVECTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0030) | 
| #define | DCM_NMINUMBEROFPHASES DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0031) | 
| #define | DCM_NMIPHASEINFOSEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0032) | 
| #define | DCM_NMINUMBEROFFRAMESINPHASE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0033) | 
| #define | DCM_NMIPHASEDELAY DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0036) | 
| #define | DCM_NMIPAUSEBETWEENFRAMES DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0038) | 
| #define | DCM_NMIROTATIONVECTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0050) | 
| #define | DCM_NMINUMBEROFROTATIONS DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0051) | 
| #define | DCM_NMIROTATIONINFOSEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0052) | 
| #define | DCM_NMINUMBEROFFRAMESINROTATION DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0053) | 
| #define | DCM_NMIRRINTERVALVECTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0060) | 
| #define | DCM_NMINUMBEROFRRINTERVALS DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0061) | 
| #define | DCM_NMIGATEDINFOSEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0062) | 
| #define | DCM_NMIDATAINFORMATIONSEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0063) | 
| #define | DCM_NMITIMESLOTVECTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0070) | 
| #define | DCM_NMINUMBEROFTIMESLOTS DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0071) | 
| #define | DCM_NMITIMESLOTINFOSEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0072) | 
| #define | DCM_NMITIMESLOTTIME DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0073) | 
| #define | DCM_NMISLICEVECTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0080) | 
| #define | DCM_NMINUMBEROFSLICES DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0081) | 
| #define | DCM_NMIANGULARVIEWVECTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0090) | 
| #define | DCM_NMITIMESLICEVECTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0100) | 
| #define | DCM_NMINUMBEROFTIMESLICES DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0101) | 
| #define | DCM_NMISTARTANGLE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0200) | 
| #define | DCM_NMITYPEOFDETECTORMOTION DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0202) | 
| #define | DCM_NMITRIGGERVECTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0210) | 
| #define | DCM_NMINUMBEROFTRIGGERSINPHASE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0211) | 
| #define | DCM_NMIVIEWCODESEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0220) | 
| #define | DCM_NMIVIEWANGULATIONMODIFIERCODESEQ DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0222) | 
| #define | DCM_NMIRADIONUCLIDECODESEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0300) | 
| #define | DCM_NMIRADIOPHARMROUTECODESEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0302) | 
| #define | DCM_NMIRADIOPHARMCODESEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0304) | 
| #define | DCM_NMICALIBRATIONDATASEQUENCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0306) | 
| #define | DCM_NMIENERGYWINDOWNUMBER DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0308) | 
| #define | DCM_NMIIMAGEID DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0400) | 
| #define | DCM_NMIPATIENTORIENTATIONCODESEQ DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0410) | 
| #define | DCM_NMIPATIENTORIENTATIONMODIFIERCODESEQ DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0412) | 
| #define | DCM_NMIPATIENTGANTRYRELATIONSHIPCODESEQ DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x0414) | 
| #define | DCM_NMISERIESTYPE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1000) | 
| #define | DCM_NMIUNITS DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1001) | 
| #define | DCM_NMICOUNTSSOURCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1002) | 
| #define | DCM_NMIREPROJECTIONMETHOD DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1004) | 
| #define | DCM_NMIRANDOMSCORRECTIONMETHOD DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1100) | 
| #define | DCM_NMIATTENUATIONCORRECTIONMETHOD DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1101) | 
| #define | DCM_NMIDECAYCORRECTION DCM_MAKETAG(DCM_GROUPNMIMAGE,0x1102) | 
| #define | DCM_NMIRECONSTRUCTIONMETHOD DCM_MAKETAG(DCM_GROUPNMIMAGE,0x1103) | 
| #define | DCM_NMIDETECTORLINESRESPONSEUSED DCM_MAKETAG(DCM_GROUPNMIMAGE,0x1104) | 
| #define | DCM_NMISCATTERCORRECTIONMETHOD DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1105) | 
| #define | DCM_NMIAXIALACCEPTANCE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1200) | 
| #define | DCM_NMIAXIALMASH DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1201) | 
| #define | DCM_NMITRANSVERSEMASH DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1202) | 
| #define | DCM_NMIDETECTORELEMENTSIZE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1203) | 
| #define | DCM_NMICOINCIDENCEWINDOWWIDTH DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1210) | 
| #define | DCM_NMISECONDARYCOUNTSTYPE DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1220) | 
| #define | DCM_NMIFRAMEREFERENCETIME DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1300) | 
| #define | DCM_NMIPRIMARYCOUNTSACCUMULATED DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1310) | 
| #define | DCM_NMISECONDARYCOUNTSACCUMULATED DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1311) | 
| #define | DCM_NMISLICESENSITIVITYFACTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1320) | 
| #define | DCM_NMIDECAYFACTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1321) | 
| #define | DCM_NMIDOSECALIBRATIONFACTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1322) | 
| #define | DCM_NMISCATTERFRACTIONFACTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1323) | 
| #define | DCM_NMIDEADTIMEFACTOR DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1324) | 
| #define | DCM_NMIIMAGEINDEX DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1330) | 
| #define | DCM_NMICOUNTSINCLUDED DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1400) | 
| #define | DCM_NMIDEADTIMECORRECTIONFLAG DCM_MAKETAG(DCM_GROUPNMIMAGE, 0x1401) | 
| #define | DCM_OLYGROUPLENGTH DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0000) | 
| #define | DCM_OLYROWS DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0010) | 
| #define | DCM_OLYCOLUMNS DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0011) | 
| #define | DCM_OLYPLANES DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0012) | 
| #define | DCM_OLYNUMBEROFFRAMESINOVERLAY DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0015) | 
| #define | DCM_OLYOVERLAYDESCRIPTION DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0022) | 
| #define | DCM_OLYTYPE DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0040) | 
| #define | DCM_OLYSUBTYPE DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0045) | 
| #define | DCM_OLYORIGIN DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0050) | 
| #define | DCM_OLYIMAGEFRAMEORIGIN DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0051) | 
| #define | DCM_OLYOVERLAYPLANEORIGIN DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0052) | 
| #define | DCM_OLYCOMPRESSIONCODE DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0060) | 
| #define | DCM_OLYBITSALLOCATED DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0100) | 
| #define | DCM_OLYBITPOSITION DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0102) | 
| #define | DCM_OLYOVERLAYFORMAT DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0110) | 
| #define | DCM_OLYOVERLAYLOCATION DCM_MAKETAG(DCM_GROUPOVERLAY, 0x0200) | 
| #define | DCM_OLYDESCRIPTORGRAY DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1100) | 
| #define | DCM_OLYDESCRIPTORRED DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1101) | 
| #define | DCM_OLYDESCRIPTORGREEN DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1102) | 
| #define | DCM_OLYDESCRIPTORBLUE DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1103) | 
| #define | DCM_OLYGRAY DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1200) | 
| #define | DCM_OLYRED DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1201) | 
| #define | DCM_OLYGREEN DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1202) | 
| #define | DCM_OLYBLUE DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1203) | 
| #define | DCM_OLYROIAREA DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1301) | 
| #define | DCM_OLYROIMEAN DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1302) | 
| #define | DCM_OLYROISTANDARDDEVIATION DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1303) | 
| #define | DCM_OLYOVERLAYLABEL DCM_MAKETAG(DCM_GROUPOVERLAY, 0x1500) | 
| #define | DCM_OLYDATA DCM_MAKETAG(DCM_GROUPOVERLAY, 0x3000) | 
| #define | DCM_OLYCOMMENTS DCM_MAKETAG(DCM_GROUPOVERLAY, 0x4000) | 
| #define | DCM_PXLGROUPLENGTH DCM_MAKETAG(DCM_GROUPPIXEL,0x0000) | 
| #define | DCM_PXLPIXELDATA DCM_MAKETAG(DCM_GROUPPIXEL,0x0010) | 
| #define | DCM_MEDIAGROUPLENGTH DCM_MAKETAG(DCM_GROUPMEDIA,0x0000) | 
| #define | DCM_MEDIASTORAGEFILESETID DCM_MAKETAG(DCM_GROUPMEDIA,0x0130) | 
| #define | DCM_MEDIASTORAGEFILESETUID DCM_MAKETAG(DCM_GROUPMEDIA,0x0140) | 
| #define | DCM_MEDIAICONIMAGE DCM_MAKETAG(DCM_GROUPMEDIA,0x0200) | 
| #define | DCM_MEDIATOPICTITLE DCM_MAKETAG(DCM_GROUPMEDIA,0x0904) | 
| #define | DCM_MEDIATOPICSUBJECT DCM_MAKETAG(DCM_GROUPMEDIA,0x0906) | 
| #define | DCM_MEDIATOPICAUTHOR DCM_MAKETAG(DCM_GROUPMEDIA,0x0910) | 
| #define | DCM_MEDIATOPICKEYWORD DCM_MAKETAG(DCM_GROUPMEDIA,0x0912) | 
| #define | DCM_BFSGROUPLENGTH DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x000) | 
| #define | DCM_BFSCOPIES DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0010) | 
| #define | DCM_BFSPRINTPRIORITY DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0020) | 
| #define | DCM_BFSMEDIUMTYPE DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0030) | 
| #define | DCM_BFSFILMDESTINATION DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0040) | 
| #define | DCM_BFSFILMSESSIONLABEL DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0050) | 
| #define | DCM_BFSMEMORYALLOCATION DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0060) | 
| #define | DCM_BFSREFERENCEDFILMBOXSEQ DCM_MAKETAG(DCM_GROUPBASICFILMSESSION,0x0500) | 
| #define | DCM_BFBGROUPLENGTH DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0000) | 
| #define | DCM_BFBIMAGEDISPLAYFORMAT DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0010) | 
| #define | DCM_BFBANNOTATIONDISPLAYFORMAT DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0030) | 
| #define | DCM_BFBFILMORIENTATION DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0040) | 
| #define | DCM_BFBFILMSIZEID DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0050) | 
| #define | DCM_BFBMAGNIFICATIONTYPE DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0060) | 
| #define | DCM_BFBSMOOTHINGTYPE DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0080) | 
| #define | DCM_BFBBORDERDENSITY DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0100) | 
| #define | DCM_BFBEMPTYIMAGEDENSITY DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0110) | 
| #define | DCM_BFBMINDENSITY DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0120) | 
| #define | DCM_BFBMAXDENSITY DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0130) | 
| #define | DCM_BFBTRIM DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0140) | 
| #define | DCM_BFBCONFIGURATIONINFO DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0150) | 
| #define | DCM_BFBREFBASICFILMSESSIONSEQ DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0500) | 
| #define | DCM_BFBREFBASICIMAGEBOXSEQ DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0510) | 
| #define | DCM_BFBREFBASICANNOTBOXSEQ DCM_MAKETAG(DCM_GROUPBASICFILMBOX,0x0520) | 
| #define | DCM_BIBGROUPLENGTH DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0000) | 
| #define | DCM_BIBIMAGEPOSITION DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0010) | 
| #define | DCM_BIBPOLARITY DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0020) | 
| #define | DCM_BIBREQUESTEDIMAGESIZE DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0030) | 
| #define | DCM_BIBPREFORMATGREYSCALEIMAGESEQ DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0110) | 
| #define | DCM_BIBPREFORMATCOLORIMAGESEQ DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0111) | 
| #define | DCM_BIBREFIMAGEOVERLAYBOXSEQ DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0130) | 
| #define | DCM_BIBREFVOILUTSEQ DCM_MAKETAG(DCM_GROUPBASICIMAGEBOX,0x0140) | 
| #define | DCM_BABGROUPLENGTH DCM_MAKETAG(DCM_GROUPBASICANNOTATIONBOX,0x0000) | 
| #define | DCM_BABANNOTATIONPOSITION DCM_MAKETAG(DCM_GROUPBASICANNOTATIONBOX,0x0010) | 
| #define | DCM_BABTEXTSTRING DCM_MAKETAG(DCM_GROUPBASICANNOTATIONBOX,0x0020) | 
| #define | DCM_IOBGROUPLENGTH DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0000) | 
| #define | DCM_IOBREFOVERLAYPLANESEQ DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0010) | 
| #define | DCM_IOBREFOVERLAYPLANEGROUPS DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0011) | 
| #define | DCM_IOBOVERLAYMAGNIFICATIONTYPE DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0060) | 
| #define | DCM_IOBOVERLAYSMOOTHINGTYPE DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0070) | 
| #define | DCM_IOBOVERLAYFOREGROUNDDENSITY DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0080) | 
| #define | DCM_IOBOVERLAYMODE DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0090) | 
| #define | DCM_IOBTHRESHOLDDENSITY DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0100) | 
| #define | DCM_IOBREFIMAGEBOXSEQUENCE DCM_MAKETAG(DCM_GROUPBASICIMAGEOVERLAYBOX,0x0500) | 
| #define | DCM_PJGROUPLENGTH DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0000) | 
| #define | DCM_PJEXECUTIONSTATUS DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0020) | 
| #define | DCM_PJEXECUTIONSTATUSINFO DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0030) | 
| #define | DCM_PJCREATIONDATE DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0040) | 
| #define | DCM_PJCREATIONTIME DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0050) | 
| #define | DCM_PJORIGINATOR DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0070) | 
| #define | DCM_PJREFPRINTJOBSEQ DCM_MAKETAG(DCM_GROUPPRINTJOB,0x0500) | 
| #define | DCM_PRINTERGROUPLENGTH DCM_MAKETAG(DCM_GROUPPRINTER,0x0000) | 
| #define | DCM_PRINTERSTATUS DCM_MAKETAG(DCM_GROUPPRINTER,0x0010) | 
| #define | DCM_PRINTERSTATUSINFO DCM_MAKETAG(DCM_GROUPPRINTER,0x0020) | 
| #define | DCM_PRINTERNAME DCM_MAKETAG(DCM_GROUPPRINTER,0x0030) | 
| #define | DCM_PRINTERQUEUEID DCM_MAKETAG(DCM_GROUPPRINTER,0x0099) | 
| #define | DCM_PIXELUNSIGNED 0 | 
| #define | DCM_PIXELTWOSCOMPLEMENT 1 | 
| #define | DCM_PADITEM DCM_MAKETAG(DCM_GROUPPAD, 0xfffc) | 
| #define | DCM_DLMITEM DCM_MAKETAG(DCM_GROUPDELIMITER, 0xe000) | 
| #define | DCM_DLMITEMDELIMITATIONITEM DCM_MAKETAG(DCM_GROUPDELIMITER, 0xe00d) | 
| #define | DCM_DLMSEQUENCEDELIMITATIONITEM DCM_MAKETAG(DCM_GROUPDELIMITER, 0xe0dd) | 
| #define | DCM_CMDDATAIMAGE 0x0000 | 
| #define | DCM_CMDDATAGRAPHICS 0x0002 | 
| #define | DCM_CMDDATATEXT 0x0003 | 
| #define | DCM_CMDDATAOTHER 0x0100 | 
| #define | DCM_CMDDATANULL 0x0101 | 
| #define | DCM_CMDDATAIDENTIFIER 0x0102 | 
| #define | DCM_CMDDATAPRIVIMAGE 0x8000 | 
| #define | DCM_CMDDATAPRIVGRAPHICS 0x8002 | 
| #define | DCM_CMDDATAPRIVTEXT 0x8003 | 
| #define | DCM_STATUS_SUCCESS 0x0000 | 
| #define | DCM_STATUS_PENDING 0xff00 | 
| #define | DCM_STATUS_REFUSED 0x01 | 
| #define | DCM_STATUS_FAILED 0x02 | 
| #define | DCM_PRIORITYLOW 0x2 | 
| #define | DCM_PRIORITYMEDIUM 0x0 | 
| #define | DCM_PRIORITYHIGH 0x1 | 
| #define | DCM_QUERYLEVELPATIENT "PATIENT" | 
| #define | DCM_QUERYLEVELSTUDY "STUDY" | 
| #define | DCM_QUERYLEVELSERIES "SERIES" | 
| #define | DCM_QUERYLEVELIMAGE "IMAGE" | 
| #define | DCM_IMGPHOTOINTERPMONOCHROME1 "MONOCHROME1" | 
| #define | DCM_IMGPHOTOINTERPMONOCHROME2 "MONOCHROME2" | 
| #define | DCM_IMGPHOTOINTERPPALETTECOLOR "PALETTE COLOR" | 
| #define | DCM_IMGPHOTOINTERPRGB "RGB" | 
| #define | DCM_IMGPHOTOINTERPHSV "HSV" | 
| #define | DCM_IMGPHOTOINTERPRGBA "RGBA" | 
| #define | DCM_IMGPHOTOINTERPCMYK "CMYK" | 
| #define | DCM_UNSPECIFIEDLENGTH 0xffffffff | 
| #define | DCM_DELIMITOR '\\' | 
| #define | CTNOS_IS_IN 1 | 
| #define | CTN_BAD_SOCKET -1 | 
| #define | DCM_OBJUNDEFINED 0x01 | 
| #define | DCM_OBJCOMMAND 0x02 | 
| #define | DCM_OBJDATASET 0x03 | 
| #define | KEY_DCM_OBJECT "KEY ACR NEMA V3 OBJECT" | 
| #define | DCM_FILE_ACCESS 1 | 
| #define | DCM_MEMORY_ACCESS 2 | 
| #define | GET_SHORT_SAME_ORDER(A, B) | 
| #define | GET_SHORT_REVERSE_ORDER(A, B) | 
| #define | GET_LONG_SAME_ORDER(A, B) | 
| #define | GET_LONG_REVERSE_ORDER(A, B) | 
| #define | DICOM_UIDS_IS_IN 1 | 
| #define | MIR_IMPLEMENTATIONCLASSUID "1.2.840.113654.2.3.1995.3.0.4" | 
| #define | MIR_IMPLEMENTATIONVERSIONNAME "MIRCTN17MAY2002" | 
| #define | MIR_SOPCLASSKILLSERVER "1.2.840.113654.2.30.1" | 
| #define | MIR_SOPCLASSRESETSERVER "1.2.840.113654.2.30.2" | 
| #define | DICOM_SOPCLASSVERIFICATION "1.2.840.10008.1.1" | 
| #define | DICOM_TRANSFERLITTLEENDIAN "1.2.840.10008.1.2" | 
| #define | DICOM_TRANSFERLITTLEENDIANEXPLICIT "1.2.840.10008.1.2.1" | 
| #define | DICOM_TRANSFERBIGENDIANEXPLICIT "1.2.840.10008.1.2.2" | 
| #define | DICOM_TRANSFERJPEGBASELINEPROCESS1 "1.2.840.10008.1.2.4.50" | 
| #define | DICOM_TRANSFERJPEGEXTENDEDPROC2AND4 "1.2.840.10008.1.2.4.51" | 
| #define | DICOM_TRANSFERJPEGEXTENDEDPROC3AND5 "1.2.840.10008.1.2.4.52" | 
| #define | DICOM_TRANSFERJPEGSPECTRALPROC6AND8 "1.2.840.10008.1.2.4.53" | 
| #define | DICOM_TRANSFERJPEGSPECTRALPROC7AND9 "1.2.840.10008.1.2.4.54" | 
| #define | DICOM_TRANSFERJPEGFULLPROGRESSPROC10AND12 "1.2.840.10008.1.2.4.55" | 
| #define | DICOM_TRANSFERJPEGFULLPROGRESSPROC11AND13 "1.2.840.10008.1.2.4.56" | 
| #define | DICOM_TRANSFERJPEGLOSSLESSPROC14 "1.2.840.10008.1.2.4.57" | 
| #define | DICOM_TRANSFERJPEGLOSSLESSPROC15 "1.2.840.10008.1.2.4.58" | 
| #define | DICOM_TRANSFERJPEGEXTENDEDPROC16AND18 "1.2.840.10008.1.2.4.59" | 
| #define | DICOM_TRANSFERJPEGEXTENDEDPROC17AND19 "1.2.840.10008.1.2.4.60" | 
| #define | DICOM_TRANSFERJPEGSPECTRALPROC20AND22 "1.2.840.10008.1.2.4.61" | 
| #define | DICOM_TRANSFERJPEGSPECTRALPROC21AND23 "1.2.840.10008.1.2.4.62" | 
| #define | DICOM_TRANSFERJPEGFULLPROGRESSPROC24AND26 "1.2.840.10008.1.2.4.63" | 
| #define | DICOM_TRANSFERJPEGFULLPROGRESSPROC25AND27 "1.2.840.10008.1.2.4.64" | 
| #define | DICOM_TRANSFERJPEGLOSSLESSPROC28 "1.2.840.10008.1.2.4.65" | 
| #define | DICOM_TRANSFERJPEGLOSSLESSPROC29 "1.2.840.10008.1.2.4.66" | 
| #define | DICOM_TRANSFERJPEGLOSSLESSPROCFIRSTORDERREDICT "1.2.840.10008.1.2.4.70" | 
| #define | DICOM_SOPCLASSBASICSTUDYCONTENTNOTIFICATION "1.2.840.10008.1.9" | 
| #define | DICOM_SOPCLASSSTORAGECOMMITMENTPUSHMODEL "1.2.840.10008.1.20.1" | 
| #define | DICOM_WELLKNOWNSTORAGECOMMITMENTPUSHMODEL "1.2.840.10008.1.20.1.1" | 
| #define | DICOM_SOPCLASSSTORAGECOMMITMENTPULLMODEL "1.2.840.10008.1.20.2" | 
| #define | DICOM_WELLKNOWNSTORAGECOMMITMENTPULLMODEL "1.2.840.10008.1.20.2.1" | 
| #define | DICOM_STDAPPLICATIONCONTEXT "1.2.840.10008.3.1.1.1" | 
| #define | DICOM_SOPCLASSDETACHEDPATIENTMGMT "1.2.840.10008.3.1.2.1.1" | 
| #define | DICOM_SOPCLASSDETACHEDPATIENTMGMTMETA "1.2.840.10008.3.1.2.1.4" | 
| #define | DICOM_SOPCLASSDETACHEDVISITMGMT "1.2.840.10008.3.1.2.2.1" | 
| #define | DICOM_SOPCLASSDETACHEDSTUDYMGMT "1.2.840.10008.3.1.2.3.1" | 
| #define | DICOM_SOPCLASSSTUDYCOMPONENTMGMT "1.2.840.10008.3.1.2.3.2" | 
| #define | DICOM_SOPCLASSMPPS "1.2.840.10008.3.1.2.3.3" | 
| #define | DICOM_SOPCLASSDETACHEDRESULTSMGMT "1.2.840.10008.3.1.2.5.1" | 
| #define | DICOM_SOPCLASSDETACHEDRESULTSMGMTMETA "1.2.840.10008.3.1.2.5.4" | 
| #define | DICOM_SOPCLASSDETACHEDSTUDYMGMTMETA "1.2.840.10008.3.1.2.5.5" | 
| #define | DICOM_SOPCLASSDETACHEDINTERPRETMGMT "1.2.840.10008.3.1.2.6.1" | 
| #define | DICOM_SOPCLASSBASICFILMSESSION "1.2.840.10008.5.1.1.1" | 
| #define | DICOM_SOPCLASSBASICFILMBOX "1.2.840.10008.5.1.1.2" | 
| #define | DICOM_SOPCLASSBASICGREYSCALEIMAGEBOX "1.2.840.10008.5.1.1.4" | 
| #define | DICOM_SOPCLASSBASICCOLORIMAGEBOX "1.2.840.10008.5.1.1.4.1" | 
| #define | DICOM_SOPCLASSREFERENCEDIMAGEBOX "1.2.840.10008.5.1.1.4.2" | 
| #define | DICOM_SOPCLASSGREYSCALEPRINTMGMTMETA "1.2.840.10008.5.1.1.9" | 
| #define | DICOM_SOPCLASSREFGREYSCALEPRINTMGMTMETA "1.2.840.10008.5.1.1.9.1" | 
| #define | DICOM_SOPCLASSPRINTJOB "1.2.840.10008.5.1.1.14" | 
| #define | DICOM_SOPCLASSBASICANNOTATIONBOX "1.2.840.10008.5.1.1.15" | 
| #define | DICOM_SOPCLASSPRINTER "1.2.840.10008.5.1.1.16" | 
| #define | DICOM_SOPPRINTERINSTANCE "1.2.840.10008.5.1.1.17" | 
| #define | DICOM_SOPCLASSCOLORPRINTMGMTMETA "1.2.840.10008.5.1.1.18" | 
| #define | DICOM_SOPCLASSREFCOLORPRINTMGMTMETA "1.2.840.10008.5.1.1.18.1" | 
| #define | DICOM_SOPCLASSVOILUT "1.2.840.10008.5.1.1.22" | 
| #define | DICOM_SOPCLASSIMAGEOVERLAYBOX "1.2.840.10008.5.1.1.24" | 
| #define | DICOM_SOPCLASSSTOREDPRINT "1.2.840.10008.5.1.1.27" | 
| #define | DICOM_SOPCLASSHARDCOPYGRAYSCALEIMAGE "1.2.840.10008.5.1.1.29" | 
| #define | DICOM_SOPCLASSHARDCOPYCOLORIMAGE "1.2.840.10008.5.1.1.30" | 
| #define | DICOM_SOPCLASSCOMPUTEDRADIOGRAPHY "1.2.840.10008.5.1.4.1.1.1" | 
| #define | DICOM_SOPCLASSDIGXRAYPRESENTATION "1.2.840.10008.5.1.4.1.1.1.1" | 
| #define | DICOM_SOPCLASSDIGXRAYPROCESSING "1.2.840.10008.5.1.4.1.1.1.1.1" | 
| #define | DICOM_SOPCLASSMAMMOXRPRESENTATION "1.2.840.10008.5.1.4.1.1.1.2" | 
| #define | DICOM_SOPCLASSMAMMOXRPROCESSING "1.2.840.10008.5.1.4.1.1.1.2.1" | 
| #define | DICOM_SOPCLASSINTRAORALPRESENTATION "1.2.840.10008.5.1.4.1.1.1.3" | 
| #define | DICOM_SOPCLASSINTRAORALPROCESSING "1.2.840.10008.5.1.4.1.1.1.3.1" | 
| #define | DICOM_SOPCLASSCT "1.2.840.10008.5.1.4.1.1.2" | 
| #define | DICOM_SOPCLASSUSMULTIFRAMEIMAGE1993 "1.2.840.10008.5.1.4.1.1.3" | 
| #define | DICOM_SOPCLASSUSMULTIFRAMEIMAGE "1.2.840.10008.5.1.4.1.1.3.1" | 
| #define | DICOM_SOPCLASSMR "1.2.840.10008.5.1.4.1.1.4" | 
| #define | DICOM_SOPCLASSNM1993 "1.2.840.10008.5.1.4.1.1.5" | 
| #define | DICOM_SOPCLASSUS1993 "1.2.840.10008.5.1.4.1.1.6" | 
| #define | DICOM_SOPCLASSUS "1.2.840.10008.5.1.4.1.1.6.1" | 
| #define | DICOM_SOPCLASSSECONDARYCAPTURE "1.2.840.10008.5.1.4.1.1.7" | 
| #define | DICOM_SOPCLASSSTANDALONEOVERLAY "1.2.840.10008.5.1.4.1.1.8" | 
| #define | DICOM_SOPCLASSSTANDALONECURVE "1.2.840.10008.5.1.4.1.1.9" | 
| #define | DICOM_SOPCLASSWAVEFORMSTORAGE "1.2.840.10008.5.1.4.1.1.9.1" | 
| #define | DICOM_SOPCLASSECGWAVEFORMSTORAGE "1.2.840.10008.5.1.4.1.1.9.1.1" | 
| #define | DICOM_SOPCLASSSTANDALONEMODALITYLUT "1.2.840.10008.5.1.4.1.1.10" | 
| #define | DICOM_SOPCLASSSTANDALONEVOILUT "1.2.840.10008.5.1.4.1.1.11" | 
| #define | DICOM_SOPCLASSGREYSCALEPS "1.2.840.10008.5.1.4.1.1.11.1" | 
| #define | DICOM_SOPCLASSXRAYANGIO "1.2.840.10008.5.1.4.1.1.12.1" | 
| #define | DICOM_SOPCLASSXRAYFLUORO "1.2.840.10008.5.1.4.1.1.12.2" | 
| #define | DICOM_SOPCLASSXRAYANGIOBIPLANE_RET "1.2.840.10008.5.1.4.1.1.12.3" | 
| #define | DICOM_SOPCLASSNM "1.2.840.10008.5.1.4.1.1.20" | 
| #define | DICOM_SOPCLASSVLENDOSCOPIC "1.2.840.10008.5.1.4.1.1.77.1.1" | 
| #define | DICOM_SOPCLASSVLMICROSCOPIC "1.2.840.10008.5.1.4.1.1.77.1.2" | 
| #define | DICOM_SOPCLASSVLSLIDEMICROSCOPIC "1.2.840.10008.5.1.4.1.1.77.1.3" | 
| #define | DICOM_SOPCLASSVLPHOTOGRAPHIC "1.2.840.10008.5.1.4.1.1.77.1.4" | 
| #define | DICOM_SOPCLASSBASICTEXTSR "1.2.840.10008.5.1.4.1.1.88.11" | 
| #define | DICOM_SOPCLASSENHANCEDSR "1.2.840.10008.5.1.4.1.1.88.22" | 
| #define | DICOM_SOPCLASSCOMPREHENSIVESR "1.2.840.10008.5.1.4.1.1.88.33" | 
| #define | DICOM_SOPCLASSKEYOBJECTNOTE "1.2.840.10008.5.1.4.1.1.88.59" | 
| #define | DICOM_SOPCLASSPET "1.2.840.10008.5.1.4.1.1.128" | 
| #define | DICOM_SOPCLASSSTANDALONEPETCURVE "1.2.840.10008.5.1.4.1.1.129" | 
| #define | DICOM_SOPRTIMAGESTORAGE "1.2.840.10008.5.1.4.1.1.481.1" | 
| #define | DICOM_SOPRTDOSESTORAGE "1.2.840.10008.5.1.4.1.1.481.2" | 
| #define | DICOM_SOPRTSTRUCTURESETSTORAGE "1.2.840.10008.5.1.4.1.1.481.3" | 
| #define | DICOM_SOPRTBREAMS "1.2.840.10008.5.1.4.1.1.481.4" | 
| #define | DICOM_SOPRTPLANSTORAGE "1.2.840.10008.5.1.4.1.1.481.5" | 
| #define | DICOM_SOPRTBRACHYTREATMENT "1.2.840.10008.5.1.4.1.1.481.6" | 
| #define | DICOM_SOPRTTREATMENTSUMMARY "1.2.840.10008.5.1.4.1.1.481.7" | 
| #define | DICOM_SOPPATIENTQUERY_FIND "1.2.840.10008.5.1.4.1.2.1.1" | 
| #define | DICOM_SOPPATIENTQUERY_MOVE "1.2.840.10008.5.1.4.1.2.1.2" | 
| #define | DICOM_SOPPATIENTQUERY_GET "1.2.840.10008.5.1.4.1.2.1.3" | 
| #define | DICOM_SOPSTUDYQUERY_FIND "1.2.840.10008.5.1.4.1.2.2.1" | 
| #define | DICOM_SOPSTUDYQUERY_MOVE "1.2.840.10008.5.1.4.1.2.2.2" | 
| #define | DICOM_SOPSTUDYQUERY_GET "1.2.840.10008.5.1.4.1.2.2.3" | 
| #define | DICOM_SOPPATIENTSTUDYQUERY_FIND "1.2.840.10008.5.1.4.1.2.3.1" | 
| #define | DICOM_SOPPATIENTSTUDYQUERY_MOVE "1.2.840.10008.5.1.4.1.2.3.2" | 
| #define | DICOM_SOPPATIENTSTUDYQUERY_GET "1.2.840.10008.5.1.4.1.2.3.3" | 
| #define | DICOM_SOPMODALITYWORKLIST_FIND "1.2.840.10008.5.1.4.31" | 
| #define | DICOM_SOPGPWORKLIST_FIND "1.2.840.10008.5.1.4.32.1" | 
| #define | UID_NORMAL FORM_COND(FAC_UID, SEV_SUCC, 1) | 
| #define | UID_NOUIDFILENAME FORM_COND(FAC_UID, SEV_ERROR, 2) | 
| #define | UID_GENERATEFAILED FORM_COND(FAC_UID, SEV_ERROR, 3) | 
| #define | UID_FILEOPENFAILURE FORM_COND(FAC_UID, SEV_ERROR, 5) | 
| #define | UID_FILECREATEFAILURE FORM_COND(FAC_UID, SEV_ERROR, 6) | 
| #define | UID_ILLEGALROOT FORM_COND(FAC_UID, SEV_ERROR, 7) | 
| #define | UID_ILLEGALNUMERIC FORM_COND(FAC_UID, SEV_ERROR, 8) | 
| #define | UID_NODEVICETYPE FORM_COND(FAC_UID, SEV_ERROR, 9) | 
| #define | UID_NOROOT FORM_COND(FAC_UID, SEV_ERROR, 10) | 
| #define | UID_UIDNOTFOUND FORM_COND(FAC_UID, SEV_ERROR, 11) | 
| #define | _UTL_IS_IN 1 | 
| #define | OFF 0 | 
| #define | ON 1 | 
| #define | REGEX_SIZE 128 | 
| #define | UTL_NORMAL FORM_COND(FAC_UTL, SEV_SUCC, 1) | 
| #define | UTL_UNIMPLEMENTED FORM_COND(FAC_UTL, SEV_ERROR, 2) | 
| #define | UTL_MATCH FORM_COND(FAC_UTL, SEV_SUCC, 3) | 
| #define | UTL_NOMATCH FORM_COND(FAC_UTL, SEV_SUCC, 4) | 
| #define | UTL_PATHNOTDIR FORM_COND(FAC_UTL, SEV_ERROR, 5) | 
| #define | UTL_FILECREATEFAILED FORM_COND(FAC_UTL, SEV_ERROR, 6) | 
| #define | UTL_NO_CTN_TARGET FORM_COND(FAC_UTL, SEV_ERROR, 7) | 
| #define | UTL_DELETEFILEFAILED FORM_COND(FAC_UTL, SEV_ERROR, 8) | 
| Typedefs | |
| typedef unsigned long | CONDITION | 
| typedef unsigned short | U_SHORT | 
| typedef unsigned long | U_LONG | 
| typedef unsigned long | MASK_32 | 
| typedef unsigned long | CTNBOOLEAN | 
| typedef unsigned short | U16 | 
| typedef short | S16 | 
| typedef unsigned int | U32 | 
| typedef int | S32 | 
| typedef lst_node | LST_NODE | 
| typedef lst_node * | LST_NODEPTR | 
| typedef lst_head | LST_HEAD | 
| typedef lst_head * | LST_HEADPTR | 
| typedef unsigned long | LST_END | 
| typedef void * | DCM_OBJECT | 
| typedef unsigned int | DCM_TAG | 
| typedef CONDITION( | DCM_EXPORT_STREAM_CALLBACK )(void *buf, U32 bytesExported, int lastFlag, void *ctx) | 
| typedef CONDITION( | DCM_GET_COMPRESSED_CALLBACK )(void *buf, U32 bytesExported, int index, int startFlag, int lastFlag, int startOfFragment, void *ctx) | 
| typedef int | CTN_SOCKET | 
| Enumerations | |
| enum | DCM_VALUEREPRESENTATION { DCM_AE, DCM_AS, DCM_AT, DCM_CS, DCM_DA, DCM_DD, DCM_DS, DCM_FD, DCM_FL, DCM_IS, DCM_LO, DCM_LT, DCM_OT, DCM_SH, DCM_SL, DCM_SQ, DCM_SS, DCM_ST, DCM_TM, DCM_UI, DCM_UL, DCM_UN, DCM_US, DCM_RET, DCM_CTX, DCM_PN, DCM_OB, DCM_OW, DCM_DT, DCM_DLM, DCM_UT } | 
| enum | DCM_OBJECTTYPE { DCM_OBJECTUNKNOWN, DCM_OBJECTCOMMAND, DCM_OBJECTIMAGE, DCM_OBJECTELEMENTLIST } | 
| enum | UID_TYPE { UID_PATIENT = 2, UID_VISIT, UID_STUDY, UID_SERIES, UID_IMAGE, UID_RESULTS, UID_INTERPRETATION, UID_PRINTER, UID_DEVICE, UID_STUDYCOMPONENT, UID_STORAGECOMMITTRANSACTION } | 
| enum | UID_CLASS { UID_CLASS_K_APPLICATIONCONTEXT, UID_CLASS_K_IMPLEMENTATION, UID_CLASS_K_SOPCLASS, UID_CLASS_K_METASOPCLASS, UID_CLASS_K_TRANSFERSYNTAX, UID_CLASS_K_WELLKNOWNUID } | 
| Functions | |
| CONDITION | COND_PushCondition (CONDITION cond, char *controlString,...) | 
| CONDITION | COND_ExtractConditions (CTNBOOLEAN(*callback)()) | 
| CONDITION | COND_TopCondition (CONDITION *condition, char *text, unsigned long maxlength) | 
| CONDITION | COND_PopCondition (CTNBOOLEAN clearstack) | 
| CONDITION | COND_EstablishCallback (void(*callback)()) | 
| void | COND_DumpConditions (void) | 
| void | COND_CopyText (char *txt, size_t length) | 
| void | COND_WriteConditions (FILE *lfp) | 
| LST_HEAD * | LST_Create (void) | 
| CONDITION | LST_Destroy (LST_HEAD **list) | 
| CONDITION | LST_Enqueue (LST_HEAD **list, LST_NODE *node) | 
| CONDITION | LST_Push (LST_HEAD **list, LST_NODE *node) | 
| LST_NODE * | LST_Dequeue (LST_HEAD **list) | 
| LST_NODE * | LST_Pop (LST_HEAD **list) | 
| unsigned long | LST_Count (LST_HEAD **list) | 
| LST_NODE * | LST_Head (LST_HEAD **list) | 
| LST_NODE * | LST_Current (LST_HEAD **list) | 
| LST_NODE * | LST_Tail (LST_HEAD **list) | 
| CONDITION | LST_Insert (LST_HEAD **list, LST_NODE *node, LST_END where) | 
| LST_NODE * | LST_Remove (LST_HEAD **list, LST_END dir) | 
| LST_NODE * | LST_Next (LST_HEAD **list) | 
| LST_NODE * | LST_Previous (LST_HEAD **list) | 
| LST_NODE * | LST_Position (LST_HEAD **list, LST_NODE *node) | 
| CONDITION | LST_Sort (LST_HEAD **list, size_t nodeSize, int(*compare)()) | 
| LST_NODE * | LST_Index (LST_HEAD **list, int index) | 
| char * | LST_Message (CONDITION cond) | 
| CONDITION | DCM_OpenFile (const char *name, unsigned long opt, DCM_OBJECT **object) | 
| CONDITION | DCM_CreateObject (DCM_OBJECT **obj, unsigned long opt) | 
| CONDITION | DCM_CopyObject (DCM_OBJECT **src, DCM_OBJECT **dst) | 
| CONDITION | DCM_MergeObject (DCM_OBJECT **src, DCM_OBJECT **dst) | 
| CONDITION | DCM_AddElement (DCM_OBJECT **obj, DCM_ELEMENT *ele) | 
| CONDITION | DCM_AddSequenceElement (DCM_OBJECT **obj, DCM_ELEMENT *ele) | 
| CONDITION | DCM_RemoveElement (DCM_OBJECT **obj, DCM_TAG tag) | 
| CONDITION | DCM_RemoveGroup (DCM_OBJECT **callerObject, unsigned short group) | 
| CONDITION | DCM_ImportStream (unsigned char *buf, unsigned long length, unsigned long opt, DCM_OBJECT **rntObj) | 
| CONDITION | DCM_ReadStream (DCM_OBJECT **obj, unsigned long opt, long size, void *ctx, CONDITION(*rd)(void *ctx, void *buf, int toRead, int *bytesRead), CONDITION(*sk)(void *ctx, int offset, int flag)) | 
| CONDITION | DCM_CloseObject (DCM_OBJECT **obj) | 
| CONDITION | DCM_ExportStream (DCM_OBJECT **obj, unsigned long opt, void *buf, unsigned long maxlen, DCM_EXPORT_STREAM_CALLBACK *callback, void *ctx) | 
| CONDITION | DCM_GetElementValue (DCM_OBJECT **obj, DCM_ELEMENT *element, U32 *rtnLength, void **ctx) | 
| char * | DCM_GetString (DCM_OBJECT **obj, DCM_TAG tag) | 
| CONDITION | DCM_GetElement (DCM_OBJECT **obj, DCM_TAG tag, DCM_ELEMENT *attribute) | 
| CONDITION | DCM_GetElementSize (DCM_OBJECT **obj, DCM_TAG tag, U32 *retlen) | 
| CONDITION | DCM_GetElementValueOffset (DCM_OBJECT **obj, DCM_ELEMENT *element, unsigned long offset) | 
| CONDITION | DCM_GetCompressedValue (DCM_OBJECT **obj, DCM_TAG tag, void *buf, size_t bufSize, DCM_GET_COMPRESSED_CALLBACK *callback, void *ctx) | 
| CONDITION | DCM_GetObjectSize (DCM_OBJECT **obj, unsigned long *retlen) | 
| CONDITION | DCM_DumpElements (DCM_OBJECT **obj, long vm) | 
| CONDITION | DCM_FormatElements (DCM_OBJECT **obj, long vm, const char *prefix) | 
| CONDITION | DCM_LookupElement (DCM_ELEMENT *attribute) | 
| CONDITION | DCM_GroupDictionary (unsigned short group, void *ctx, void(*callback)(unsigned short g, char *description, void *ctx)) | 
| CONDITION | DCM_ElementDictionary (DCM_TAG tag, void *ctx, void(*callback)(DCM_TAG t, char *description, DCM_VALUEREPRESENTATION r, void *ctx)) | 
| char * | DCM_Message (CONDITION cond) | 
| void | DCM_Debug (CTNBOOLEAN flag) | 
| CONDITION | DCM_WriteFile (DCM_OBJECT **obj, unsigned long opt, const char *file) | 
| CONDITION | DCM_ComputeExportLength (DCM_OBJECT **obj, unsigned long opt, unsigned long *length) | 
| CONDITION | DCM_ModifyElements (DCM_OBJECT **obj, DCM_ELEMENT *element, int count, DCM_FLAGGED_ELEMENT *flaggedElement, int flagCount, int *updateCount) | 
| CONDITION | DCM_ListToString (LST_HEAD *list, long offset, char **string) | 
| CONDITION | DCM_ParseObject (DCM_OBJECT **obj, DCM_ELEMENT *list, int count, DCM_FLAGGED_ELEMENT *flaggedElement, int flagCount, int *parseCount) | 
| CONDITION | DCM_ScanParseObject (DCM_OBJECT **object, void *buf, size_t bufferSize, DCM_FLAGGED_ELEMENT *elementVector, int vectorLength, CONDITION(*callback)(const DCM_ELEMENT *e, void *ctx), void *ctx) | 
| CTNBOOLEAN | DCM_IsString (DCM_VALUEREPRESENTATION representation) | 
| CONDITION | DCM_GetSequenceList (DCM_OBJECT **object, DCM_TAG tag, LST_HEAD **list) | 
| CONDITION | DCM_GetSequenceElement (DCM_OBJECT **obj, DCM_TAG top, DCM_ELEMENT *e) | 
| CONDITION | DCM_GetSequenceByOffset (DCM_OBJECT **object, DCM_TAG tag, unsigned long offset, DCM_OBJECT **rtnObject) | 
| CONDITION | DCM_GetElementValueList (DCM_OBJECT **object, DCM_TAG tag, size_t structureSize, long stringOffset, LST_HEAD **list) | 
| CONDITION | DCM_AddElementList (DCM_OBJECT **callerObject, DCM_ELEMENT *element, LST_HEAD *list, long offset) | 
| CONDITION | DCM_GetFileMeta (DCM_OBJECT **callerObject, DCM_FILE_META **fileMeta) | 
| CONDITION | DCM_SetFileMeta (DCM_OBJECT **callerObject, DCM_FILE_META *fileMeta) | 
| CONDITION | DCM_FreeFileMeta (DCM_FILE_META **fileMeta) | 
| CONDITION | DCM_DefaultFileMeta (DCM_OBJECT **object, DCM_FILE_META **fileMeta) | 
| CONDITION | DCM_CompareAttributes (DCM_OBJECT **o1, DCM_OBJECT **o2, void(*callback)(const DCM_ELEMENT *e1, const DCM_ELEMENT *e2, void *ctx), void *ctx) | 
| CTNBOOLEAN | DCM_GroupPresent (DCM_OBJECT **callerObject, U16 group) | 
| CONDITION | DCM_GetFirstElement (DCM_OBJECT **callerObject, DCM_ELEMENT **element) | 
| CONDITION | DCM_GetNextElement (DCM_OBJECT **callerObject, DCM_ELEMENT **element) | 
| CONDITION | DCM_AddFragment (DCM_OBJECT **callerObject, void *fragment, U32 fragmentLength) | 
| CONDITION | UID_NewUID (UID_TYPE type, char *uid) | 
| CONDITION | UID_NewNumber (UID_TYPE type, unsigned long *value) | 
| CONDITION | UID_Lookup (char *UID, UID_DESCRIPTION *description) | 
| void | UID_ScanDictionary (void(*callback)(const UID_DESCRIPTION *d1, void *ctx1), void *ctx) | 
| char * | UID_Message (CONDITION cond) | 
| char * | UID_Translate (const char *value) | 
| int | UID_IsStorageClass (const char *sopClassUID) | 
| long | UTL_ConvertDatetoLong (const char *date) | 
| double | UTL_ConvertTimetoFloat (const char *time) | 
| void | UTL_ConvertLongtoDate (long ld, char *date) | 
| void | UTL_ConvertFloattoTime (double dt, char *time) | 
| void | UTL_SqueezeBlanks (char *s) | 
| void | UTL_GetDicomDate (char *date) | 
| void | UTL_GetDicomTime (char *time) | 
| CONDITION | UTL_DateMatch (char *datestring, char *stm) | 
| CONDITION | UTL_TimeMatch (char *timestring, char *stm) | 
| void * | UTL_GetTimeStamp () | 
| double | UTL_DeltaTime (void *timeStamp) | 
| void | UTL_ReleaseTimeStamp (void *timeStamp) | 
| CONDITION | UTL_VerifyCreatePath (const char *path) | 
| CTNBOOLEAN | UTL_IsDirectory (const char *path) | 
| CTNBOOLEAN | UTL_IsFile (const char *path) | 
| CONDITION | UTL_DeleteFile (const char *path) | 
| CONDITION | UTL_ScanDirectory (const char *path, LST_HEAD **lst) | 
| CONDITION | UTL_SetConfigFile (const char *configFile) | 
| CONDITION | UTL_TestConfigFile (const char *configFile) | 
| char * | UTL_GetConfigParameter (const char *paramName) | 
| char ** | UTL_ExpandToPointerArray (const char *inputText, const char *delimiters, int *numberOfEntries) | 
| CONDITION | UTL_FileSize (const char *path, U32 *size) | 
Define Documentation
| 
 | 
| 
 Definition at line 2825 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 323 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 349 of file mri_dicom_hdr.h. Referenced by COND_EstablishCallback(), COND_ExtractConditions(), COND_PopCondition(), and COND_TopCondition(). | 
| 
 | 
| 
 Definition at line 2333 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 128 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 129 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 263 of file mri_dicom_hdr.h. Referenced by DCM_AddElementList(), DCM_CloseObject(), DCM_CopyObject(), DCM_CreateObject(), DCM_RemoveElement(), DCM_RemoveGroup(), insertNewElement(), LST_Destroy(), readFile(), and readFile1(). | 
| 
 | 
| 
 Definition at line 126 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 262 of file mri_dicom_hdr.h. Referenced by DCM_AddFragment(), DCM_CopyObject(), DCM_CreateObject(), DCM_GetCompressedValue(), DCM_GetElementValueList(), DCM_ListToString(), findCreateGroup(), handleGroupItem(), LST_Create(), newElementItem(), readFile(), and readSequence(). | 
| 
 | 
| 
 Definition at line 125 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 127 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2292 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 765 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(), and readFile1(). | 
| 
 | 
| 
 Definition at line 1426 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1465 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1416 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1282 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1277 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1385 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1388 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1396 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1361 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1271 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1369 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1434 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1435 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1462 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1454 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1389 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1293 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1406 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1458 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1461 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1459 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1457 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1407 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1460 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1438 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1468 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1270 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1268 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1269 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1337 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1338 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1329 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1331 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1332 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1333 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1330 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1336 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1335 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1414 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1417 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1296 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1476 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1312 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1412 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1320 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1431 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1480 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1447 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1448 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1433 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1432 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1317 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1327 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1372 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1373 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1505 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1507 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1508 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1308 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1303 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1313 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1298 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1285 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1286 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1374 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1395 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1436 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1393 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1392 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1391 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1400 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1428 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1408 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1411 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1471 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1346 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1343 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1345 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1344 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1376 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1375 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1405 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1404 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1267 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1348 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1368 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1363 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1399 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1307 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1403 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1483 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1484 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1347 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1306 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1402 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1364 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1365 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1291 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1289 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1281 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1280 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1278 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1287 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1288 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1279 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1304 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1295 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1362 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1309 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1474 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1275 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1342 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1305 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1522 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1519 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1469 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1481 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1315 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1314 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1427 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1311 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1422 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1500 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1501 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1496 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1497 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1316 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1518 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1514 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1513 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1517 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1515 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1516 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1318 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1421 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1442 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1443 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1445 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1444 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1446 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1473 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1418 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1472 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1328 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1504 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1366 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1386 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1398 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1397 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1283 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1358 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1359 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1357 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1284 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1360 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1353 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1355 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1356 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1354 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1463 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1455 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1419 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1371 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1494 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1495 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1498 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1499 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1488 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1489 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1492 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1493 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1490 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1491 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1487 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1437 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1302 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1384 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1390 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1430 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1387 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1425 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1272 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1274 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1423 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1322 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1323 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1324 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1319 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1485 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1276 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1273 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1450 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1453 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1451 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1449 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1452 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1367 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1310 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1294 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1478 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1479 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1477 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1325 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1339 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1299 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1300 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1506 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1351 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1350 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1334 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1383 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1377 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1381 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1382 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1379 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1524 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1523 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1378 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1380 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1520 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1521 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1297 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1301 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1292 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1290 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1475 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1467 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1413 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1321 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1466 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1509 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1511 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1510 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1512 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1440 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1439 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1441 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1470 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1502 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1503 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1420 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1352 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1341 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1340 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1349 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1370 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1401 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1415 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1486 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1429 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1464 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1456 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1326 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1482 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1424 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1409 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1394 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1410 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 751 of file mri_dicom_hdr.h. Referenced by readFile1(). | 
| 
 | 
| 
 Definition at line 2136 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2135 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2137 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 941 of file mri_dicom_hdr.h. Referenced by insertNewElement(), and insertThisElementItem(). | 
| 
 | 
| 
 Definition at line 949 of file mri_dicom_hdr.h. Referenced by DCM_GetElementValueOffset(). | 
| 
 | 
| 
 Definition at line 948 of file mri_dicom_hdr.h. Referenced by DCM_GetElementValueOffset(). | 
| 
 | 
| 
 Definition at line 2107 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2112 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2117 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2113 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2108 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2109 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2105 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2106 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2110 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2115 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2114 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2120 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2118 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2119 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2111 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2116 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2095 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2098 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2099 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2094 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2097 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2100 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2096 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2101 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2124 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2125 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2126 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2129 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2128 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2130 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2131 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2127 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 942 of file mri_dicom_hdr.h. Referenced by exportEncapsulatedPixels(), exportPixels(), and exportStream(). | 
| 
 | 
| 
 Definition at line 1036 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1037 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 936 of file mri_dicom_hdr.h. Referenced by copyData(), DCM_GetElementValue(), and DCM_GetElementValueOffset(). | 
| 
 | 
| 
 Definition at line 1015 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1070 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 999 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1011 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1014 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1071 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1001 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1017 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1072 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2190 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2194 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2189 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2193 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2192 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2196 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2195 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2197 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1006 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2191 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1062 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1066 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1065 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1074 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1009 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1010 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1013 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1018 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1059 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 998 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1057 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1055 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1073 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1020 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1004 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1021 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1002 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1003 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1064 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1069 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1060 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1008 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1076 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1067 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1075 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1005 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1058 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1056 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1016 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1000 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1012 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1061 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1007 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1063 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1068 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1019 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 735 of file mri_dicom_hdr.h. Referenced by readFile(), and readFile1(). | 
| 
 | 
| 
 Definition at line 1252 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1953 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1952 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1947 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1946 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1938 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1937 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1944 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1945 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1957 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1943 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1939 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1936 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1933 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1932 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1954 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1941 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1940 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1948 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1934 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1949 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1942 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1956 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1955 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1950 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1951 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1935 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 738 of file mri_dicom_hdr.h. Referenced by readFile(), and readFile1(). | 
| 
 | 
| 
 Definition at line 739 of file mri_dicom_hdr.h. Referenced by readFile(), and readFile1(). | 
| 
 | 
| 
 Definition at line 2230 of file mri_dicom_hdr.h. Referenced by DCM_GetElementValueList(). | 
| 
 | 
| 
 Definition at line 1890 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1897 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1893 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1894 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1892 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1891 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1895 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1889 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1896 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1038 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1039 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1098 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1094 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1093 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1096 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1097 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1102 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1106 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1100 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1110 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1104 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1101 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1099 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1103 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1105 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1107 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1108 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1109 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1095 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2182 of file mri_dicom_hdr.h. Referenced by exportStream(), readFile(), readSequence(), and scanCompressedPixels(). | 
| 
 | 
| 
 Definition at line 2183 of file mri_dicom_hdr.h. Referenced by exportStream(), readFile(), and readFile1(). | 
| 
 | 
| 
 Definition at line 2184 of file mri_dicom_hdr.h. Referenced by exportStream(), readFile(), and readFile1(). | 
| 
 | 
| 
 Definition at line 1034 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1035 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 768 of file mri_dicom_hdr.h. Referenced by readFile1(). | 
| 
 | 
| 
 Definition at line 904 of file mri_dicom_hdr.h. Referenced by findCreateGroup(), handleGroupItem(), newElementItem(), and readFile(). | 
| 
 | 
| 
 Definition at line 926 of file mri_dicom_hdr.h. Referenced by readFile(), and readVRLength(). | 
| 
 | 
| 
 Definition at line 900 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(), DCM_GetElement(), DCM_GetElementSize(), DCM_GetElementValue(), DCM_GetElementValueList(), DCM_GetElementValueOffset(), DCM_GetSequenceByOffset(), DCM_GetSequenceElement(), DCM_GetSequenceList(), DCM_PrintSequenceList(), and DCM_RemoveElement(). | 
| 
 | 
| 
 Definition at line 910 of file mri_dicom_hdr.h. Referenced by checkAttributeOrder(), and readFile(). | 
| 
 | 
| 
 Definition at line 952 of file mri_dicom_hdr.h. Referenced by DCM_GetFirstElement(). | 
| 
 | 
| 
 Definition at line 730 of file mri_dicom_hdr.h. Referenced by exportStream(), extractFileOptions(), and setFileOptions(). | 
| 
 | 
| 
 Definition at line 729 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(), exportStream(), extractFileOptions(), readFile(), readFile1(), setFileOptions(), and updateSpecialElements(). | 
| 
 | 
| 
 Definition at line 728 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(), exportStream(), extractFileOptions(), readFile(), readFile1(), setFileOptions(), and updateSpecialElements(). | 
| 
 | 
| 
 Definition at line 947 of file mri_dicom_hdr.h. Referenced by exportPreamble(). | 
| 
 | 
| 
 Definition at line 2460 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 892 of file mri_dicom_hdr.h. Referenced by copyData(), DCM_GetElementValue(), DCM_GetElementValueOffset(), DCM_OpenFile(), exportData(), exportEncapsulatedPixels(), exportPixels(), readData(), readFile(), readGroupElement(), readLengthToEnd(), readPreamble(), and readVRLength(). | 
| 
 | 
| 
 Definition at line 930 of file mri_dicom_hdr.h. Referenced by DCM_WriteFile(). | 
| 
 | 
| 
 Definition at line 937 of file mri_dicom_hdr.h. Referenced by DCM_CloseObject(). | 
| 
 | 
| 
 Definition at line 732 of file mri_dicom_hdr.h. Referenced by DCM_OpenFile(), DCM_ReadStream(), exportStream(), extractFileOptions(), and readFile1(). | 
| 
 | 
| 
 Definition at line 932 of file mri_dicom_hdr.h. Referenced by writeFile(). | 
| 
 | 
| 
 Definition at line 703 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 706 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 705 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 704 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 757 of file mri_dicom_hdr.h. Referenced by DCM_OpenFile(). | 
| 
 | 
| 
 Definition at line 890 of file mri_dicom_hdr.h. Referenced by DCM_OpenFile(). | 
| 
 | 
| 
 Definition at line 1030 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1031 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 736 of file mri_dicom_hdr.h. Referenced by readFile(), and readFile1(). | 
| 
 | 
| 
 Definition at line 951 of file mri_dicom_hdr.h. Referenced by exportData(), exportEncapsulatedPixels(), and exportPixels(). | 
| 
 | 
| 
 Definition at line 1028 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1029 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 918 of file mri_dicom_hdr.h. Referenced by copyData(), and DCM_GetElementValue(). | 
| 
 | 
| 
 Definition at line 953 of file mri_dicom_hdr.h. Referenced by DCM_GetNextElement(). | 
| 
 | 
| 
 Definition at line 971 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 985 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 968 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 983 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 982 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 984 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 986 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 966 of file mri_dicom_hdr.h. Referenced by updateObjectType(). | 
| 
 | 
| 
 Definition at line 991 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 995 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 978 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 967 of file mri_dicom_hdr.h. Referenced by exportStream(). | 
| 
 | 
| 
 Definition at line 980 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 969 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 973 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 741 of file mri_dicom_hdr.h. Referenced by DCM_CreateObject(). | 
| 
 | 
| 
 Definition at line 981 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 979 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 928 of file mri_dicom_hdr.h. Referenced by DCM_RemoveGroup(). | 
| 
 | 
| 
 Definition at line 992 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 994 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 970 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 993 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 988 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 987 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 972 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 990 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 974 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 989 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 975 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 976 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 977 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1141 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1126 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1132 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1180 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1179 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1219 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1218 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1217 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1161 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1166 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1164 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1158 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1159 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1160 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1226 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1163 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1168 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1149 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1129 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1135 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1138 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1137 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1202 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1214 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1210 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1211 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1145 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1199 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1198 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1114 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1127 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1133 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1117 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1144 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1119 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1120 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1121 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1154 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1153 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1174 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1152 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1115 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1201 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1151 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1181 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1162 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1167 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1147 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1146 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1148 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1169 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1139 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1208 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1206 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1209 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1178 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1128 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1134 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1176 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1175 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1177 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1150 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1221 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1220 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1165 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1172 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1142 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1118 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1190 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1196 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1189 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1188 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1186 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1191 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1182 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1185 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1192 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1194 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1195 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1200 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1184 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1183 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1193 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1187 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1156 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1155 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1157 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1143 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1125 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1173 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1131 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1122 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1123 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1203 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1116 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1204 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1205 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1212 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1170 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1213 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1124 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1171 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1130 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1197 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1216 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1225 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1224 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1215 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1223 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1222 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1207 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 916 of file mri_dicom_hdr.h. Referenced by DCM_AddElement(), and DCM_AddSequenceElement(). | 
| 
 | 
| 
 Definition at line 920 of file mri_dicom_hdr.h. Referenced by DCM_GetElementValue(). | 
| 
 | 
| 
 Definition at line 898 of file mri_dicom_hdr.h. Referenced by checkObject(). | 
| 
 | 
| 
 Definition at line 914 of file mri_dicom_hdr.h. Referenced by DCM_ImportStream(), DCM_OpenFile(), DCM_ReadStream(), exportStream(), and extractFileOptions(). | 
| 
 | 
| 
 Definition at line 922 of file mri_dicom_hdr.h. Referenced by DCM_AddElement(). | 
| 
 | 
| 
 Definition at line 902 of file mri_dicom_hdr.h. Referenced by readFile(), readGroupElement(), readPreamble(), and readVRLength(). | 
| 
 | 
| 
 Definition at line 1682 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1674 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1620 of file mri_dicom_hdr.h. Referenced by updateSpecialElements(). | 
| 
 | 
| 
 Definition at line 1621 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1605 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1673 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1619 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1684 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1616 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1603 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1676 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1677 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1646 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1597 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1622 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1600 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1614 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1636 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1627 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(). | 
| 
 | 
| 
 Definition at line 1631 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(). | 
| 
 | 
| 
 Definition at line 1625 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1629 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(). | 
| 
 | 
| 
 Definition at line 1660 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(). | 
| 
 | 
| 
 Definition at line 1657 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1659 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(). | 
| 
 | 
| 
 Definition at line 1658 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(). | 
| 
 | 
| 
 Definition at line 1664 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1669 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(). | 
| 
 | 
| 
 Definition at line 1653 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1650 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1652 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1666 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(). | 
| 
 | 
| 
 Definition at line 1651 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1667 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1615 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1683 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1681 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1678 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1685 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1680 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1665 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1668 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1602 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1654 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2227 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2225 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2221 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2222 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2223 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2224 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2226 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1599 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1611 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1637 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1632 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1623 of file mri_dicom_hdr.h. Referenced by updateSpecialElements(). | 
| 
 | 
| 
 Definition at line 1608 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1601 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1606 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1647 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1675 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1640 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1641 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1642 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1604 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1679 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1598 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1663 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1662 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1661 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1626 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(). | 
| 
 | 
| 
 Definition at line 1630 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(). | 
| 
 | 
| 
 Definition at line 1624 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1628 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(). | 
| 
 | 
| 
 Definition at line 1686 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1607 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1670 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1633 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1638 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1643 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1639 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1610 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1609 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 934 of file mri_dicom_hdr.h. Referenced by DCM_AddElement(), DCM_AddFragment(), and DCM_AddSequenceElement(). | 
| 
 | 
| 
 Definition at line 2141 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2146 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2144 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2147 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2145 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2149 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2143 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2142 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2148 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1233 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 747 of file mri_dicom_hdr.h. Referenced by DCM_OpenFile(). | 
| 
 | 
| 
 Definition at line 912 of file mri_dicom_hdr.h. Referenced by DCM_AddFragment(), DCM_CloseObject(), DCM_CopyObject(), DCM_CreateObject(), DCM_GetElementValueList(), DCM_ListToString(), DCM_RemoveGroup(), exportStream(), findCreateGroup(), handleGroupItem(), insertNewElement(), insertThisElementItem(), readFile(), readFile1(), and readSequence(). | 
| 
 | 
| Value: (((((unsigned int)(g)) << 16) & 0xffff0000) \ | ((unsigned int)(e) & 0xffff)) Definition at line 638 of file mri_dicom_hdr.h. Referenced by ctxSensitiveLookup(), exportVRLength(), findCreateGroup(), readFile(), readFile1(), readGroupElement(), readLengthToEnd(), and updateSpecialElements(). | 
| 
 | 
| 
 Definition at line 938 of file mri_dicom_hdr.h. Referenced by DCM_AddFragment(), DCM_CopyObject(), DCM_CreateObject(), DCM_GetElementValueList(), DCM_ListToString(), DCM_MergeObject(), readFile(), and readSequence(). | 
| 
 | 
| 
 Definition at line 1687 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2083 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2086 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2084 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2085 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2089 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2090 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2088 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2087 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2461 of file mri_dicom_hdr.h. Referenced by DCM_CopyObject(), and DCM_CreateObject(). | 
| 
 | 
| 
 Definition at line 1080 of file mri_dicom_hdr.h. Referenced by updateSpecialElements(). | 
| 
 | 
| 
 Definition at line 1085 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1086 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1081 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1082 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1083 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1089 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1088 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1087 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1084 of file mri_dicom_hdr.h. Referenced by setFileOptions(), and updateSpecialElements(). | 
| 
 | 
| 
 Definition at line 1032 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1033 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1046 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1047 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1048 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1049 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1050 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1051 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1040 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1041 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1042 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1043 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1044 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1045 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1993 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2016 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2021 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2022 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2005 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2025 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2036 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2013 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1986 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2037 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2034 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2017 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2031 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2024 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1972 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2019 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1970 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2032 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1963 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1965 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1969 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2006 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1964 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1966 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1961 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2027 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1985 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1960 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2007 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2035 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1971 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1962 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1976 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1982 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1974 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1980 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1984 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1992 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1995 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1988 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1999 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2010 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2008 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2009 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1978 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1977 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1975 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1973 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2028 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2002 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2004 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1967 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2003 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2015 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2018 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2014 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1968 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1981 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1979 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1983 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2020 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2033 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2029 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2026 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2011 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2030 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1991 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1996 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1994 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1989 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1990 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1987 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2023 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1998 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1997 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2012 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2001 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2000 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 955 of file mri_dicom_hdr.h. Referenced by exportEncapsulatedPixels(). | 
| 
 | 
| 
 Definition at line 742 of file mri_dicom_hdr.h. Referenced by DCM_CreateObject(). | 
| 
 | 
| 
 | 
| 
 Definition at line 950 of file mri_dicom_hdr.h. Referenced by DCM_AddSequenceElement(). | 
| 
 | 
| 
 Definition at line 939 of file mri_dicom_hdr.h. Referenced by DCM_CopyObject(), DCM_CreateObject(), and DCM_MergeObject(). | 
| 
 | 
| 
 Definition at line 896 of file mri_dicom_hdr.h. Referenced by checkObject(). | 
| 
 | 
| 
 Definition at line 2426 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2427 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 894 of file mri_dicom_hdr.h. Referenced by DCM_CopyObject(), DCM_CreateObject(), and DCM_MergeObject(). | 
| 
 | 
| 
 Definition at line 585 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2425 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2055 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2054 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2067 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2042 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2075 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2053 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2072 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2063 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2060 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2062 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2061 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2064 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2066 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2040 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2049 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2044 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2048 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2045 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2058 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2071 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2059 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2050 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2043 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2065 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2068 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2069 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2070 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2041 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2047 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2046 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 727 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(), exportStream(), extractFileOptions(), readFile(), and readFile1(). | 
| 
 | 
| 
 Definition at line 726 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(), exportStream(), extractFileOptions(), mri_dicom_header(), readFile(), readFile1(), setFileOptions(), and updateSpecialElements(). | 
| 
 | 
| 
 Definition at line 724 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(), DCM_ImportStream(), DCM_OpenFile(), DCM_ReadStream(), exportStream(), extractFileOptions(), readFile(), and readFile1(). | 
| 
 | 
| 
 Definition at line 725 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(), exportStream(), extractFileOptions(), insertNewElement(), readFile(), and readFile1(). | 
| 
 | 
| 
 Definition at line 2177 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 733 of file mri_dicom_hdr.h. Referenced by exportStream(), extractFileOptions(), mri_dicom_header(), and readFile1(). | 
| 
 | 
| 
 Definition at line 1258 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1244 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1241 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1234 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1240 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1235 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1248 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1262 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1251 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1255 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1230 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1232 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1237 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1245 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1260 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1250 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1249 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1247 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1246 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1231 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1256 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1238 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1239 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1259 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1261 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1236 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1242 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1257 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1254 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1243 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2172 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2171 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2156 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2157 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2154 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2155 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2153 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2158 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2159 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1849 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1783 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1790 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1792 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1795 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1779 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1789 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1872 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1873 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1858 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1803 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1816 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1877 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1875 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1859 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1870 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1863 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1788 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1786 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1787 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1811 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1802 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1791 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1823 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1830 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1827 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1824 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1826 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1822 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1749 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1829 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1851 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1850 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1876 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1815 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1835 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1836 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1808 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1809 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1866 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1782 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1805 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1846 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1856 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1814 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1812 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1813 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1847 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1799 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1776 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1767 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1828 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1869 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1794 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1765 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1843 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1844 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1766 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1842 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1834 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1871 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1810 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1801 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1774 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1770 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1771 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1773 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1768 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1769 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1772 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1775 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1867 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1761 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1781 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1780 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1807 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1797 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1884 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1868 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1832 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1838 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1793 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1764 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1853 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1837 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1804 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1845 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1778 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1806 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1796 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1800 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1798 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1831 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1848 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1840 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1841 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1839 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1777 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1757 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1755 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1825 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1756 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1753 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1754 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1758 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1760 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1763 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1751 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1752 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1750 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1759 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1833 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1762 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1883 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1881 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1882 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1878 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1880 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1879 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1865 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1785 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1784 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1864 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1857 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1855 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1874 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1862 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1861 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1860 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1854 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 701 of file mri_dicom_hdr.h. Referenced by exportPreamble(), readFile1(), and readPreamble(). | 
| 
 | 
| 
 Definition at line 2163 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2166 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2167 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2164 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2165 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2210 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2208 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2209 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2079 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2080 of file mri_dicom_hdr.h. Referenced by DCM_AddFragment(), exportData(), exportEncapsulatedPixels(), exportStream(), readData(), readFile(), readVRLength(), and swapInPlace(). | 
| 
 | 
| 
 Definition at line 2217 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2214 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2216 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2215 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 943 of file mri_dicom_hdr.h. Referenced by DCM_ReadStream(). | 
| 
 | 
| 
 Definition at line 1253 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1535 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1568 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1570 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1543 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1547 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1557 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1530 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1591 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1561 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1536 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1553 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1554 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1550 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1551 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1569 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1541 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1539 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1558 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1556 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1548 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1562 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1587 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1590 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1586 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1589 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1585 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1588 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1579 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1578 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1577 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1582 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1581 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1580 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1565 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1592 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1593 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1576 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1546 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1545 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1540 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1574 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1573 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1532 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1567 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1534 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1575 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1584 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1533 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1531 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1564 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1566 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1542 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 954 of file mri_dicom_hdr.h. Referenced by checkAttributeOrder(), and readFile1(). | 
| 
 | 
| 
 Definition at line 750 of file mri_dicom_hdr.h. Referenced by readFile1(). | 
| 
 | 
| 
 Definition at line 1929 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1919 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1920 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1921 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1923 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1922 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1902 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1903 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1904 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1928 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1916 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1917 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1915 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1914 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1924 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1925 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1906 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1907 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1908 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1927 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1913 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1912 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1910 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1911 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1926 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1918 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1905 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1909 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1710 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1711 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1718 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1712 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1713 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1693 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1696 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1695 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1699 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1700 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1707 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1717 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1716 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1715 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1708 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1709 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1705 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1706 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1701 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1702 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1703 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1704 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1694 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1714 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1697 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1698 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 744 of file mri_dicom_hdr.h. Referenced by exportStream(). | 
| 
 | 
| 
 Definition at line 767 of file mri_dicom_hdr.h. Referenced by readFile1(). | 
| 
 | 
| 
 Definition at line 2204 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2202 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2203 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2201 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1026 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1027 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 944 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(), readFile1(), readGroupElement(), readPreamble(), readSequence(), readVRLength(), and scanCompressedPixels(). | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 758 of file mri_dicom_hdr.h. Referenced by DCM_OpenFile(). | 
| 
 | 
| 
 Definition at line 924 of file mri_dicom_hdr.h. Referenced by insertNewElement(), readFile(), and readVRLength(). | 
| 
 | 
| 
 Definition at line 956 of file mri_dicom_hdr.h. Referenced by DCM_AddFragment(). | 
| 
 | 
| 
 Definition at line 940 of file mri_dicom_hdr.h. Referenced by DCM_GetElementValueList(), and DCM_GetSequenceElement(). | 
| 
 | 
| 
 Definition at line 908 of file mri_dicom_hdr.h. Referenced by DCM_LookupElement(). | 
| 
 | 
| 
 Definition at line 906 of file mri_dicom_hdr.h. Referenced by DCM_LookupElement(). | 
| 
 | 
| 
 Definition at line 945 of file mri_dicom_hdr.h. Referenced by readVRLength(). | 
| 
 | 
| 
 Definition at line 2229 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(), DCM_RemoveElement(), exportStream(), insertNewElement(), insertThisElementItem(), readData(), readFile(), readFile1(), readSequence(), readVRLength(), and scanCompressedPixels(). | 
| 
 | 
| 
 Definition at line 745 of file mri_dicom_hdr.h. Referenced by exportStream(). | 
| 
 | 
| 
 Definition at line 748 of file mri_dicom_hdr.h. Referenced by DCM_OpenFile(). | 
| 
 | 
| 
 Definition at line 1726 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1734 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1735 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1744 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1741 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1736 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1738 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1739 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1737 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1723 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1727 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1742 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1743 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1724 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1728 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1729 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1730 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1731 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1732 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1733 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1740 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 1725 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 764 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(), and readFile1(). | 
| 
 | 
| 
 Definition at line 946 of file mri_dicom_hdr.h. Referenced by readVRLength(). | 
| 
 | 
| 
 Definition at line 227 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 217 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 218 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 222 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 219 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 230 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 56 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 220 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 223 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 229 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 221 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 226 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2627 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2622 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2620 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2619 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2621 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2600 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2669 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2630 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2671 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2639 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2646 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2617 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2608 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2609 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2614 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2615 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2611 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2616 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2610 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2640 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2641 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2657 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2670 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2624 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2660 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2637 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2636 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2633 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2644 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2645 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2672 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2642 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2643 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2613 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2649 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2664 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2650 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2673 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2628 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2626 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2631 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2623 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2625 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2653 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2655 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2658 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2654 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2674 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2659 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2603 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2601 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2635 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2612 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2652 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2651 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2648 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2647 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2573 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2665 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2666 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2668 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2667 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2632 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2656 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2661 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2663 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2662 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2697 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2695 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2683 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2685 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2684 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2691 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2693 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2692 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2629 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2680 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2678 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2676 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2675 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2679 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2677 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2681 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2687 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2689 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2688 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 228 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2606 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 224 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2577 of file mri_dicom_hdr.h. Referenced by setFileOptions(), and updateSpecialElements(). | 
| 
 | 
| 
 Definition at line 2578 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2587 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2588 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2579 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2580 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2583 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2584 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2591 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2592 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2585 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2586 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2593 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2594 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2595 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2589 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2590 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2581 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2582 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2575 of file mri_dicom_hdr.h. Referenced by setFileOptions(), and updateSpecialElements(). | 
| 
 | 
| 
 Definition at line 2576 of file mri_dicom_hdr.h. Referenced by setFileOptions(), and updateSpecialElements(). | 
| 
 | 
| 
 Definition at line 225 of file mri_dicom_hdr.h. Referenced by setFileOptions(). | 
| 
 | 
| 
 Definition at line 2562 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2604 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2602 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 203 of file mri_dicom_hdr.h. Referenced by DCM_DumpVector(), DCM_ElementDictionary(), DCM_GroupDictionary(), exportVRLength(), lookupVRCode(), and mapVRtoASCII(). | 
| 
 | 
| 
 Definition at line 187 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 180 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 157 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 183 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 150 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 156 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 153 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 179 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 149 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 167 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 145 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 174 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 151 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 160 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 159 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 155 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 158 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 164 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 173 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 170 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 146 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 147 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 161 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 172 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 177 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 181 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 148 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 176 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 185 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 154 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 171 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 165 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 175 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 163 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 152 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 166 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 182 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 178 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 162 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 169 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 142 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 192 of file mri_dicom_hdr.h. | 
| 
 | 
| Value: (CONDITION)((((unsigned long)value)<<16) | \ (((unsigned long)facility) << 4) | ((unsigned long)severity)) Definition at line 115 of file mri_dicom_hdr.h. | 
| 
 | 
| Value: {               \
        LONG_WORD lll;                          \
        lll.u[0] = (A)[3];                      \
        lll.u[1] = (A)[2];                      \
        lll.u[2] = (A)[1];                      \
        lll.u[3] = (A)[0];                      \
        (B) = lll.l;                            \
}Definition at line 2500 of file mri_dicom_hdr.h. Referenced by readFile(), and readVRLength(). | 
| 
 | 
| Value: {               \
        LONG_WORD lll;                          \
        lll.u[0] = (A)[0];                      \
        lll.u[1] = (A)[1];                      \
        lll.u[2] = (A)[2];                      \
        lll.u[3] = (A)[3];                      \
        (B) = lll.l;                            \
}Definition at line 2491 of file mri_dicom_hdr.h. Referenced by readFile(), and readVRLength(). | 
| 
 | 
| Value: {               \
        SHORT_WORD sss;                         \
        sss.u[0] = (A)[1];                      \
        sss.u[1] = (A)[0];                      \
        (B) = sss.s;                            \
}Definition at line 2484 of file mri_dicom_hdr.h. Referenced by readFile(), readGroupElement(), and readVRLength(). | 
| 
 | 
| Value: {               \
        SHORT_WORD sss;                         \
        sss.u[0] = (A)[0];                      \
        sss.u[1] = (A)[1];                      \
        (B) = sss.s;                            \
}Definition at line 2477 of file mri_dicom_hdr.h. Referenced by readFile(), readGroupElement(), and readVRLength(). | 
| 
 | 
| 
 Definition at line 204 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 67 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 202 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2458 of file mri_dicom_hdr.h. Referenced by checkObject(), DCM_CopyObject(), and DCM_CreateObject(). | 
| 
 | 
| 
 Definition at line 68 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 524 of file mri_dicom_hdr.h. Referenced by LST_Insert(). | 
| 
 | 
| 
 Definition at line 518 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 489 of file mri_dicom_hdr.h. Referenced by DCM_RemoveElement(), DCM_RemoveGroup(), findCreateGroup(), LST_Insert(), and LST_Remove(). | 
| 
 | 
| 
 Definition at line 488 of file mri_dicom_hdr.h. Referenced by findCreateGroup(), insertNewElement(), insertThisElementItem(), LST_Insert(), LST_Remove(), and LST_Sort(). | 
| 
 | 
| 
 Definition at line 412 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 522 of file mri_dicom_hdr.h. Referenced by LST_Destroy(). | 
| 
 | 
| 
 Definition at line 526 of file mri_dicom_hdr.h. Referenced by LST_Insert(). | 
| 
 | 
| 
 Definition at line 520 of file mri_dicom_hdr.h. Referenced by DCM_CloseObject(), DCM_GetElementValueList(), DCM_RemoveGroup(), findCreateGroup(), handleGroupItem(), insertNewElement(), insertThisElementItem(), LST_Destroy(), LST_Enqueue(), LST_Insert(), LST_Push(), LST_Sort(), readFile(), readFile1(), and readSequence(). | 
| 
 | 
| 
 Definition at line 517 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 197 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 200 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2568 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2569 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2570 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2571 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2831 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2832 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2833 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 122 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 123 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 120 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 119 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 121 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 66 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 259 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 205 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 191 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2762 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2761 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2760 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2764 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2763 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2765 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2758 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2766 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2759 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2767 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2889 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2887 of file mri_dicom_hdr.h. Referenced by UTL_VerifyCreatePath(). | 
| 
 | 
| 
 Definition at line 2884 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2888 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2885 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 2882 of file mri_dicom_hdr.h. Referenced by UTL_VerifyCreatePath(). | 
| 
 | 
| 
 Definition at line 2886 of file mri_dicom_hdr.h. Referenced by UTL_VerifyCreatePath(). | 
| 
 | 
| 
 Definition at line 2883 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 242 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 254 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 234 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 246 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 238 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 250 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 240 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 252 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 239 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 251 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 233 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 245 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 232 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 244 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 256 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 241 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 253 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 243 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 255 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 237 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 249 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 236 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 248 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 235 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 247 of file mri_dicom_hdr.h. | 
Typedef Documentation
| 
 | 
| 
 | 
| 
 Definition at line 2332 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 | 
| 
 Definition at line 790 of file mri_dicom_hdr.h. Referenced by exportEncapsulatedPixels(), exportPixels(), and exportStream(). | 
| 
 | 
| 
 Definition at line 812 of file mri_dicom_hdr.h. Referenced by DCM_GetCompressedValue(). | 
| 
 | 
| 
 | 
| 
 Definition at line 637 of file mri_dicom_hdr.h. Referenced by DCM_ElementDictionary(), DCM_GetCompressedValue(), DCM_GetElement(), DCM_GetElementSize(), DCM_GetElementValueList(), DCM_GetSequenceByOffset(), DCM_GetSequenceElement(), DCM_GetSequenceList(), DCM_GetString(), DCM_PrintSequenceList(), DCM_RemoveElement(), exportData(), and locateElement(). | 
| 
 | 
| 
 Definition at line 496 of file mri_dicom_hdr.h. Referenced by LST_Insert(), and LST_Remove(). | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 74 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 90 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 94 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 89 of file mri_dicom_hdr.h. Referenced by DCM_GroupPresent(), and exportVRLength(). | 
| 
 | 
| 
 | 
| 
 Definition at line 73 of file mri_dicom_hdr.h. | 
| 
 | 
| 
 Definition at line 72 of file mri_dicom_hdr.h. | 
Enumeration Type Documentation
| 
 | 
| 
 Definition at line 629 of file mri_dicom_hdr.h. 
 00629              {
00630     DCM_OBJECTUNKNOWN,
00631     DCM_OBJECTCOMMAND,
00632     DCM_OBJECTIMAGE,
00633     DCM_OBJECTELEMENTLIST
00634 }   DCM_OBJECTTYPE;
 | 
| 
 | 
| 
 
 Definition at line 594 of file mri_dicom_hdr.h. Referenced by DCM_ElementDictionary(), DCM_IsString(), dumpBinaryData(), exportVRLength(), and mapVRtoASCII(). 
 00594              {
00595     DCM_AE,                     /* Application Entity */
00596     DCM_AS,                     /* Age string */
00597     DCM_AT,                     /* Attribute tag */
00598     DCM_CS,                     /* Control string */
00599     DCM_DA,                     /* Date */
00600     DCM_DD,                     /* Data set */
00601     DCM_DS,                     /* Decimal string */
00602     DCM_FD,                     /* Floating double */
00603     DCM_FL,                     /* Float */
00604     DCM_IS,                     /* Integer string */
00605     DCM_LO,                     /* Long string */
00606     DCM_LT,                     /* Long text */
00607     DCM_OT,                     /* Other binary value */
00608     DCM_SH,                     /* Short string */
00609     DCM_SL,                     /* Signed long */
00610     DCM_SQ,                     /* Sequence of items */
00611     DCM_SS,                     /* Signed short */
00612     DCM_ST,                     /* Short text */
00613     DCM_TM,                     /* Time */
00614     DCM_UI,                     /* Unique identifier (UID) */
00615     DCM_UL,                     /* Unsigned long */
00616     DCM_UN,                     /* Unknown (DICOM Unknown) */
00617     DCM_US,                     /* Unsigned short */
00618     /*DCM_UNKNOWN,*/            /* Unknown/unspecified (non-standard) */
00619     DCM_RET,                    /* Retired */
00620     DCM_CTX,                    /* Context sensitive (non-standard) */
00621     DCM_PN,                     /* Person Name */
00622     DCM_OB,                     /* Other, byte */
00623     DCM_OW,                     /* Other, word */
00624     DCM_DT,                     /* Date/Time */
00625     DCM_DLM,                    /* Delimiter (non-standard) */
00626     DCM_UT                      /* Unlimited text */
00627 }   DCM_VALUEREPRESENTATION;
 | 
| 
 | 
| 
 
 Definition at line 2729 of file mri_dicom_hdr.h. 
 02729              {
02730     UID_CLASS_K_APPLICATIONCONTEXT,
02731     UID_CLASS_K_IMPLEMENTATION,
02732     UID_CLASS_K_SOPCLASS,
02733     UID_CLASS_K_METASOPCLASS,
02734     UID_CLASS_K_TRANSFERSYNTAX,
02735     UID_CLASS_K_WELLKNOWNUID
02736 }   UID_CLASS;
 | 
| 
 | 
| 
 
 Definition at line 2699 of file mri_dicom_hdr.h. 
 02699              {
02700     UID_PATIENT = 2,
02701     UID_VISIT,
02702     UID_STUDY,
02703     UID_SERIES,
02704     UID_IMAGE,
02705     UID_RESULTS,
02706     UID_INTERPRETATION,
02707     UID_PRINTER,
02708     UID_DEVICE,
02709     UID_STUDYCOMPONENT,
02710     UID_STORAGECOMMITTRANSACTION
02711 }   UID_TYPE;
 | 
Function Documentation
| 
 | ||||||||||||
| 
 Definition at line 680 of file l_mri_dicom_hdr.c. 
 00681 {
00682     size_t i;
00683     int j;
00684 
00685     txt[0] = '\0';
00686 
00687     j = stackPtr;
00688     while (length > 2 && j >= 0) {
00689         i = strlen(EDBStack[j].statusText);
00690         if (i > length)
00691             i = length - 2;
00692         strncpy(txt, EDBStack[j].statusText, i);
00693         txt[i++] = '\n';
00694         txt[i] = '\0';
00695         length -= i;
00696         txt += i;
00697         j--;
00698     }
00699 }
 | 
| 
 | 
| 
 Definition at line 637 of file l_mri_dicom_hdr.c. References dumpstack(), and stackPtr. 
 | 
| 
 | 
| 
 Definition at line 613 of file l_mri_dicom_hdr.c. References COND_NORMAL, and ErrorCallback. 
 00614 {
00615 
00616     ErrorCallback = callback;
00617 
00618     return COND_NORMAL;
00619 }
 | 
| 
 | 
| 
 Definition at line 467 of file l_mri_dicom_hdr.c. References AFNI_CALL_VALU_2ARG, COND_NORMAL, CONDITION, and stackPtr. 
 00468 {
00469     int
00470         index,
00471         returnflag;
00472 
00473     for (index = stackPtr, returnflag = 1; index >= 0 && returnflag != 0;
00474          index--) {
00475 #if 0
00476         returnflag = callback(EDBStack[index].statusCode,
00477                               EDBStack[index].statusText);
00478 #else
00479         AFNI_CALL_VALU_2ARG( callback , int,returnflag            ,
00480                              CONDITION,EDBStack[index].statusCode ,
00481                              char *   ,EDBStack[index].statusText  ) ;
00482 #endif
00483     }
00484 
00485     return COND_NORMAL;
00486 }
 | 
| 
 | 
| 
 Definition at line 566 of file l_mri_dicom_hdr.c. References COND_NORMAL, CONDITION, CTNBOOLEAN, and stackPtr. Referenced by DCM_AddElement(), DCM_AddSequenceElement(), DCM_GetString(), DCM_ModifyElements(), DCM_ParseObject(), mri_dicom_header(), readFile(), and readGroupElement(). 
 00567 {
00568     CONDITION
00569         value;
00570 
00571     if (stackPtr >= 0)
00572         value = EDBStack[stackPtr].statusCode;
00573     else
00574         value = COND_NORMAL;
00575 
00576     if (clearstack) {
00577         stackPtr = -1;
00578     } else if (stackPtr <= 0) {
00579         stackPtr = -1;
00580     } else {
00581         stackPtr--;
00582     }
00583 
00584     return value;
00585 }
 | 
| 
 | ||||||||||||||||
| 
 | ||||||||||||||||
| 
 Definition at line 520 of file l_mri_dicom_hdr.c. References COND_NORMAL, CONDITION, and stackPtr. 
 00521 {
00522     CONDITION rtnValue;
00523 
00524     if (stackPtr >= 0) {
00525         *code = EDBStack[stackPtr].statusCode;
00526         (void) strncpy(text, EDBStack[stackPtr].statusText, maxlength - 1);
00527         text[maxlength - 1] = '\0';
00528         rtnValue = EDBStack[stackPtr].statusCode;
00529     } else {
00530         *code = COND_NORMAL;
00531         *text = '\0';
00532         rtnValue = COND_NORMAL;
00533     }
00534 
00535     return rtnValue;
00536 }
 | 
| 
 | 
| 
 Definition at line 716 of file l_mri_dicom_hdr.c. References dumpstack(), and stackPtr. 
 | 
| 
 | ||||||||||||
| 
 Definition at line 1335 of file l_mri_dicom_hdr.c. References checkObject(), COND_PopCondition(), COND_PushCondition(), CONDITION, DCM_CTX, DCM_ILLEGALADD, DCM_ILLEGALREPRESENTATION, DCM_INSERTFAILED, DCM_LookupElement(), DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_OT, DCM_TAG_ELEMENT, DCM_TAG_GROUP, DCM_UN, findCreateGroup(), insertNewElement(), object, DCM_ELEMENT::representation, DCM_ELEMENT::tag, and updateObjectType(). Referenced by DCM_AddElementList(), DCM_CopyObject(), DCM_MergeObject(), and DCM_ModifyElements(). 
 01336 {
01337     CONDITION
01338         cond;
01339     DCM_ELEMENT
01340         localElement;
01341     PRIVATE_OBJECT
01342         ** object;
01343     PRV_GROUP_ITEM
01344         * groupItem;
01345 
01346     object = (PRIVATE_OBJECT **) callerObject;
01347 
01348     cond = checkObject(object, "DCM_AddElement");
01349     if (cond != DCM_NORMAL)
01350         return cond;
01351 
01352     if ((DCM_TAG_ELEMENT(element->tag) == 0x0000))
01353         return COND_PushCondition(DCM_ILLEGALADD,
01354                    DCM_Message(DCM_ILLEGALADD), DCM_TAG_GROUP(element->tag),
01355                            DCM_TAG_ELEMENT(element->tag), "DCM_AddElement");
01356 
01357 
01358     localElement = *element;
01359 
01360     cond = DCM_LookupElement(&localElement);
01361     if (cond != DCM_NORMAL) {
01362         (void) COND_PopCondition(0);
01363         localElement = *element;
01364     } else {
01365         if (localElement.representation == DCM_OT ||
01366             localElement.representation == DCM_CTX)
01367             localElement.representation = element->representation;
01368         if (element->representation != DCM_UN &&
01369             element->representation != localElement.representation) {
01370             return COND_PushCondition(DCM_ILLEGALREPRESENTATION,
01371                                       DCM_Message(DCM_ILLEGALREPRESENTATION),
01372                                       DCM_TAG_GROUP(element->tag),
01373                                       DCM_TAG_ELEMENT(element->tag),
01374                                       "DCM_AddElement");
01375         }
01376     }
01377 
01378     cond = findCreateGroup(object, DCM_TAG_GROUP(localElement.tag), &groupItem);
01379     if (cond != DCM_NORMAL)
01380         return COND_PushCondition(DCM_INSERTFAILED,
01381                  DCM_Message(DCM_INSERTFAILED), DCM_TAG_GROUP(element->tag),
01382                                   DCM_TAG_ELEMENT(element->tag),
01383                                   "DCM_AddElement");
01384 
01385     cond = insertNewElement(object, &localElement);
01386     if (cond != DCM_NORMAL)
01387         return COND_PushCondition(DCM_INSERTFAILED,
01388                  DCM_Message(DCM_INSERTFAILED), DCM_TAG_GROUP(element->tag),
01389                                   DCM_TAG_ELEMENT(element->tag),
01390                                   "DCM_AddElement");
01391 
01392     cond = updateObjectType(object, &localElement);
01393     if (cond != DCM_NORMAL)
01394         return COND_PushCondition(DCM_INSERTFAILED,
01395                  DCM_Message(DCM_INSERTFAILED), DCM_TAG_GROUP(element->tag),
01396                                   DCM_TAG_ELEMENT(element->tag),
01397                                   "DCM_AddElement");
01398 
01399     return DCM_NORMAL;
01400 }
 | 
| 
 | ||||||||||||||||||||
| 
 Definition at line 3335 of file l_mri_dicom_hdr.c. References CONDITION, CTN_FREE, DCM_ELEMENT::d, DCM_AddElement(), DCM_ListToString(), DCM_NORMAL, DCM_OBJECT, DCM_ELEMENT::length, and offset. 
 03337 {
03338     DCM_ELEMENT
03339         e;                      /* Local copy of caller's element */
03340     CONDITION
03341         cond;
03342     char
03343        *s;
03344 
03345     e = *element;
03346     cond = DCM_ListToString(list, offset, &s);
03347     if (cond != DCM_NORMAL)
03348         return cond;
03349 
03350     e.d.string = s;
03351     e.length = strlen(s);
03352     cond = DCM_AddElement(callerObject, &e);
03353     CTN_FREE(s);
03354     return cond;
03355 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 8124 of file l_mri_dicom_hdr.c. References checkObject(), COND_PushCondition(), CONDITION, CTN_MALLOC, DCM_ELEMENT::d, DCM_INSERTFAILED, DCM_LISTFAILURE, DCM_MALLOCFAILURE, DCM_Message(), DCM_NORMAL, DCM_OB, DCM_OBJECT, DCM_PXLPIXELDATA, DCM_UNEVENFRAGMENTLENGTH, PRV_ELEMENT_ITEM::element, findCreateGroup(), DCM_FRAGMENT_ITEM::fragment, PRV_ELEMENT_ITEM::fragmentFlag, insertThisElementItem(), DCM_ELEMENT::length, DCM_FRAGMENT_ITEM::length, locateElement(), LST_Create(), LST_Enqueue(), DCM_ELEMENT::multiplicity, newElementItem(), object, DCM_ELEMENT::representation, DCM_ELEMENT::tag, and U32. 
 08125 {
08126   PRIVATE_OBJECT** object;
08127   PRV_ELEMENT_ITEM* elementItem;
08128   PRV_ELEMENT_ITEM* newItem;
08129   CONDITION cond;
08130   PRV_GROUP_ITEM *groupItem = 0;
08131   DCM_FRAGMENT_ITEM* fragmentItem;
08132   U32 mallocLength;
08133 
08134   if ((fragmentLength & 1) != 0) {
08135     return COND_PushCondition(DCM_UNEVENFRAGMENTLENGTH,
08136          DCM_Message(DCM_UNEVENFRAGMENTLENGTH), fragmentLength, "DCM_AddFragment");
08137   }
08138 
08139   object = (PRIVATE_OBJECT **) callerObject;
08140   cond = checkObject(object, "DCM_AddFragment");
08141   if (cond != DCM_NORMAL)
08142     return cond;
08143 
08144   cond = findCreateGroup(object, 0x7fe0, &groupItem);
08145   if (cond != DCM_NORMAL)
08146     return COND_PushCondition(DCM_INSERTFAILED,
08147          DCM_Message(DCM_INSERTFAILED), 0x7fe0, 0x0010, "DCM_AddFragment");
08148 
08149   elementItem = locateElement(object, 0x7fe00010);
08150   if (elementItem == NULL) {
08151     DCM_ELEMENT e;
08152     memset(&e, 0, sizeof(e));
08153     e.tag = DCM_PXLPIXELDATA;
08154     e.representation = DCM_OB;
08155     e.multiplicity = 1;
08156     e.length = 0;
08157     e.d.fragments = 0;
08158     cond = newElementItem(&e, FALSE, &newItem);
08159     if (cond != DCM_NORMAL)
08160       return cond;
08161     newItem->element.d.fragments = LST_Create();
08162     if (newItem->element.d.fragments == NULL) {
08163       return COND_PushCondition(DCM_LISTFAILURE,
08164                 DCM_Message(DCM_LISTFAILURE), "DCM_AddFragment");
08165     }
08166     cond = insertThisElementItem(object, newItem);
08167     if (cond != DCM_NORMAL)
08168       return cond;
08169   }
08170 
08171   elementItem = locateElement(object, 0x7fe00010);
08172 
08173   mallocLength = sizeof(DCM_FRAGMENT_ITEM) + fragmentLength;
08174   fragmentItem = CTN_MALLOC(mallocLength);
08175   if (fragmentItem == NULL) {
08176     return COND_PushCondition(DCM_MALLOCFAILURE,
08177                                 DCM_Message(DCM_MALLOCFAILURE), mallocLength,
08178                                 "DCM_AddFragment");
08179   }
08180 
08181   fragmentItem->fragment = ((char*)fragmentItem)+ sizeof(DCM_FRAGMENT_ITEM);
08182   fragmentItem->length = fragmentLength;
08183   memcpy(fragmentItem->fragment, fragment, fragmentLength);
08184   elementItem->fragmentFlag = 1;
08185   LST_Enqueue(&elementItem->element.d.fragments, (void *)fragmentItem);
08186 
08187   return DCM_NORMAL;
08188 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 1426 of file l_mri_dicom_hdr.c. References checkObject(), COND_PopCondition(), COND_PushCondition(), CONDITION, DCM_ELEMENT::d, DCM_ILLEGALADD, DCM_INSERTFAILED, DCM_LookupElement(), DCM_Message(), DCM_NORMAL, DCM_NOTASEQUENCE, DCM_OBJECT, DCM_SQ, DCM_TAG_ELEMENT, DCM_TAG_GROUP, findCreateGroup(), insertNewElement(), object, DCM_ELEMENT::representation, DCM_ELEMENT::tag, and updateObjectType(). Referenced by copySequence(). 
 01427 {
01428     CONDITION cond;
01429     DCM_ELEMENT localElement;
01430     PRIVATE_OBJECT **object;
01431     PRV_GROUP_ITEM *groupItem;
01432 
01433     object = (PRIVATE_OBJECT **) callerObject;
01434 
01435     cond = checkObject(object, "DCM_AddSequenceElement");
01436     if (cond != DCM_NORMAL)
01437         return cond;
01438 
01439     if ((DCM_TAG_ELEMENT(element->tag) == 0x0000))
01440         return COND_PushCondition(DCM_ILLEGALADD,
01441                    DCM_Message(DCM_ILLEGALADD), DCM_TAG_GROUP(element->tag),
01442                            DCM_TAG_ELEMENT(element->tag), "DCM_AddElement");
01443 
01444 
01445     localElement = *element;
01446 
01447     cond = DCM_LookupElement(&localElement);
01448     if (cond != DCM_NORMAL) {
01449         (void) COND_PopCondition(0);
01450         localElement = *element;
01451     } else {
01452         localElement.representation = element->representation;
01453     }
01454     if (localElement.representation != DCM_SQ) {
01455         return COND_PushCondition(DCM_NOTASEQUENCE,
01456                                   DCM_Message(DCM_NOTASEQUENCE),
01457                                   DCM_TAG_GROUP(localElement.tag),
01458                                   DCM_TAG_ELEMENT(localElement.tag),
01459                                   "DCM_AddSequenceElement");
01460     }
01461     cond = findCreateGroup(object, DCM_TAG_GROUP(localElement.tag), &groupItem);
01462     if (cond != DCM_NORMAL)
01463         return COND_PushCondition(DCM_INSERTFAILED,
01464                  DCM_Message(DCM_INSERTFAILED), DCM_TAG_GROUP(element->tag),
01465                                   DCM_TAG_ELEMENT(element->tag),
01466                                   "DCM_AddSequenceElement");
01467 
01468     cond = insertNewElement(object, &localElement);
01469     if (cond != DCM_NORMAL)
01470         return COND_PushCondition(DCM_INSERTFAILED,
01471                  DCM_Message(DCM_INSERTFAILED), DCM_TAG_GROUP(element->tag),
01472                                   DCM_TAG_ELEMENT(element->tag),
01473                                   "DCM_AddElement");
01474 
01475     cond = updateObjectType(object, &localElement);
01476     if (cond != DCM_NORMAL)
01477         return COND_PushCondition(DCM_INSERTFAILED,
01478                  DCM_Message(DCM_INSERTFAILED), DCM_TAG_GROUP(element->tag),
01479                                   DCM_TAG_ELEMENT(element->tag),
01480                                   "DCM_AddSequenceElement");
01481 
01482     /*
01483      * We have taken ownership of the sequence list, so zero out caller's
01484      * copy
01485      */
01486     element->d.sq = NULL;
01487 
01488     return DCM_NORMAL;
01489 }
 | 
| 
 | 
| 
 Definition at line 1208 of file l_mri_dicom_hdr.c. References checkObject(), close(), COND_PushCondition(), CONDITION, CTN_FREE, DCM_ELEMENT::d, DCM_FILEDELETEFAILED, DCM_LISTFAILURE, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_SQ, PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, PRV_ELEMENT_ITEM::fragmentFlag, PRV_GROUP_ITEM::group, LST_Destroy(), LST_NORMAL, LST_Pop(), object, DCM_SEQUENCE_ITEM::object, DCM_ELEMENT::representation, DCM_ELEMENT::tag, and unlink. Referenced by DCM_CloseObject(), handleGroupItem(), mri_dicom_header(), readData(), readFile(), readFile1(), readGroupElement(), readLengthToEnd(), readPreamble(), and readVRLength(). 
 01209 {
01210     CONDITION
01211         cond;
01212     PRV_GROUP_ITEM
01213         * group;
01214     PRV_ELEMENT_ITEM
01215         * element;
01216     PRIVATE_OBJECT
01217         ** object;
01218     DCM_SEQUENCE_ITEM
01219         * sequenceItem;
01220     DCM_FRAGMENT_ITEM* fragmentItem;
01221 
01222     if (debug)
01223         fprintf(stderr, "Starting DCM_CloseObject\n");
01224 
01225     object = (PRIVATE_OBJECT **) callerObject;
01226     cond = checkObject(object, "DCM_CloseObject");
01227     if (cond != DCM_NORMAL)
01228         return cond;
01229 
01230     if ((*object)->fd > 0)
01231         (void) close((*object)->fd);
01232 
01233     if (debug)
01234         fprintf(stderr, "DCM_CloseObject: Legal object and file closed\n");
01235 
01236     while ((group = (void *)LST_Pop(&(*object)->groupList)) != NULL) {
01237         if (debug)
01238             fprintf(stderr, "DCM_CloseObject: group %04x\n", group->group);
01239 
01240         while ((element = (void *)LST_Pop(&group->elementList)) != NULL) {
01241             if (debug)
01242                 fprintf(stderr, "DCM_CloseObject: Element %08x\n",
01243                         element->element.tag);
01244             if (element->element.representation == DCM_SQ) {
01245                 if (debug)
01246                     fprintf(stderr, "Sequence List Address: %p\n",
01247                             element->element.d.sq);
01248                 if (element->element.d.sq != NULL) {
01249                     while ((sequenceItem = (void *)LST_Pop(&element->element.d.sq)) != NULL) {
01250                         (void) DCM_CloseObject(&sequenceItem->object);
01251                         CTN_FREE(sequenceItem);
01252                     }
01253                     (void) LST_Destroy(&element->element.d.sq);
01254                 }
01255             } else if (element->fragmentFlag) {
01256                 if (debug)
01257                     fprintf(stderr, "Fragment List Address: %p\n",
01258                             element->element.d.fragments);
01259                 if (element->element.d.fragments != NULL) {
01260                     while ((fragmentItem = (void *)LST_Pop(&element->element.d.fragments)) != NULL) {
01261                         CTN_FREE(fragmentItem);
01262                     }
01263                     (void) LST_Destroy(&element->element.d.fragments);
01264                 }
01265             }
01266             if (debug)
01267                 fprintf(stderr, "DCM_CloseObject: free %8p\n", element);
01268 
01269             CTN_FREE(element);
01270         }
01271         cond = LST_Destroy(&group->elementList);
01272         if (cond != LST_NORMAL)
01273             return COND_PushCondition(DCM_LISTFAILURE,
01274                            DCM_Message(DCM_LISTFAILURE), "DCM_CloseObject");
01275         CTN_FREE(group);
01276     }
01277     cond = LST_Destroy(&(*object)->groupList);
01278     if (cond != LST_NORMAL)
01279         return COND_PushCondition(DCM_LISTFAILURE,
01280                            DCM_Message(DCM_LISTFAILURE), "DCM_CloseObject");
01281 
01282     cond = DCM_NORMAL;
01283     if ((*object)->deleteFlag) {
01284         if (unlink((*object)->fileName) != 0) {
01285 /****    (void) COND_PushCondition(DCM_FILEDELETEFAILED, strerror(errno));****/
01286             cond = COND_PushCondition(DCM_FILEDELETEFAILED,
01287                                       DCM_Message(DCM_FILEDELETEFAILED), (*object)->fileName, strerror(errno),
01288                                       "DCM_CloseObject");
01289 
01290         }
01291     }
01292     CTN_FREE(*object);
01293     *object = NULL;
01294     return cond;
01295 }
 | 
| 
 | ||||||||||||||||||||
| 
 Definition at line 3433 of file l_mri_dicom_hdr.c. References checkObject(), compareGroup(), CONDITION, DCM_NORMAL, DCM_OBJECT, PRV_GROUP_ITEM::group, LST_Head(), LST_Next(), and LST_Position(). 
 03438 {
03439     PRIVATE_OBJECT **object1,
03440       **object2;
03441     PRV_GROUP_ITEM *groupItem1,
03442        *groupItem2;
03443     CONDITION cond;
03444 
03445     object1 = (PRIVATE_OBJECT **) o1;
03446     cond = checkObject(object1, "DCM_CompareAttributes");
03447     if (cond != DCM_NORMAL)
03448         return cond;
03449 
03450     object2 = (PRIVATE_OBJECT **) o2;
03451     cond = checkObject(object1, "DCM_CompareAttributes");
03452     if (cond != DCM_NORMAL)
03453         return cond;
03454 
03455     groupItem1 = (void *)LST_Head(&(*object1)->groupList);
03456     if (groupItem1 != NULL)
03457         (void) LST_Position(&(*object1)->groupList, (void *)groupItem1);
03458 
03459     groupItem2 = (void *)LST_Head(&(*object2)->groupList);
03460     if (groupItem2 != NULL)
03461         (void) LST_Position(&(*object2)->groupList, (void *)groupItem2);
03462 
03463 
03464     while (groupItem1 != NULL) {
03465         if (groupItem2 == NULL) {
03466             compareGroup(groupItem1, NULL, callback, ctx);
03467             groupItem1 = (void *)LST_Next(&(*object1)->groupList);
03468         } else if (groupItem1->group == groupItem2->group) {
03469             compareGroup(groupItem1, groupItem2, callback, ctx);
03470             groupItem1 = (void *)LST_Next(&(*object1)->groupList);
03471             groupItem2 = (void *)LST_Next(&(*object2)->groupList);
03472         } else if (groupItem1->group > groupItem2->group) {
03473             compareGroup(NULL, groupItem2, callback, ctx);
03474             groupItem2 = (void *)LST_Next(&(*object2)->groupList);
03475         } else {
03476             compareGroup(groupItem1, NULL, callback, ctx);
03477             groupItem1 = (void *)LST_Next(&(*object1)->groupList);
03478         }
03479     }
03480 
03481     while (groupItem2 != NULL) {
03482         compareGroup(NULL, groupItem2, callback, ctx);
03483         groupItem2 = (void *)LST_Next(&(*object2)->groupList);
03484     }
03485     return DCM_NORMAL;
03486 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 3408 of file l_mri_dicom_hdr.c. References checkObject(), CONDITION, countBytes(), DCM_ExportStream(), DCM_NORMAL, DCM_OBJECT, and object. 
 03410 {
03411     PRIVATE_OBJECT
03412         ** object;
03413     unsigned char
03414         buf[2048];
03415     CONDITION
03416         cond;
03417 
03418     object = (PRIVATE_OBJECT **) callerObject;
03419     cond = checkObject(object, "DCM_ComputeExportSize");
03420     if (cond != DCM_NORMAL)
03421         return cond;
03422 
03423     *length = 0;
03424     cond = DCM_ExportStream(callerObject, opt, buf,
03425                             (unsigned long) sizeof(buf), countBytes, length);
03426     if (cond != DCM_NORMAL)
03427         return cond;
03428 
03429     return DCM_NORMAL;
03430 }
 | 
| 
 | ||||||||||||
| 
 | ||||||||||||
| 
 | 
| 
 Definition at line 2708 of file l_mri_dicom_hdr.c. References CTNBOOLEAN, and debug. Referenced by mri_dicom_header(). 
 02709 {
02710     debug = flag;
02711 }
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||
| 
 Definition at line 2288 of file l_mri_dicom_hdr.c. References PRV_GROUP_ITEM::baseLength, checkObject(), CONDITION, DCM_ELEMENT::d, DCM_ELEMENT::data_offset, DCM_AE, DCM_AS, DCM_AT, DCM_CS, DCM_DA, DCM_DD, DCM_DS, DCM_DT, DCM_FD, DCM_FL, DCM_IS, DCM_LO, DCM_LT, DCM_NORMAL, DCM_OB, DCM_OBJECT, DCM_OBJECTCOMMAND, DCM_OBJECTELEMENTLIST, DCM_OBJECTIMAGE, DCM_OBJECTUNKNOWN, DCM_OT, DCM_OW, DCM_PN, DCM_RET, DCM_SH, DCM_SL, DCM_SQ, DCM_SS, DCM_ST, DCM_TAG_ELEMENT, DCM_TAG_GROUP, DCM_TM, DCM_UI, DCM_UL, DCM_UN, DCM_US, DCM_UT, DCM_ELEMENT::description, dumpBinaryData(), PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, PRV_GROUP_ITEM::group, DCM_ELEMENT::length, LST_Head(), LST_Next(), LST_Position(), MIN, object, DCM_SEQUENCE_ITEM::object, DCM_ELEMENT::representation, RWC_NOHEX_MASK, RWC_NONAME_MASK, rwc_opt, RWC_printf(), rwc_vm, scratch, DCM_ELEMENT::tag, U32, and vm. Referenced by DCM_DumpElements(), DCM_OpenFile(), mri_dicom_header(), readFile(), readGroupElement(), readPreamble(), and readVRLength(). 
 02289 {
02290     PRV_GROUP_ITEM
02291         * groupItem;
02292     PRV_ELEMENT_ITEM
02293         * elementItem;
02294     PRIVATE_OBJECT
02295         ** object;
02296     CONDITION
02297         cond;
02298     DCM_SEQUENCE_ITEM
02299         * sq;
02300     char
02301         scratch[128];
02302     int
02303         stringLength;
02304 
02305     object = (PRIVATE_OBJECT **) callerObject;
02306 
02307     cond = checkObject(object, "DCM_DumpElements");
02308     if (cond != DCM_NORMAL)
02309         return cond;
02310 
02311     switch ((*object)->objectType) {
02312     case DCM_OBJECTUNKNOWN:
02313         RWC_printf("Object type: UNKNOWN\n");
02314         break;
02315     case DCM_OBJECTCOMMAND:
02316         RWC_printf("Object type: COMMAND\n");
02317         break;
02318     case DCM_OBJECTIMAGE:
02319         RWC_printf("Object type: IMAGE\n");
02320         break;
02321     case DCM_OBJECTELEMENTLIST:
02322         RWC_printf("Object type: ELEMENT LIST\n");
02323         break;
02324     default:
02325         RWC_printf("Object type: Unknown (error)\n");
02326         break;
02327     }
02328     RWC_printf("Object size: %ld\n", (*object)->objectSize);
02329 
02330     groupItem = (void *)LST_Head(&(*object)->groupList);
02331     if (groupItem != NULL)
02332         (void) LST_Position(&(*object)->groupList, (void *)groupItem);
02333 
02334     while (groupItem != NULL) {
02335 #ifdef MACOS
02336         RWC_printf("Group: %04x, Length: %8ld\n", groupItem->group,
02337                groupItem->baseLength);
02338 #else
02339         RWC_printf("Group: %04x, Length: %8d\n", groupItem->group,
02340                groupItem->baseLength);
02341 #endif
02342         elementItem = (void *)LST_Head(&groupItem->elementList);
02343         if (elementItem != NULL)
02344             (void) LST_Position(&groupItem->elementList, (void *)elementItem);
02345         while (elementItem != NULL) {
02346 #ifdef MACOS
02347             (void) RWC_printf("%04x %04x %8ld [%-8lu] ",
02348                           DCM_TAG_GROUP(elementItem->element.tag),
02349                           DCM_TAG_ELEMENT(elementItem->element.tag),
02350                           elementItem->element.length ,
02351                           (unsigned long) elementItem->element.data_offset );
02352 #else
02353             (void) RWC_printf("%04x %04x %8d [%-8lu] ",
02354                           DCM_TAG_GROUP(elementItem->element.tag),
02355                           DCM_TAG_ELEMENT(elementItem->element.tag),
02356                           elementItem->element.length ,
02357                           (unsigned long) elementItem->element.data_offset );
02358 #endif
02359 
02360             if( (rwc_opt & RWC_NONAME_MASK) == 0 )
02361               (void) RWC_printf("//%31s//", elementItem->element.description);
02362             else
02363               (void) RWC_printf("//") ;
02364 
02365             if (elementItem->element.d.ot == NULL)
02366                 (void) RWC_printf("Data on disk\n");
02367             else {
02368                 switch (elementItem->element.representation) {
02369                 case DCM_AE:
02370                 case DCM_AS:
02371                 case DCM_CS:
02372                 case DCM_DA:
02373                 case DCM_DT:
02374                     stringLength = MIN(sizeof(scratch) - 1, elementItem->element.length);
02375                     strncpy(scratch, elementItem->element.d.string, stringLength);
02376                     scratch[stringLength] = '\0';
02377                     (void) RWC_printf("%s\n", scratch);
02378                     break;
02379                 case DCM_DD:
02380                 case DCM_FD:
02381                 case DCM_FL:
02382                     (void) RWC_printf("Unimplemented\n");
02383                     break;
02384                 case DCM_DS:
02385                 case DCM_IS:
02386                 case DCM_LO:
02387                 case DCM_LT:
02388                 case DCM_PN:
02389                 case DCM_SH:
02390                 case DCM_UT:
02391                     stringLength = MIN(sizeof(scratch) - 1, elementItem->element.length);
02392                     strncpy(scratch, elementItem->element.d.string, stringLength);
02393                     scratch[stringLength] = '\0';
02394                     (void) RWC_printf("%s\n", scratch);
02395                     break;
02396                 case DCM_SL:
02397 #ifdef MACOS
02398                     (void) RWC_printf("%8lx %ld\n", *elementItem->element.d.sl,
02399                                   *elementItem->element.d.sl);
02400 #else
02401                     if( (rwc_opt & RWC_NOHEX_MASK) == 0 )
02402                       (void) RWC_printf("%8x %d\n", *elementItem->element.d.sl,
02403                                         *elementItem->element.d.sl);
02404                     else
02405                       (void) RWC_printf(" %d\n", *elementItem->element.d.sl ) ;
02406 
02407                     if (vm > 1)
02408                         dumpBinaryData(elementItem->element.d.ot,
02409                                        elementItem->element.representation,
02410                              elementItem->element.length / sizeof(U32), vm);
02411 #endif
02412                     break;
02413                 case DCM_SS:
02414                     if( (rwc_opt & RWC_NOHEX_MASK) == 0 )
02415                       (void) RWC_printf("%4x %d\n", *elementItem->element.d.ss,
02416                                     *elementItem->element.d.ss);
02417                     else
02418                       (void) RWC_printf(" %d\n", *elementItem->element.d.ss ) ;
02419 
02420                     if (vm > 1)
02421                         dumpBinaryData(elementItem->element.d.ot,
02422                                        elementItem->element.representation,
02423                            elementItem->element.length / sizeof(short), vm);
02424                     break;
02425                 case DCM_SQ:
02426                     (void) RWC_printf("SEQUENCE\n");
02427                     sq = (void *)LST_Head(&elementItem->element.d.sq);
02428                     if (sq != NULL)
02429                         (void) LST_Position(&elementItem->element.d.sq, (void *)sq);
02430                     RWC_printf("DCM Dump SEQUENCE\n");
02431                     while (sq != NULL) {
02432                         (void) DCM_DumpElements(&sq->object, vm);
02433                         sq = (void *)LST_Next(&elementItem->element.d.sq);
02434                     }
02435                     RWC_printf("DCM Dump SEQUENCE Complete\n");
02436                     break;
02437                 case DCM_ST:
02438                     stringLength = MIN(sizeof(scratch) - 1, elementItem->element.length);
02439                     strncpy(scratch, elementItem->element.d.string, stringLength);
02440                     scratch[stringLength] = '\0';
02441                     (void) RWC_printf("%s\n", scratch);
02442                     break;
02443                 case DCM_TM:
02444                 case DCM_UI:
02445                     stringLength = MIN(sizeof(scratch) - 1, elementItem->element.length);
02446                     strncpy(scratch, elementItem->element.d.string, stringLength);
02447                     scratch[stringLength] = '\0';
02448                     (void) RWC_printf("%s\n", scratch);
02449                     break;
02450                 case DCM_AT:
02451                 case DCM_UL:
02452 #ifdef MACOS
02453                     (void) RWC_printf("%8lx %ld\n", *elementItem->element.d.ul,
02454                                   *elementItem->element.d.ul);
02455 #else
02456                     if( (rwc_opt & RWC_NOHEX_MASK) == 0 )
02457                       (void) RWC_printf("%8x %d\n", *elementItem->element.d.ul,
02458                                     *elementItem->element.d.ul);
02459                     else
02460                       (void) RWC_printf(" %d\n", *elementItem->element.d.ul ) ;
02461 
02462                     if (vm > 1)
02463                         dumpBinaryData(elementItem->element.d.ot,
02464                                        elementItem->element.representation,
02465                              elementItem->element.length / sizeof(U32), vm);
02466 #endif
02467                     break;
02468                 case DCM_US:{
02469                     int nel = elementItem->element.length / sizeof(unsigned short) , rr ;
02470                     for( rr=0 ; rr < nel ; rr++ ){
02471                      if( (rwc_opt & RWC_NOHEX_MASK) == 0 )
02472                        (void) RWC_printf("%4x %d", elementItem->element.d.us[rr],
02473                                                    elementItem->element.d.us[rr]);
02474                      else
02475                        (void) RWC_printf(" %d", elementItem->element.d.us[rr] ) ;
02476                     }
02477                     RWC_printf("\n") ;
02478 
02479                     if (vm > 1)
02480                         dumpBinaryData(elementItem->element.d.ot,
02481                                        elementItem->element.representation,
02482                                        elementItem->element.length / sizeof(unsigned short), vm);
02483                     }
02484                     break;
02485                 case DCM_OB:
02486                 case DCM_UN:
02487                     dumpBinaryData(elementItem->element.d.ot,
02488                                        elementItem->element.representation,
02489                                elementItem->element.length , MAX(rwc_vm,8));
02490                     break;
02491 
02492                 case DCM_OT:
02493                 case DCM_OW:
02494                 /*case DCM_UNKNOWN:*/
02495                 case DCM_RET:
02496                     (void) RWC_printf("Unimplemented\n");
02497                     break;
02498                 default:
02499                     (void) RWC_printf("Some unimplemented logic if here\n");
02500                     break;
02501                 }
02502             }
02503             elementItem = (void *)LST_Next(&groupItem->elementList);
02504         }
02505         groupItem = (void *)LST_Next(&(*object)->groupList);
02506     }
02507 
02508     RWC_printf("DCM Dump Elements Complete\n");
02509     return DCM_NORMAL;
02510 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 10433 of file l_mri_dicom_hdr.c. References DCM_NORMAL, DCM_TAG, DCM_TAG_ELEMENT, DCM_TAG_GROUP, DCM_VALUEREPRESENTATION, GROUPPTR::dict, DIM_OF, DCMDICT::englishDescription, GROUPPTR::entries, i, p, r, DCMDICT::representation, and DCMDICT::tag. 
 10436 {
10437     int i;
10438     unsigned long j;
10439     GROUPPTR *p;
10440     DCMDICT *dictionaryPtr;
10441 
10442     for (i = 0; i < (int) DIM_OF(group_dictionary); i++) {
10443         if ((DCM_TAG_GROUP(tag) == group_dictionary[i].group) ||
10444             (DCM_TAG_GROUP(tag) == 0xffff)) {
10445             p = &group_dictionary[i];
10446             dictionaryPtr = p->dict;
10447             for (j = 0; j < p->entries; j++, dictionaryPtr++) {
10448                 if ((DCM_TAG_ELEMENT(tag) == 0xffff) ||
10449                     (DCM_TAG_ELEMENT(tag) == DCM_TAG_ELEMENT(dictionaryPtr->tag))) {
10450                     callback(dictionaryPtr->tag,
10451                              dictionaryPtr->englishDescription,
10452                              dictionaryPtr->representation,
10453                              ctx);
10454                 }
10455             }
10456         }
10457     }
10458     return DCM_NORMAL;
10459 }
 | 
| 
 | ||||||||||||||||||||||||||||
| 
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 2513 of file l_mri_dicom_hdr.c. References PRV_GROUP_ITEM::baseLength, checkObject(), CONDITION, DCM_ELEMENT::d, DCM_AE, DCM_AS, DCM_AT, DCM_CS, DCM_DA, DCM_DD, DCM_DS, DCM_DT, DCM_FD, DCM_FL, DCM_IS, DCM_LO, DCM_LT, DCM_NORMAL, DCM_OB, DCM_OBJECT, DCM_OBJECTCOMMAND, DCM_OBJECTELEMENTLIST, DCM_OBJECTIMAGE, DCM_OBJECTUNKNOWN, DCM_OT, DCM_OW, DCM_PN, DCM_RET, DCM_SH, DCM_SL, DCM_SQ, DCM_SS, DCM_ST, DCM_TAG_ELEMENT, DCM_TAG_GROUP, DCM_TM, DCM_UI, DCM_UL, DCM_US, DCM_UT, DCM_ELEMENT::description, dumpBinaryData(), PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, PRV_GROUP_ITEM::group, DCM_ELEMENT::length, LST_Head(), LST_Next(), LST_Position(), MIN, object, DCM_SEQUENCE_ITEM::object, DCM_ELEMENT::representation, RWC_printf(), scratch, DCM_ELEMENT::tag, U32, and vm. Referenced by DCM_FormatElements(), and mri_dicom_header(). 
 02514 {
02515     PRV_GROUP_ITEM
02516         * groupItem;
02517     PRV_ELEMENT_ITEM
02518         * elementItem;
02519     PRIVATE_OBJECT
02520         ** object;
02521     CONDITION
02522         cond;
02523     DCM_SEQUENCE_ITEM
02524         * sq;
02525     char
02526         scratch[128];
02527     int
02528         stringLength;
02529     char localPrefix[128];
02530 
02531     object = (PRIVATE_OBJECT **) callerObject;
02532 
02533     cond = checkObject(object, "DCM_DumpElements");
02534     if (cond != DCM_NORMAL)
02535         return cond;
02536 
02537     RWC_printf("\n%sDCM Dump Elements\n", prefix);
02538     switch ((*object)->objectType) {
02539     case DCM_OBJECTUNKNOWN:
02540         RWC_printf("%sObject type: UNKNOWN\n", prefix);
02541         break;
02542     case DCM_OBJECTCOMMAND:
02543         RWC_printf("%sObject type: COMMAND\n", prefix);
02544         break;
02545     case DCM_OBJECTIMAGE:
02546         RWC_printf("%sObject type: IMAGE\n", prefix);
02547         break;
02548     case DCM_OBJECTELEMENTLIST:
02549         RWC_printf("%sObject type: ELEMENT LIST\n", prefix);
02550         break;
02551     default:
02552         RWC_printf("%sObject type: Unknown (error)\n", prefix);
02553         break;
02554     }
02555     RWC_printf("%sObject size: %ld\n", prefix, (*object)->objectSize);
02556 
02557     groupItem = (void *)LST_Head(&(*object)->groupList);
02558     if (groupItem != NULL)
02559         (void) LST_Position(&(*object)->groupList, (void *)groupItem);
02560 
02561     while (groupItem != NULL) {
02562         RWC_printf("%sGroup: %04x, Length: %8d\n", prefix, groupItem->group,
02563                groupItem->baseLength);
02564         elementItem = (void *)LST_Head(&groupItem->elementList);
02565         if (elementItem != NULL)
02566             (void) LST_Position(&groupItem->elementList, (void *)elementItem);
02567         while (elementItem != NULL) {
02568             (void) RWC_printf("%s%04x %04x %8d ",
02569                           prefix,
02570                           DCM_TAG_GROUP(elementItem->element.tag),
02571                           DCM_TAG_ELEMENT(elementItem->element.tag),
02572                           elementItem->element.length);
02573             (void) RWC_printf("//%31s//", elementItem->element.description);
02574             if (elementItem->element.d.ot == NULL)
02575                 (void) RWC_printf("Data on disk\n");
02576             else {
02577                 switch (elementItem->element.representation) {
02578                 case DCM_AE:
02579                 case DCM_AS:
02580                 case DCM_CS:
02581                 case DCM_DA:
02582                 case DCM_DT:
02583                     stringLength = MIN(sizeof(scratch) - 1, elementItem->element.length);
02584                     strncpy(scratch, elementItem->element.d.string, stringLength);
02585                     scratch[stringLength] = '\0';
02586                     (void) RWC_printf("%s\n", scratch);
02587                     break;
02588                 case DCM_DD:
02589                 case DCM_FD:
02590                 case DCM_FL:
02591                     (void) RWC_printf("Unimplemented\n");
02592                     break;
02593                 case DCM_DS:
02594                 case DCM_IS:
02595                 case DCM_LO:
02596                 case DCM_LT:
02597                 case DCM_PN:
02598                 case DCM_SH:
02599                 case DCM_UT:
02600                     stringLength = MIN(sizeof(scratch) - 1, elementItem->element.length);
02601                     strncpy(scratch, elementItem->element.d.string, stringLength);
02602                     scratch[stringLength] = '\0';
02603                     (void) RWC_printf("%s\n", scratch);
02604                     break;
02605                 case DCM_SL:
02606 #ifdef MACOS
02607                     (void) RWC_printf("%8lx %ld\n", *elementItem->element.d.sl,
02608                                   *elementItem->element.d.sl);
02609 #else
02610                     (void) RWC_printf("%8x %d\n", *elementItem->element.d.sl,
02611                                   *elementItem->element.d.sl);
02612                     if (vm > 1)
02613                         dumpBinaryData(elementItem->element.d.ot,
02614                                        elementItem->element.representation,
02615                              elementItem->element.length / sizeof(U32), vm);
02616 #endif
02617                     break;
02618                 case DCM_SS:
02619                     (void) RWC_printf("%4x %d\n", *elementItem->element.d.ss,
02620                                   *elementItem->element.d.ss);
02621                     if (vm > 1)
02622                         dumpBinaryData(elementItem->element.d.ot,
02623                                        elementItem->element.representation,
02624                            elementItem->element.length / sizeof(short), vm);
02625                     break;
02626                 case DCM_SQ:
02627                     (void) RWC_printf("SEQUENCE\n");
02628                     sq = (void *)LST_Head(&elementItem->element.d.sq);
02629                     if (sq != NULL)
02630                         (void) LST_Position(&elementItem->element.d.sq, (void *)sq);
02631                     RWC_printf("%sDCM Dump SEQUENCE\n", prefix);
02632                     strcpy(localPrefix, prefix);
02633                     strcat(localPrefix, " ");
02634                     while (sq != NULL) {
02635                         (void) DCM_FormatElements(&sq->object, vm, localPrefix);
02636                         sq = (void *)LST_Next(&elementItem->element.d.sq);
02637                     }
02638                     RWC_printf("%sDCM Dump SEQUENCE Complete\n", prefix);
02639                     break;
02640                 case DCM_ST:
02641                     stringLength = MIN(sizeof(scratch) - 1, elementItem->element.length);
02642                     strncpy(scratch, elementItem->element.d.string, stringLength);
02643                     scratch[stringLength] = '\0';
02644                     (void) RWC_printf("%s\n", scratch);
02645                     break;
02646                 case DCM_TM:
02647                 case DCM_UI:
02648                     stringLength = MIN(sizeof(scratch) - 1, elementItem->element.length);
02649                     strncpy(scratch, elementItem->element.d.string, stringLength);
02650                     scratch[stringLength] = '\0';
02651                     (void) RWC_printf("%s\n", scratch);
02652                     break;
02653                 case DCM_AT:
02654                 case DCM_UL:
02655                     (void) RWC_printf("%8x %d\n", *elementItem->element.d.ul,
02656                                   *elementItem->element.d.ul);
02657                     if (vm > 1)
02658                         dumpBinaryData(elementItem->element.d.ot,
02659                                        elementItem->element.representation,
02660                              elementItem->element.length / sizeof(U32), vm);
02661                     break;
02662                 case DCM_US:
02663                     (void) RWC_printf("%4x %d\n", *elementItem->element.d.us,
02664                                   *elementItem->element.d.us);
02665                     if (vm > 1)
02666                         dumpBinaryData(elementItem->element.d.ot,
02667                                        elementItem->element.representation,
02668                                        elementItem->element.length / sizeof(unsigned short), vm);
02669                     break;
02670                 case DCM_OT:
02671                 case DCM_OW:
02672                 case DCM_OB:
02673                 /*case DCM_UNKNOWN:*/
02674                 case DCM_RET:
02675                     (void) RWC_printf("Unimplemented\n");
02676                     break;
02677                 default:
02678                     (void) RWC_printf("Some unimplemented logic if here\n");
02679                     break;
02680                 }
02681             }
02682             elementItem = (void *)LST_Next(&groupItem->elementList);
02683         }
02684         groupItem = (void *)LST_Next(&(*object)->groupList);
02685     }
02686 
02687     RWC_printf("%sDCM Dump Elements Complete\n\n", prefix);
02688     return DCM_NORMAL;
02689 }
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||||||||||||||||||
| 
 Definition at line 7690 of file l_mri_dicom_hdr.c. References BIG_ORDER, BYTEORDER_REVERSE, checkObject(), COND_PushCondition(), CONDITION, CTN_MALLOC, CTNBOOLEAN, DCM_ELEMENT::d, PRV_ELEMENT_ITEM::dataOffset, DCM_ACCEPTVRMISMATCH, DCM_ELEMENTNOTFOUND, DCM_EXPLICITBIGENDIAN, DCM_EXPLICITLITTLEENDIAN, DCM_GET_COMPRESSED_CALLBACK, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_ORDERBIGENDIAN, DCM_ORDERLITTLEENDIAN, DCM_ORDERMASK, DCM_ORDERNATIVE, DCM_STREAMCOMPLETE, DCM_TAG, DCM_TAG_ELEMENT, DCM_TAG_GROUP, DCM_UL, DCM_UNSPECIFIEDLENGTH, DCM_VRMASK, l, DCM_ELEMENT::length, LITTLE_ORDER, locateElement(), MIN, NATIVE_ORDER, object, PRV_ELEMENT_ITEM::originalDataLength, read(), readGroupElement(), readVRLength(), DCM_ELEMENT::representation, swapInPlace(), and U32. 
 07693 {
07694     PRIVATE_OBJECT
07695         ** object;
07696     PRV_ELEMENT_ITEM
07697         * elementItem;
07698     S32 nBytes;
07699     S32 toRead;
07700     CONDITION cond;
07701     int doneFlag = 0;
07702     size_t elementLength;
07703     unsigned char *ptr;
07704     U32 size = 0;
07705     off_t fileOffset = 0;
07706     unsigned long opt;
07707     int byteOrder;
07708     int explicitVR;
07709     CTNBOOLEAN acceptVRMismatch = FALSE;
07710     DCM_ELEMENT e;
07711     U32 sequenceLength = 0;
07712     CONDITION flag;
07713     int index = 0;
07714     CTNBOOLEAN firstBuffer = TRUE;
07715     U32 *offsetBuffer = NULL;
07716     U32 offsetBufferCount = 0;
07717     U32 streamOffset = 0;
07718     int startOfFragment = 1;
07719 
07720     object = (PRIVATE_OBJECT **) callerObject;
07721     cond = checkObject(object, "DCM_GetCompressedValue");
07722     if (cond != DCM_NORMAL)
07723         return cond;
07724 
07725     elementItem = locateElement(object, tag);
07726 
07727     if (elementItem == NULL)
07728         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
07729                        DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(tag),
07730                                   DCM_TAG_ELEMENT(tag),
07731                                   "DCM_GetEncodedValue");
07732 
07733     elementLength = elementItem->originalDataLength;
07734     ptr = NULL;                 /* Means reading from a file */
07735     size = DCM_UNSPECIFIEDLENGTH;
07736     fileOffset = elementItem->dataOffset;
07737 
07738     opt |= (*object)->dataOptions & DCM_ORDERMASK;
07739     explicitVR = FALSE;
07740     switch (opt & DCM_ORDERMASK) {
07741     case DCM_ORDERNATIVE:
07742         byteOrder = NATIVE_ORDER;
07743         break;
07744     case DCM_ORDERLITTLEENDIAN:
07745         byteOrder = LITTLE_ORDER;
07746         break;
07747     case DCM_EXPLICITLITTLEENDIAN:
07748         byteOrder = LITTLE_ORDER;
07749         explicitVR = TRUE;
07750         break;
07751     case DCM_ORDERBIGENDIAN:
07752         byteOrder = BIG_ORDER;
07753         break;
07754     case DCM_EXPLICITBIGENDIAN:
07755         byteOrder = BIG_ORDER;
07756         explicitVR = TRUE;
07757         break;
07758     default:
07759         byteOrder = LITTLE_ORDER;
07760         explicitVR = TRUE;
07761         break;
07762     }
07763     if ((opt & DCM_VRMASK) == DCM_ACCEPTVRMISMATCH)
07764         acceptVRMismatch = TRUE;
07765 
07766     (void) lseek((*object)->fd, elementItem->dataOffset, SEEK_SET);
07767     while (elementLength != 0) {
07768         sequenceLength = 0;
07769         memset(&e, 0, sizeof(e));
07770         flag = readGroupElement("", &ptr, (*object)->fd, &size, &fileOffset,
07771                              FALSE, byteOrder, explicitVR, acceptVRMismatch,
07772                                 object, &sequenceLength, &e);
07773         if (flag == DCM_STREAMCOMPLETE)
07774             break;
07775         else if (flag != DCM_NORMAL)
07776             return flag;
07777 
07778         flag = readVRLength("", &ptr, (*object)->fd, &size, &fileOffset,
07779                             FALSE,      /* Known length */
07780                             byteOrder, explicitVR, acceptVRMismatch, object,
07781                             &sequenceLength, &e);
07782         if (flag != DCM_NORMAL)
07783             return flag;
07784 
07785         elementLength -= sequenceLength + e.length;
07786 
07787         if (firstBuffer) {
07788             firstBuffer = FALSE;
07789             if (e.length != 0) {
07790                 offsetBuffer = CTN_MALLOC(e.length);
07791                 offsetBufferCount = e.length / sizeof(U32);
07792                 if (offsetBuffer == NULL)
07793                     exit(1);    /* repair */
07794                 nBytes = read((*object)->fd, offsetBuffer, e.length);
07795                 if (nBytes != e.length) {
07796                     exit(1);    /* repair */
07797                 }
07798                 if (byteOrder == BYTEORDER_REVERSE) {
07799                     DCM_ELEMENT offsetBufferElement;
07800                     memset(&offsetBufferElement, 0, sizeof(DCM_ELEMENT));
07801                     offsetBufferElement.length = e.length;
07802                     offsetBufferElement.d.ul = offsetBuffer;
07803                     offsetBufferElement.representation = DCM_UL;
07804                     swapInPlace(object, &offsetBufferElement);
07805                 }
07806                 callback(offsetBuffer, e.length, index, 1, 0, 1, ctx);
07807                 streamOffset = 0;
07808             } else {
07809                 streamOffset = 0xffffffff;
07810             }
07811         } else {
07812             U32 l = e.length;
07813             int j;
07814             int lastIndex;
07815 
07816             lastIndex = index;
07817             for (j = 0; j < offsetBufferCount; j++) {
07818                 if (streamOffset == offsetBuffer[j])
07819                     index = j + 1;
07820             }
07821             startOfFragment = 1;
07822             while (l != 0) {
07823                 toRead = MIN(bufSize, l);
07824                 nBytes = read((*object)->fd, buf, toRead);
07825                 if (nBytes != toRead) {
07826                     exit(1);    /* repair */
07827                 }
07828                 callback(buf, toRead, index,
07829                          (index != lastIndex) ? 1 : 0,
07830                          0, startOfFragment, ctx);
07831                 l -= toRead;
07832                 lastIndex = index;      /* Guarantee first flag is off */
07833                 startOfFragment = 0;
07834             }
07835             streamOffset += sequenceLength + e.length;
07836         }
07837         fileOffset += e.length;
07838         index++;
07839     }
07840     callback(buf, 0, index, 0, 1, 1, ctx);
07841     return DCM_NORMAL;
07842 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 3382 of file l_mri_dicom_hdr.c. References checkObject(), COND_PushCondition(), CONDITION, DCM_ELEMENT::d, DCM_ELEMENTNOTFOUND, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_TAG, DCM_TAG_ELEMENT, DCM_TAG_GROUP, PRV_ELEMENT_ITEM::element, and locateElement(). Referenced by DCM_GetString(). 
 03383 {
03384     PRIVATE_OBJECT
03385         ** obj;
03386     CONDITION
03387         cond;
03388     PRV_ELEMENT_ITEM
03389         * elementItem;
03390 
03391     obj = (PRIVATE_OBJECT **) callerObject;
03392     cond = checkObject(obj, "DCM_GetElementVM");
03393     if (cond != DCM_NORMAL)
03394         return cond;
03395 
03396     elementItem = locateElement(obj, tag);
03397     if (elementItem == NULL)
03398         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
03399                        DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(tag),
03400                                   DCM_TAG_ELEMENT(tag),
03401                                   "DCM_GetElementVM");
03402     *element = elementItem->element;
03403     element->d.ot = NULL;
03404     return DCM_NORMAL;
03405 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 1991 of file l_mri_dicom_hdr.c. References checkObject(), COND_PushCondition(), CONDITION, CTNBOOLEAN, DCM_ELEMENTNOTFOUND, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_TAG, DCM_TAG_ELEMENT, DCM_TAG_GROUP, PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, PRV_GROUP_ITEM::group, DCM_ELEMENT::length, LST_Head(), LST_Next(), LST_Position(), object, DCM_ELEMENT::tag, and U32. 
 01993 {
01994     PRIVATE_OBJECT
01995         ** object;
01996     PRV_GROUP_ITEM
01997         * groupItem;
01998     PRV_ELEMENT_ITEM
01999         * elementItem;
02000     CONDITION
02001         cond;
02002     CTNBOOLEAN
02003         flag;
02004     unsigned short
02005         group,
02006         element;
02007 
02008     object = (PRIVATE_OBJECT **) callerObject;
02009     cond = checkObject(object, "DCM_GetElementSize");
02010     if (cond != DCM_NORMAL)
02011         return cond;
02012 
02013     group = DCM_TAG_GROUP(tag);
02014     element = DCM_TAG_ELEMENT(tag);
02015 
02016     groupItem = (void *)LST_Head(&((*object)->groupList));
02017     if (groupItem == NULL)
02018         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
02019                            DCM_Message(DCM_ELEMENTNOTFOUND), group, element,
02020                                   "DCM_GetElementSize");
02021 
02022     (void) LST_Position(&((*object)->groupList), (void *)groupItem);
02023 
02024     flag = FALSE;
02025     while ((groupItem != NULL) && (flag == FALSE)) {
02026         if (groupItem->group == group)
02027             flag = TRUE;
02028         else
02029             groupItem = (void *)LST_Next(&(*object)->groupList);
02030     }
02031     if (flag == FALSE)
02032         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
02033                            DCM_Message(DCM_ELEMENTNOTFOUND), group, element,
02034                                   "DCM_GetElementSize");
02035 
02036     elementItem = (void *)LST_Head(&groupItem->elementList);
02037     if (elementItem == NULL)
02038         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
02039                            DCM_Message(DCM_ELEMENTNOTFOUND), group, element,
02040                                   "DCM_GetElementSize");
02041 
02042     (void) LST_Position(&groupItem->elementList, (void *)elementItem);
02043 
02044     flag = FALSE;
02045     while ((elementItem != NULL) && (flag == FALSE)) {
02046         if (elementItem->element.tag == tag)
02047             flag = TRUE;
02048         else
02049             elementItem = (void *)LST_Next(&groupItem->elementList);
02050     }
02051 
02052     if (flag == FALSE)
02053         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
02054                            DCM_Message(DCM_ELEMENTNOTFOUND), group, element,
02055                                   "DCM_GetElementSize");
02056 
02057 
02058     *rtnLength = elementItem->element.length;
02059     return DCM_NORMAL;
02060 }
 | 
| 
 | ||||||||||||||||||||
| 
 Definition at line 1652 of file l_mri_dicom_hdr.c. References PRV_ELEMENT_ITEM::byteOrder, BYTEORDER_REVERSE, checkObject(), COND_PushCondition(), CONDITION, DCM_ELEMENT::d, PRV_ELEMENT_ITEM::dataOffset, DCM_AT, DCM_CANNOTGETSEQUENCEVALUE, DCM_ELEMENTNOTFOUND, DCM_FILEACCESSERROR, DCM_GETINCOMPLETE, DCM_ILLEGALCONTEXT, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_SQ, DCM_TAG_ELEMENT, DCM_TAG_GROUP, PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, PRV_GROUP_ITEM::group, l, DCM_ELEMENT::length, LST_Head(), LST_Next(), LST_Position(), MIN, object, p, q, read(), DCM_ELEMENT::representation, swapATGroupElement(), swapInPlace(), DCM_ELEMENT::tag, and U32. Referenced by DCM_ParseObject(), and readLengthToEnd(). 
 01654 {
01655     PRIVATE_OBJECT
01656         ** object;
01657     PRV_GROUP_ITEM
01658         * groupItem;
01659     PRV_ELEMENT_ITEM
01660         * elementItem;
01661     int
01662         nBytes;
01663     CONDITION
01664         cond;
01665 
01666     object = (PRIVATE_OBJECT **) callerObject;
01667     cond = checkObject(object, "DCM_GetElementValue");
01668     if (cond != DCM_NORMAL)
01669         return cond;
01670 
01671     groupItem = (void *)LST_Head(&(*object)->groupList);
01672     if (groupItem == NULL)
01673         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
01674               DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(element->tag),
01675                                   DCM_TAG_ELEMENT(element->tag),
01676                                   "DCM_GetElementValue");
01677 
01678     (void) LST_Position(&(*object)->groupList, (void *)groupItem);
01679     while (groupItem != NULL) {
01680         if (groupItem->group == DCM_TAG_GROUP(element->tag))
01681             break;
01682 
01683         groupItem = (void *)LST_Next(&(*object)->groupList);
01684     }
01685     if (groupItem == NULL)
01686         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
01687               DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(element->tag),
01688                                   DCM_TAG_ELEMENT(element->tag),
01689                                   "DCM_GetElementValue");
01690 
01691     elementItem = (void *)LST_Head(&groupItem->elementList);
01692     if (elementItem == NULL)
01693         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
01694               DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(element->tag),
01695                                   DCM_TAG_GROUP(element->tag),
01696                                   "DCM_GetElementValue");
01697 
01698     (void) LST_Position(&groupItem->elementList, (void *)elementItem);
01699     while (elementItem != NULL) {
01700         if (elementItem->element.tag == element->tag) {
01701             unsigned char *p;
01702             U32 l;
01703 
01704             if (element->representation == DCM_SQ)
01705                 return COND_PushCondition(DCM_CANNOTGETSEQUENCEVALUE,
01706                                     DCM_Message(DCM_CANNOTGETSEQUENCEVALUE),
01707                                        element->tag, "DCM_GetElementValue");
01708 
01709             p = *ctx;
01710             if ((U32) p > elementItem->element.length)
01711                 return COND_PushCondition(DCM_ILLEGALCONTEXT,
01712                                           DCM_Message(DCM_ILLEGALCONTEXT),
01713                                           "DCM_GetElementValue");
01714 
01715             l = MIN(element->length, (elementItem->element.length - (U32) p));
01716 
01717             *rtnLength = l;
01718             {
01719                 if (elementItem->element.d.ot == NULL) {
01720                     if ((*object)->fd != -1) {
01721                         (void) lseek((*object)->fd,
01722                              elementItem->dataOffset + (off_t) p, SEEK_SET);
01723                         nBytes = read((*object)->fd, element->d.ot, (int) l);
01724                     } else {
01725                         (*object)->sk((*object)->userCtx,
01726                                       (long) (elementItem->dataOffset + (off_t) p), SEEK_SET);
01727                         cond = (*object)->rd((*object)->userCtx, element->d.ot, l,
01728                                              &nBytes);
01729                     }
01730                     if ((unsigned) nBytes != l) {
01731                         return COND_PushCondition(DCM_FILEACCESSERROR,
01732                                            DCM_Message(DCM_FILEACCESSERROR),
01733                                                   (*object)->fileName,
01734                                                   "DCM_GetElementValue");
01735                     }
01736                     if( LITTLE_ENDIAN_ARCHITECTURE ){
01737                       if (elementItem->element.representation == DCM_AT) {
01738                           DCM_ELEMENT e;
01739                           e = elementItem->element;
01740                           e.length = l;
01741                           e.d.ot = element->d.ot;
01742                           swapATGroupElement(&e);
01743                       }
01744                     }
01745                     if (elementItem->byteOrder == BYTEORDER_REVERSE) {
01746                         DCM_ELEMENT e;
01747                         e = elementItem->element;
01748                         e.length = l;
01749                         e.d.ot = element->d.ot;
01750                         swapInPlace(object, &e);
01751                     }
01752                 } else {
01753                     unsigned char *q;
01754                     q = (unsigned char *) elementItem->element.d.ot +
01755                         (U32) p;
01756                     (void) memcpy(element->d.ot, q, l);
01757                     if (elementItem->byteOrder == BYTEORDER_REVERSE) {
01758                         DCM_ELEMENT e;
01759                         e = elementItem->element;
01760                         e.length = l;
01761                         e.d.ot = element->d.ot;
01762                         swapInPlace(object, &e);
01763                     }
01764                 }
01765                 p += l;
01766                 *ctx = (void *) p;
01767                 if ((unsigned) p == elementItem->element.length)
01768                     return DCM_NORMAL;
01769                 else
01770                     return DCM_GETINCOMPLETE;
01771             }
01772 
01773         }
01774         elementItem = (void *)LST_Next(&groupItem->elementList);
01775     }
01776     return COND_PushCondition(DCM_ELEMENTNOTFOUND,
01777               DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(element->tag),
01778                               DCM_TAG_ELEMENT(element->tag),
01779                               "DCM_GetElementValue");
01780 }
 | 
| 
 | ||||||||||||||||||||||||
| 
 Definition at line 3199 of file l_mri_dicom_hdr.c. References checkObject(), COND_PushCondition(), CONDITION, CTN_MALLOC, CTNBOOLEAN, DCM_ELEMENT::d, DCM_DELIMITOR, DCM_ELEMENTNOTFOUND, DCM_IsString(), DCM_LISTFAILURE, DCM_MALLOCFAILURE, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_TAG, DCM_TAG_ELEMENT, DCM_TAG_GROUP, DCM_UNEXPECTEDREPRESENTATION, PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, PRV_GROUP_ITEM::group, l, DCM_ELEMENT::length, LST_Enqueue(), LST_Head(), LST_Next(), LST_NORMAL, LST_Position(), object, p, DCM_ELEMENT::representation, DCM_ELEMENT::tag, and U32. 
 03201 {
03202     PRIVATE_OBJECT
03203         ** obj;
03204     CONDITION
03205         cond;
03206     PRV_GROUP_ITEM
03207         * groupItem;
03208     PRV_ELEMENT_ITEM
03209         * elementItem;
03210     CTNBOOLEAN
03211         found = FALSE;
03212     char
03213        *src,
03214        *dst,
03215        *p;
03216     U32
03217         l;
03218 
03219     obj = (PRIVATE_OBJECT **) object;
03220     cond = checkObject(obj, "DCM_GetSequenceList");
03221     if (cond != DCM_NORMAL)
03222         return cond;
03223 
03224     groupItem = (void *)LST_Head(&(*obj)->groupList);
03225     if (groupItem == NULL)
03226         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
03227                        DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(tag),
03228                                   DCM_TAG_ELEMENT(tag),
03229                                   "DCM_GetSequenceList");
03230 
03231     (void) LST_Position(&(*obj)->groupList, (void *)groupItem);
03232     while (groupItem != NULL) {
03233         if (groupItem->group == DCM_TAG_GROUP(tag))
03234             break;
03235 
03236         groupItem = (void *)LST_Next(&(*obj)->groupList);
03237     }
03238     if (groupItem == NULL)
03239         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
03240                        DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(tag),
03241                                   DCM_TAG_ELEMENT(tag),
03242                                   "DCM_GetSequenceList");
03243 
03244     elementItem = (void *)LST_Head(&groupItem->elementList);
03245     if (elementItem == NULL)
03246         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
03247                        DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(tag),
03248                                   DCM_TAG_GROUP(tag),
03249                                   "DCM_GetSequenceTag");
03250 
03251     (void) LST_Position(&groupItem->elementList, (void *)elementItem);
03252     while (!found && (elementItem != NULL)) {
03253         if (elementItem->element.tag == tag) {
03254             found = TRUE;
03255         } else
03256             elementItem = (void *)LST_Next(&groupItem->elementList);
03257     }
03258     if (!found)
03259         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
03260                        DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(tag),
03261                                   DCM_TAG_ELEMENT(tag),
03262                                   "DCM_GetElementValueList");
03263 
03264     if (!DCM_IsString(elementItem->element.representation)) {
03265         return COND_PushCondition(DCM_UNEXPECTEDREPRESENTATION,
03266         DCM_Message(DCM_UNEXPECTEDREPRESENTATION), "DCM_GetElementValueList",
03267                                   "string");
03268     }
03269     src = elementItem->element.d.string;
03270     l = elementItem->element.length;
03271     while (l > 0) {
03272         while (l > 1 && (*src == ' ' || *src == DCM_DELIMITOR)) {
03273             l--;
03274             src++;
03275         }
03276         if ((l == 1) && (*src == ' ' || *src == DCM_DELIMITOR))
03277             l--;
03278 
03279         if (l != 0) {
03280             p = CTN_MALLOC(structureSize);
03281             if (p == NULL)
03282                 return COND_PushCondition(DCM_MALLOCFAILURE,
03283                               DCM_Message(DCM_MALLOCFAILURE), structureSize,
03284                                           "DCM_GetElementValueList");
03285             dst = p + stringOffset;
03286             while ((l > 1) && (*src != DCM_DELIMITOR)) {
03287                 *dst++ = *src++;
03288                 l--;
03289             }
03290             if ((l == 1) && (*src != ' ')) {
03291                 *dst++ = *src++;
03292                 l--;
03293             }
03294             *dst = '\0';;
03295             cond = LST_Enqueue(list, (void *)p);
03296             if (cond != LST_NORMAL)
03297                 return COND_PushCondition(DCM_LISTFAILURE,
03298                    DCM_Message(DCM_LISTFAILURE), "DCM_GetElementValueList");
03299         }
03300     }
03301     return DCM_NORMAL;
03302 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 1867 of file l_mri_dicom_hdr.c. References PRV_ELEMENT_ITEM::byteOrder, BYTEORDER_REVERSE, checkObject(), COND_PushCondition(), CONDITION, DCM_ELEMENT::d, PRV_ELEMENT_ITEM::dataOffset, DCM_AT, DCM_BADLENGTH, DCM_BADOFFSET, DCM_CANNOTGETSEQUENCEVALUE, DCM_ELEMENTNOTFOUND, DCM_FILEACCESSERROR, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_SQ, DCM_TAG_ELEMENT, DCM_TAG_GROUP, PRV_ELEMENT_ITEM::element, l, DCM_ELEMENT::length, locateElement(), object, offset, p, q, read(), DCM_ELEMENT::representation, swapATGroupElement(), swapInPlace(), DCM_ELEMENT::tag, and U32. 
 01869 {
01870     PRIVATE_OBJECT **object;
01871     PRV_ELEMENT_ITEM *elementItem;
01872     int nBytes;
01873     CONDITION cond;
01874 
01875     object = (PRIVATE_OBJECT **) callerObject;
01876     cond = checkObject(object, "DCM_GetElementValue");
01877     if (cond != DCM_NORMAL)
01878         return cond;
01879 
01880     elementItem = locateElement(object, element->tag);
01881     if (elementItem == NULL)
01882         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
01883               DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(element->tag),
01884                                   DCM_TAG_ELEMENT(element->tag),
01885                                   "DCM_GetElementValueOffset");
01886 
01887 
01888     {
01889         unsigned char *p;
01890         U32 l;
01891 
01892         if (element->representation == DCM_SQ)
01893             return COND_PushCondition(DCM_CANNOTGETSEQUENCEVALUE,
01894                                     DCM_Message(DCM_CANNOTGETSEQUENCEVALUE),
01895                                  element->tag, "DCM_GetElementValueOffset");
01896 
01897         p = (unsigned char *) offset;;
01898         if ((U32) p > elementItem->element.length)
01899             return COND_PushCondition(DCM_BADOFFSET,
01900                                       DCM_Message(DCM_BADOFFSET),
01901                                       (int) offset,
01902                                       (int) elementItem->element.length,
01903                                       "DCM_GetElementValueLength");
01904 
01905         l = element->length;
01906         if (l + offset > elementItem->element.length) {
01907             return COND_PushCondition(DCM_BADLENGTH,
01908                                       DCM_Message(DCM_BADLENGTH),
01909                                       (int) offset, (int) l,
01910                                       (int) elementItem->element.length,
01911                                       "DCM_GetElementValueLength");
01912         } {
01913             if (elementItem->element.d.ot == NULL) {
01914                 if ((*object)->fd != -1) {
01915                     (void) lseek((*object)->fd,
01916                              elementItem->dataOffset + (off_t) p, SEEK_SET);
01917                     nBytes = read((*object)->fd, element->d.ot, (int) l);
01918                 } else {
01919                     (*object)->sk((*object)->userCtx,
01920                     (long) (elementItem->dataOffset + (off_t) p), SEEK_SET);
01921                     cond = (*object)->rd((*object)->userCtx, element->d.ot, l,
01922                                          &nBytes);
01923                 }
01924                 if ((unsigned) nBytes != l) {
01925                     return COND_PushCondition(DCM_FILEACCESSERROR,
01926                                            DCM_Message(DCM_FILEACCESSERROR),
01927                                               (*object)->fileName,
01928                                               "DCM_GetElementValueValue");
01929                 }
01930                 if( LITTLE_ENDIAN_ARCHITECTURE ){
01931                   if (elementItem->element.representation == DCM_AT) {
01932                       DCM_ELEMENT e;
01933                       e = elementItem->element;
01934                       e.length = l;
01935                       e.d.ot = element->d.ot;
01936                       swapATGroupElement(&e);
01937                   }
01938                 }
01939                 if (elementItem->byteOrder == BYTEORDER_REVERSE) {
01940                     DCM_ELEMENT e;
01941                     e = elementItem->element;
01942                     e.length = l;
01943                     e.d.ot = element->d.ot;
01944                     swapInPlace(object, &e);
01945                 }
01946             } else {
01947                 unsigned char *q;
01948                 q = (unsigned char *) elementItem->element.d.ot +
01949                     (U32) p;
01950                 (void) memcpy(element->d.ot, q, l);
01951                 if (elementItem->byteOrder == BYTEORDER_REVERSE) {
01952                     DCM_ELEMENT e;
01953                     e = elementItem->element;
01954                     e.length = l;
01955                     e.d.ot = element->d.ot;
01956                     swapInPlace(object, &e);
01957                 }
01958             }
01959             return DCM_NORMAL;
01960         }
01961 
01962     }
01963 }
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||
| dst = (DCM_OBJECT *) dstObj; Definition at line 8048 of file l_mri_dicom_hdr.c. References checkObject(), CONDITION, DCM_EMPTYOBJECT, DCM_GetNextElement(), DCM_NORMAL, DCM_OBJECT, PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, LST_Head(), LST_Position(), and object. 
 08049 {
08050   PRIVATE_OBJECT** object;
08051   PRV_GROUP_ITEM* groupItem;
08052   PRV_ELEMENT_ITEM* elementItem;
08053   CONDITION cond;
08054 
08055   object = (PRIVATE_OBJECT **) callerObject;
08056   cond = checkObject(object, "DCM_GetFirstElement");
08057   if (cond != DCM_NORMAL)
08058     return cond;
08059 
08060   groupItem = (void *)LST_Head(&(*object)->groupList);
08061 
08062   if (groupItem == NULL) {
08063     *e = 0;
08064     return DCM_EMPTYOBJECT;
08065   }
08066   (void) LST_Position(&(*object)->groupList, (void *)groupItem);
08067   (*object)->groupCtx = groupItem;
08068 
08069   elementItem = (void *)LST_Head(&groupItem->elementList);
08070   (*object)->elementCtx = elementItem;
08071   if (elementItem == NULL) {
08072     return DCM_GetNextElement(callerObject, e);
08073   }
08074 
08075   *e = &elementItem->element;
08076   return DCM_NORMAL;
08077 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 8080 of file l_mri_dicom_hdr.c. References checkObject(), CONDITION, DCM_GETNEXTELEMENTCOMPLETE, DCM_NORMAL, DCM_OBJECT, PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, LST_Head(), LST_Next(), LST_Position(), and object. Referenced by DCM_GetFirstElement(), and DCM_GetNextElement(). 
 08081 {
08082   PRIVATE_OBJECT** object;
08083   PRV_GROUP_ITEM* groupItem;
08084   PRV_ELEMENT_ITEM* elementItem;
08085   CONDITION cond;
08086 
08087   object = (PRIVATE_OBJECT **) callerObject;
08088   cond = checkObject(object, "DCM_GetNextElement");
08089   if (cond != DCM_NORMAL)
08090     return cond;
08091 
08092   groupItem = (*object)->groupCtx;
08093   elementItem = (*object)->elementCtx;
08094 
08095   if (elementItem != 0) {
08096     (void)LST_Position(&groupItem->elementList, (void *)elementItem);
08097     elementItem = (PRV_ELEMENT_ITEM*)LST_Next(&groupItem->elementList);
08098   }
08099 
08100   if (elementItem == 0) {
08101     (void)LST_Position(&(*object)->groupList, (void *)groupItem);
08102     groupItem = (PRV_GROUP_ITEM*)LST_Next(&(*object)->groupList);
08103     if (groupItem != 0) {
08104       elementItem = (PRV_ELEMENT_ITEM*)LST_Head(&groupItem->elementList);
08105     }
08106   }
08107 
08108   if (groupItem == 0) {
08109     *e = 0;
08110     return DCM_GETNEXTELEMENTCOMPLETE;
08111   }
08112 
08113   (*object)->groupCtx = groupItem;
08114   (*object)->elementCtx = elementItem;
08115 
08116   if (elementItem == 0)
08117     return DCM_GetNextElement(callerObject, e);
08118 
08119   *e = &elementItem->element;
08120   return DCM_NORMAL;
08121 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 2243 of file l_mri_dicom_hdr.c. References checkObject(), CONDITION, DCM_NORMAL, DCM_OBJECT, and object. 
 02244 {
02245     PRIVATE_OBJECT
02246         ** object;
02247     CONDITION
02248         cond;
02249 
02250     object = (PRIVATE_OBJECT **) callerObject;
02251     cond = checkObject(object, "DCM_GetObjectSize");
02252     if (cond != DCM_NORMAL)
02253         return cond;
02254 
02255     *returnlength = (*object)->objectSize;
02256     return DCM_NORMAL;
02257 }
 | 
| 
 | ||||||||||||||||||||
| 
 Definition at line 7881 of file l_mri_dicom_hdr.c. References checkObject(), COND_PushCondition(), CONDITION, DCM_ELEMENT::d, DCM_ELEMENTNOTFOUND, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_TAG, DCM_TAG_ELEMENT, DCM_TAG_GROUP, PRV_ELEMENT_ITEM::element, locateElement(), LST_Head(), LST_Next(), LST_Position(), object, DCM_SEQUENCE_ITEM::object, offset, and PRIVATE_OBJECT::offset. 
 07883 {
07884     PRIVATE_OBJECT **obj,
07885        *sqObject;
07886     CONDITION cond;
07887     PRV_ELEMENT_ITEM *elementItem;
07888     LST_HEAD *lst;
07889     DCM_SEQUENCE_ITEM *sqItem;
07890 
07891     obj = (PRIVATE_OBJECT **) object;
07892     cond = checkObject(obj, "DCM_PrintSequenceList");
07893     if (cond != DCM_NORMAL)
07894         return cond;
07895 
07896     elementItem = locateElement(obj, tag);
07897 
07898     if (elementItem == NULL)
07899         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
07900                        DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(tag),
07901                                   DCM_TAG_ELEMENT(tag),
07902                                   "DCM_PrintSequenceList");
07903 
07904     lst = elementItem->element.d.sq;
07905     sqItem = (void *)LST_Head(&lst);
07906     (void) LST_Position(&lst, (void *)sqItem);
07907     while (sqItem != NULL) {
07908         sqObject = (PRIVATE_OBJECT *) sqItem->object;
07909         if (sqObject->offset == offset) {
07910             *rtnObject = sqItem->object;
07911             return DCM_NORMAL;
07912         }
07913         sqItem = (void *)LST_Next(&lst);
07914     }
07915     return 0;
07916 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 3140 of file l_mri_dicom_hdr.c. References checkObject(), COND_PushCondition(), CONDITION, CTNBOOLEAN, DCM_ELEMENT::d, DCM_ELEMENTNOTFOUND, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_ParseObject(), DCM_SQ, DCM_TAG, DCM_TAG_ELEMENT, DCM_TAG_GROUP, DCM_UNEXPECTEDREPRESENTATION, PRV_ELEMENT_ITEM::element, locateElement(), LST_Head(), object, DCM_SEQUENCE_ITEM::object, DCM_ELEMENT::representation, and top. 
 03141 {
03142     PRIVATE_OBJECT **obj;
03143     CONDITION cond;
03144     PRV_GROUP_ITEM *groupItem;
03145     PRV_ELEMENT_ITEM *elementItem;
03146     DCM_SEQUENCE_ITEM *seqItem;
03147 
03148     CTNBOOLEAN found = FALSE;
03149 
03150     obj = (PRIVATE_OBJECT **) object;
03151     cond = checkObject(obj, "DCM_GetSequenceElement");
03152     if (cond != DCM_NORMAL)
03153         return cond;
03154 
03155     elementItem = locateElement(obj, top);
03156     if (elementItem == NULL) {
03157         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
03158                                   DCM_Message(DCM_ELEMENTNOTFOUND),
03159                                   DCM_TAG_GROUP(top),
03160                                   DCM_TAG_ELEMENT(top),
03161                                   "DCM_GetElementSequence");
03162     }
03163     if (elementItem->element.representation != DCM_SQ) {
03164         return COND_PushCondition(DCM_UNEXPECTEDREPRESENTATION,
03165                                   DCM_Message(DCM_UNEXPECTEDREPRESENTATION),
03166                                   "DCM_GetSequenceElement", "sequence");
03167     }
03168     seqItem = (void *)LST_Head(&elementItem->element.d.sq);
03169     cond = DCM_ParseObject(&seqItem->object, e, 1, NULL, 0, NULL);
03170     return cond;
03171 
03172 #if 0
03173     return DCM_NORMAL;
03174 #endif
03175 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 3077 of file l_mri_dicom_hdr.c. References checkObject(), COND_PushCondition(), CONDITION, CTNBOOLEAN, DCM_ELEMENT::d, DCM_ELEMENTNOTFOUND, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_TAG, DCM_TAG_ELEMENT, DCM_TAG_GROUP, PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, PRV_GROUP_ITEM::group, LST_Head(), LST_Next(), LST_Position(), object, and DCM_ELEMENT::tag. 
 03078 {
03079     PRIVATE_OBJECT
03080         ** obj;
03081     CONDITION
03082         cond;
03083     PRV_GROUP_ITEM
03084         * groupItem;
03085     PRV_ELEMENT_ITEM
03086         * elementItem;
03087     CTNBOOLEAN
03088         found = FALSE;
03089 
03090     obj = (PRIVATE_OBJECT **) object;
03091     cond = checkObject(obj, "DCM_GetSequenceList");
03092     if (cond != DCM_NORMAL)
03093         return cond;
03094 
03095     groupItem = (void *)LST_Head(&(*obj)->groupList);
03096     if (groupItem == NULL)
03097         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
03098                        DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(tag),
03099                                   DCM_TAG_ELEMENT(tag),
03100                                   "DCM_GetSequenceList");
03101 
03102     (void) LST_Position(&(*obj)->groupList, (void *)groupItem);
03103     while (groupItem != NULL) {
03104         if (groupItem->group == DCM_TAG_GROUP(tag))
03105             break;
03106 
03107         groupItem = (void *)LST_Next(&(*obj)->groupList);
03108     }
03109     if (groupItem == NULL)
03110         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
03111                        DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(tag),
03112                                   DCM_TAG_ELEMENT(tag),
03113                                   "DCM_GetSequenceList");
03114 
03115     elementItem = (void *)LST_Head(&groupItem->elementList);
03116     if (elementItem == NULL)
03117         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
03118                        DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(tag),
03119                                   DCM_TAG_GROUP(tag),
03120                                   "DCM_GetSequenceTag");
03121 
03122     (void) LST_Position(&groupItem->elementList, (void *)elementItem);
03123     while (!found && (elementItem != NULL)) {
03124         if (elementItem->element.tag == tag) {
03125             *list = elementItem->element.d.sq;
03126             found = TRUE;
03127         }
03128         elementItem = (void *)LST_Next(&groupItem->elementList);
03129     }
03130     if (found)
03131         return DCM_NORMAL;
03132     else
03133         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
03134                        DCM_Message(DCM_ELEMENTNOTFOUND), DCM_TAG_GROUP(tag),
03135                                   DCM_TAG_ELEMENT(tag),
03136                                   "DCM_GetSequenceList");
03137 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 1783 of file l_mri_dicom_hdr.c. References AFMALL, COND_PopCondition(), CONDITION, DCM_ELEMENT::d, DCM_AT, DCM_CTX, DCM_DLM, DCM_FD, DCM_FL, DCM_GetElement(), DCM_IsString(), DCM_NORMAL, DCM_OB, DCM_OBJECT, DCM_OW, DCM_ParseObject(), DCM_RET, DCM_SL, DCM_SQ, DCM_SS, DCM_TAG, DCM_UL, DCM_UN, DCM_US, free, DCM_ELEMENT::length, malloc, DCM_ELEMENT::representation, and DCM_ELEMENT::tag. 
 01784 {
01785   DCM_ELEMENT e;
01786   CONDITION cond;
01787   char* s;
01788   char tmp[64] = "";
01789   char b[64] = "";
01790 
01791   e.tag = tag;
01792   cond = DCM_GetElement(callerObject, tag, &e);
01793   if (cond != DCM_NORMAL) {
01794     COND_PopCondition(TRUE);
01795     return 0;
01796   }
01797 
01798   if (DCM_IsString(e.representation)) {
01799     s = AFMALL( char, e.length + 1);
01800     e.d.string = s;
01801     cond = DCM_ParseObject(callerObject, &e, 1, 0, 0, 0);
01802     if (cond != DCM_NORMAL) {
01803       free(s);
01804       s = 0;
01805     }
01806     return s;
01807   }
01808 
01809   if (e.representation == DCM_SQ) {
01810     return 0;
01811   }
01812 
01813   if (e.length > sizeof(b))
01814     return 0;
01815 
01816   e.d.ot = b;
01817   cond = DCM_ParseObject(callerObject, &e, 1, 0, 0, 0);
01818   if (cond != DCM_NORMAL) {
01819     COND_PopCondition(TRUE);
01820     return 0;
01821   }
01822 
01823   switch (e.representation) {
01824     case DCM_AT:
01825     case DCM_FD:
01826     case DCM_FL:
01827       strcpy(tmp, "<Unimplemented>");
01828       break;
01829     case DCM_SL:
01830       sprintf(tmp, "%d", *e.d.sl);
01831       break;
01832     case DCM_SQ:
01833       strcpy(tmp, "<Unimplemented>");
01834       break;
01835     case DCM_SS:
01836       sprintf(tmp, "%d", *e.d.ss);
01837       break;
01838     case DCM_UL:
01839       sprintf(tmp, "%d", *e.d.ul);
01840       break;
01841     case DCM_UN:
01842       strcpy(tmp, "<Unimplemented>");
01843       break;
01844     case DCM_US:
01845       sprintf(tmp, "%d", *e.d.us);
01846       break;
01847     /*case DCM_UNKNOWN:*/
01848     case DCM_RET:
01849     case DCM_CTX:
01850     case DCM_OB:
01851     case DCM_OW:
01852     case DCM_DLM:
01853     default:
01854       strcpy(tmp, "<Unimplemented>");
01855       break;
01856   }
01857 
01858   s = (char*) malloc(strlen(tmp) + 1);
01859   strcpy(s, tmp);
01860 
01861   return s;
01862 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 10385 of file l_mri_dicom_hdr.c. References DCM_NORMAL, DIM_OF, and i. 
 10387 {
10388     int i;
10389 
10390     for (i = 0; i < (int) DIM_OF(groupTable); i++) {
10391         if ((group == 0xffff) || (group == groupTable[i].group)) {
10392             callback(groupTable[i].group, groupTable[i].description, ctx);
10393         }
10394     }
10395     return DCM_NORMAL;
10396 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 3489 of file l_mri_dicom_hdr.c. References checkObject(), CONDITION, CTNBOOLEAN, DCM_NORMAL, DCM_OBJECT, PRV_GROUP_ITEM::group, LST_Head(), LST_Next(), LST_Position(), object, and U16. 
 03490 {
03491     PRIVATE_OBJECT **object;
03492     PRV_GROUP_ITEM * item;
03493     CONDITION cond;
03494     CTNBOOLEAN tooFar = FALSE;
03495 
03496     object = (PRIVATE_OBJECT **) o1;
03497     cond = checkObject(object, "DCM_CompareAttributes");
03498     if (cond != DCM_NORMAL)
03499         return FALSE;
03500 
03501 
03502     item = (void *)LST_Head(&(*object)->groupList);
03503     if (item != NULL)
03504         (void) LST_Position(&(*object)->groupList, (void *)item);
03505 
03506     while (item != NULL && !tooFar) {
03507         if (item->group == group) {
03508             return TRUE;
03509         } else if (item->group > group) {
03510             tooFar = TRUE;
03511         } else {
03512             item = (void *)LST_Next(&(*object)->groupList);
03513         }
03514     }
03515     return FALSE;
03516 }
 | 
| 
 | ||||||||||||||||||||
| 
 Definition at line 2204 of file l_mri_dicom_hdr.c. References COND_PushCondition(), DCM_ILLEGALOPTION, DCM_Message(), DCM_OBJECT, DCM_ORDERMASK, and readFile(). Referenced by readLengthToEnd(). 
 02206 {
02207 #ifdef DEBUG
02208     if (debug)
02209         (void) fprintf(stderr, "DCM_ImportStream, %ld bytes\n", length);
02210 #endif
02211 
02212     if ((opt & DCM_ORDERMASK) == 0)
02213         return COND_PushCondition(DCM_ILLEGALOPTION,
02214                                DCM_Message(DCM_ILLEGALOPTION), "Byte order",
02215                                   "DCM_ImportStream");
02216 
02217     return readFile("", buf, -1, length, 0, 0, opt, callerObject, NULL, NULL,
02218                     NULL, NULL, NULL);
02219 }
 | 
| 
 | 
| 
 Definition at line 10612 of file l_mri_dicom_hdr.c. References CTNBOOLEAN, DCM_AE, DCM_AS, DCM_AT, DCM_CS, DCM_CTX, DCM_DA, DCM_DD, DCM_DS, DCM_DT, DCM_FD, DCM_FL, DCM_IS, DCM_LO, DCM_LT, DCM_OB, DCM_OT, DCM_OW, DCM_PN, DCM_RET, DCM_SH, DCM_SL, DCM_SQ, DCM_SS, DCM_ST, DCM_TM, DCM_UI, DCM_UL, DCM_US, DCM_UT, and DCM_VALUEREPRESENTATION. Referenced by DCM_GetElementValueList(), DCM_GetString(), DCM_ModifyElements(), DCM_ParseObject(), and DCM_ScanParseObject(). 
 10613 {
10614     CTNBOOLEAN
10615         flag = FALSE;
10616 
10617     switch (representation) {
10618     case DCM_AE:                /* Application Entity */
10619     case DCM_AS:                /* Age string */
10620         flag = TRUE;
10621         break;
10622     case DCM_AT:                /* Attribute tag */
10623         break;
10624     case DCM_CS:                /* Control string */
10625     case DCM_DA:                /* Date */
10626         flag = TRUE;
10627         break;
10628     case DCM_DD:                /* Data set */
10629         break;
10630     case DCM_DS:                /* Decimal string */
10631     case DCM_DT:                /* Old date/time */
10632         flag = TRUE;
10633         break;
10634     case DCM_FD:                /* Floating double */
10635     case DCM_FL:                /* Float */
10636         break;
10637     case DCM_IS:                /* Integer string */
10638     case DCM_LO:                /* Long string */
10639     case DCM_LT:                /* Long text */
10640         flag = TRUE;
10641         break;
10642     case DCM_OB:                /* Other binary value (byte) */
10643     case DCM_OT:                /* Other binary value */
10644     case DCM_OW:                /* Other binary value (word) */
10645         break;
10646     case DCM_SH:                /* Short string */
10647         flag = TRUE;
10648         break;
10649     case DCM_SL:                /* Signed long */
10650     case DCM_SQ:                /* Sequence of items */
10651     case DCM_SS:                /* Signed short */
10652         break;
10653     case DCM_ST:                /* Short text */
10654     case DCM_TM:                /* Time */
10655         flag = TRUE;
10656         break;
10657     case DCM_UL:                /* Unsigned long */
10658     case DCM_US:                /* Unsigned short */
10659     /*case DCM_UNKNOWN:*/       /* Unknown/unspecified */
10660     case DCM_RET:               /* Retired */
10661     case DCM_CTX:               /* Context sensitive */
10662         break;
10663     case DCM_PN:                /* Person Name */
10664     case DCM_UI:                /* Unique identifier (UID) */
10665     case DCM_UT:                /* Unlimited Text */
10666         flag = TRUE;
10667         break;
10668     };
10669     return flag;
10670 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 10540 of file l_mri_dicom_hdr.c. References c, COND_PushCondition(), CTN_MALLOC, DCM_LISTFAILURE, DCM_MALLOCFAILURE, DCM_Message(), DCM_NORMAL, LST_Head(), LST_Next(), LST_Position(), offset, and p. Referenced by DCM_AddElementList(). 
 10541 {
10542     GENERIC
10543         * g;
10544     char
10545        *c,
10546        *p;
10547     long
10548         length;
10549 
10550     *string = NULL;
10551     if (list == NULL)
10552         return DCM_NORMAL;
10553 
10554     g = (void *)LST_Head(&list);
10555     if (g == NULL)
10556         return DCM_NORMAL;
10557 
10558     (void) LST_Position(&list, (void *)g);
10559 
10560     length = 0;
10561     while (g != NULL) {
10562         c = ((char *) g) + offset;
10563         length += strlen(c) + 1;
10564         g = (void *)LST_Next(&list);
10565     }
10566 
10567     p = CTN_MALLOC(length);
10568     if (p == NULL)
10569         return COND_PushCondition(DCM_MALLOCFAILURE,
10570                 DCM_Message(DCM_MALLOCFAILURE), length, "DCM_ListToString");
10571 
10572     *string = p;
10573     g = (void *)LST_Head(&list);
10574     if (g == NULL)
10575         return COND_PushCondition(DCM_LISTFAILURE, DCM_Message(DCM_LISTFAILURE),
10576                                   "DCM_ListToString");
10577     (void) LST_Position(&list, (void *)g);
10578 
10579     length = 0;
10580     while (g != NULL) {
10581         c = ((char *) g) + offset;
10582         length = strlen(c);
10583         (void) memcpy(p, c, length);
10584         p += length;
10585         *p++ = '\\';
10586         g = (void *)LST_Next(&list);
10587     }
10588     *--p = '\0';
10589     return DCM_NORMAL;
10590 }
 | 
| 
 | 
| 
 Definition at line 10257 of file l_mri_dicom_hdr.c. References COND_PushCondition(), DCM_Message(), DCM_NORMAL, DCM_TAG_ELEMENT, DCM_TAG_GROUP, DCM_UL, DCM_UN, DCM_UNRECOGNIZEDELEMENT, DCM_UNRECOGNIZEDGROUP, DCM_ELEMENT::description, GROUPPTR::dict, DCMDICT::englishDescription, GROUPPTR::entries, GROUPPTR::group, p, DCM_ELEMENT::representation, DCMDICT::representation, DCM_ELEMENT::tag, and DCMDICT::tag. Referenced by DCM_AddElement(), DCM_AddSequenceElement(), readFile(), and readGroupElement(). 
 10258 {
10259     int
10260         found;
10261     unsigned long
10262         index,
10263         entries;
10264     GROUPPTR
10265         * p;
10266     DCMDICT
10267         * dictionaryPtr;
10268 
10269     element->representation = DCM_UN;
10270     (void) strcpy(element->description, "");
10271 
10272     for (index = 0, p = NULL;
10273          index < sizeof(group_dictionary) / sizeof(group_dictionary[0]) && p == NULL;
10274          index++)
10275         if (DCM_TAG_GROUP(element->tag) == group_dictionary[index].group)
10276             p = &group_dictionary[index];
10277 
10278     if (p == NULL) {
10279         if (DCM_TAG_ELEMENT(element->tag) == 0x0000) {
10280             element->representation = DCM_UL;
10281             (void) strcpy(element->description, "Unknown group length");
10282             return DCM_NORMAL;
10283         }
10284         return COND_PushCondition(DCM_UNRECOGNIZEDGROUP,
10285                                   DCM_Message(DCM_UNRECOGNIZEDGROUP),
10286                                   DCM_TAG_GROUP(element->tag),
10287                                   "DCM_LookupElement");
10288     }
10289     entries = p->entries;
10290     dictionaryPtr = p->dict;
10291 
10292     for (found = 0; !found && entries > 0; entries--)
10293         if (element->tag == dictionaryPtr->tag)
10294             found++;
10295         else
10296             dictionaryPtr++;
10297 
10298     if (!found)
10299         return COND_PushCondition(DCM_UNRECOGNIZEDELEMENT,
10300                                   DCM_Message(DCM_UNRECOGNIZEDELEMENT),
10301                                   DCM_TAG_GROUP(element->tag),
10302                                   DCM_TAG_ELEMENT(element->tag),
10303                                   "DCM_LookupElement");
10304 
10305 
10306     element->representation = dictionaryPtr->representation;
10307     (void) strcpy(element->description, dictionaryPtr->englishDescription);
10308     return DCM_NORMAL;
10309 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 7999 of file l_mri_dicom_hdr.c. References COND_PushCondition(), copySequence(), DCM_AddElement(), DCM_MALLOCFAILURE, DCM_Message(), DCM_NORMAL, DCM_NULLADDRESS, DCM_OBJECT, DCM_OBJECTCREATEFAILED, DCM_SQ, PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, LST_Head(), LST_Next(), LST_Position(), and DCM_ELEMENT::representation. 
 08000 {
08001     PRIVATE_OBJECT **srcObj;
08002     PRIVATE_OBJECT *dstObj;
08003     PRV_GROUP_ITEM *groupItem;
08004     PRV_ELEMENT_ITEM *elementItem;
08005 
08006     if (src == NULL) {
08007         (void) COND_PushCondition(DCM_NULLADDRESS,
08008                             DCM_Message(DCM_NULLADDRESS), "DCM_MergeObject");
08009         return COND_PushCondition(DCM_OBJECTCREATEFAILED,
08010                      DCM_Message(DCM_OBJECTCREATEFAILED), "DCM_MergeObject");
08011     }
08012     dstObj = *((PRIVATE_OBJECT **)dst);
08013     if (dstObj == NULL) {
08014         (void) COND_PushCondition(DCM_MALLOCFAILURE,
08015                      DCM_Message(DCM_MALLOCFAILURE), sizeof(PRIVATE_OBJECT),
08016                                   "DCM_MergeObject");
08017         *dst = NULL;
08018         return COND_PushCondition(DCM_OBJECTCREATEFAILED,
08019                      DCM_Message(DCM_OBJECTCREATEFAILED), "DCM_MergeObject");
08020     }
08021     srcObj = (PRIVATE_OBJECT **) src;
08022 
08023     groupItem = (void *)LST_Head(&(*srcObj)->groupList);
08024     if (groupItem != NULL)
08025         (void) LST_Position(&(*srcObj)->groupList, (void *)groupItem);
08026 
08027     while (groupItem != NULL) {
08028         elementItem = (void *)LST_Head(&groupItem->elementList);
08029         if (elementItem != NULL)
08030             (void) LST_Position(&groupItem->elementList, (void *)elementItem);
08031         while (elementItem != NULL) {
08032             if (elementItem->element.representation == DCM_SQ) {
08033                 copySequence(&dstObj, &elementItem->element);
08034             } else {
08035                 DCM_AddElement((DCM_OBJECT **) & dstObj, &elementItem->element);
08036             }
08037             elementItem = (void *)LST_Next(&groupItem->elementList);
08038         }
08039         groupItem = (void *)LST_Next(&(*srcObj)->groupList);
08040     }
08041 
08042     /**dst = (DCM_OBJECT *) dstObj;*/
08043     return DCM_NORMAL;
08044 }
 | 
| 
 | 
| 
 | ||||||||||||||||||||||||||||
| 
 Definition at line 2828 of file l_mri_dicom_hdr.c. References c, checkObject(), COND_PopCondition(), CONDITION, DCM_ELEMENT::d, DCM_AddElement(), DCM_IsString(), DCM_NORMAL, DCM_OBJECT, DCM_RemoveElement(), DCM_FLAGGED_ELEMENT::e, DCM_FLAGGED_ELEMENT::flag, DCM_FLAGGED_ELEMENT::flagAddress, DCM_ELEMENT::length, object, DCM_ELEMENT::representation, and DCM_ELEMENT::tag. 
 02831 {
02832     PRIVATE_OBJECT
02833         ** object;
02834     CONDITION
02835         cond;
02836     DCM_ELEMENT
02837         e;
02838     int
02839         c = 0;
02840 
02841     object = (PRIVATE_OBJECT **) callerObject;
02842     cond = checkObject(object, "DCM_ModifyElement");
02843     if (cond != DCM_NORMAL)
02844         return cond;
02845 
02846     while (count-- > 0) {
02847         cond = DCM_RemoveElement(callerObject, vector->tag);
02848         if (cond != DCM_NORMAL)
02849             (void) COND_PopCondition(FALSE);
02850 
02851         e = *vector;
02852         if (DCM_IsString(e.representation))
02853             e.length = strlen(e.d.string);
02854 
02855         cond = DCM_AddElement(callerObject, &e);
02856         if (cond != DCM_NORMAL)
02857             return cond;
02858 
02859         c++;
02860         vector++;
02861     }
02862 
02863     while (flaggedCount-- > 0) {
02864         if ((*(flaggedVector->flagAddress) & flaggedVector->flag) != 0) {
02865             cond = DCM_RemoveElement(callerObject, flaggedVector->e.tag);
02866             if (cond != DCM_NORMAL)
02867                 (void) COND_PopCondition(FALSE);
02868 
02869             e = flaggedVector->e;
02870             if (DCM_IsString(e.representation))
02871                 e.length = strlen(e.d.string);
02872             cond = DCM_AddElement(callerObject, &e);
02873             if (cond != DCM_NORMAL)
02874                 return cond;
02875             c++;
02876         }
02877         flaggedVector++;
02878     }
02879 
02880     if (updateCount != NULL)
02881         *updateCount = c;
02882     return DCM_NORMAL;
02883 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 1002 of file l_mri_dicom_hdr.c. References close(), COND_PushCondition(), CONDITION, CTNBOOLEAN, DCM_DumpElements(), DCM_FILEACCESSERROR, DCM_FILEFORMATMASK, DCM_FILENAMEMASK, DCM_FILEOPENFAILED, DCM_ILLEGALOPTION, DCM_LENGTHTOENDMASK, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_ORDERMASK, DCM_TRYFILENAMECHANGE, DCM_USELENGTHTOEND, ENTRY, fd, fileSize(), name, O_BINARY, readFile(), readFile1(), readLengthToEnd(), remapFileName(), RETURN, rwc_fd, and U32. Referenced by mri_dicom_header(). 
 01003 {
01004     CONDITION cond;
01005     int fd;
01006     off_t fileOffset = 0;
01007     U32 lengthToEnd;
01008     U32 size;
01009     CTNBOOLEAN
01010         remainFileOpen = FALSE; /* Leave file open after parse ? */
01011 
01012 ENTRY("DCM_OpenFile") ;
01013 
01014     if ((opt & (DCM_ORDERMASK | DCM_FILEFORMATMASK)) == 0)
01015         RETURN(COND_PushCondition(DCM_ILLEGALOPTION,
01016                                DCM_Message(DCM_ILLEGALOPTION), "Byte order",
01017                                   "DCM_OpenFile"));
01018 
01019 #ifdef _MSC_VER
01020     fd = open(name, O_RDONLY | O_BINARY);
01021 #else
01022     rwc_fd = fd = open(name, O_RDONLY);
01023 #endif
01024     if ((fd < 0) && ((opt & DCM_FILENAMEMASK) == DCM_TRYFILENAMECHANGE)) {
01025         char mapName[1024];
01026         remapFileName(name, mapName);
01027 #ifdef _MSC_VER
01028         fd = open(mapName, O_RDONLY | O_BINARY);
01029 #else
01030         fd = open(mapName, O_RDONLY);
01031         if (fd < 0) {
01032             strcat(mapName, ".");
01033             fd = open(mapName, O_RDONLY);
01034         }
01035 #endif
01036     }
01037     if (fd < 0) {
01038         char msg[1024] ;
01039         sprintf(msg,"DCM_OpenFile open(%s) fails",name) ;
01040         perror(msg) ;
01041         RETURN(COND_PushCondition(DCM_FILEOPENFAILED,
01042                                   DCM_Message(DCM_FILEOPENFAILED), name,
01043                                   "DCM_OpenFile"));
01044     }
01045     size = fileSize(fd);
01046     if (size <= 0)
01047         RETURN(DCM_FILEACCESSERROR);
01048 
01049     if ((opt & DCM_LENGTHTOENDMASK) == DCM_USELENGTHTOEND) {
01050         cond = readLengthToEnd(fd, name,
01051                                opt & (~DCM_LENGTHTOENDMASK), &lengthToEnd);
01052         if (cond != DCM_NORMAL) {
01053             (void) close(fd); rwc_fd = -1 ;
01054             RETURN(COND_PushCondition(DCM_FILEOPENFAILED,
01055                      DCM_Message(DCM_FILEOPENFAILED), name, "DCM_OpenFile"));
01056         }
01057         size = lengthToEnd;
01058         fileOffset = 24;
01059         (void) lseek(fd, 24, SEEK_SET);
01060     }
01061 #ifdef OLDSMM
01062     cond = readFile(name, NULL, fd, size, 0, 0, opt, callerObject, NULL,
01063                     &remainFileOpen, NULL, NULL, NULL);
01064 #endif
01065     cond = readFile1(name, NULL, fd, size, &fileOffset, 0, opt, NULL,
01066                      callerObject, NULL, &remainFileOpen, NULL, NULL, NULL);
01067     if ((cond != DCM_NORMAL) || !remainFileOpen){
01068         (void) close(fd); rwc_fd = -1 ;
01069     }
01070     if (cond != DCM_NORMAL) {
01071         if (debug)
01072             DCM_DumpElements(callerObject, 1);
01073         RETURN(COND_PushCondition(DCM_FILEOPENFAILED,
01074                      DCM_Message(DCM_FILEOPENFAILED), name, "DCM_OpenFile"));
01075     } else
01076         RETURN(DCM_NORMAL);
01077 }
 | 
| 
 | ||||||||||||||||||||||||||||
| 
 Definition at line 2918 of file l_mri_dicom_hdr.c. References c, checkObject(), COND_PopCondition(), CONDITION, DCM_ELEMENT::d, DCM_GetElementValue(), DCM_IsString(), DCM_NORMAL, DCM_OBJECT, DCM_FLAGGED_ELEMENT::e, DCM_FLAGGED_ELEMENT::flag, DCM_FLAGGED_ELEMENT::flagAddress, l, object, p, DCM_ELEMENT::representation, and U32. Referenced by DCM_GetSequenceElement(), DCM_GetString(), and setFileOptions(). 
 02921 {
02922     PRIVATE_OBJECT
02923         ** object;
02924     CONDITION
02925         cond;
02926     void
02927        *ctx;
02928     U32
02929         l;
02930     int
02931         c = 0;
02932     char
02933        *p;
02934 
02935     object = (PRIVATE_OBJECT **) callerObject;
02936     cond = checkObject(object, "DCM_ParseObject");
02937     if (cond != DCM_NORMAL)
02938         return cond;
02939 
02940     while (count-- > 0) {
02941         ctx = NULL;
02942         cond = DCM_GetElementValue(callerObject, vector, &l, &ctx);
02943         if (cond != DCM_NORMAL)
02944             return cond;
02945         if (DCM_IsString(vector->representation)) {
02946             vector->d.string[l] = '\0';
02947             p = vector->d.string + l - 1;
02948             while (p >= vector->d.string && (*p == ' '))
02949                 *p-- = '\0';
02950         }
02951         c++;
02952         vector++;
02953     }
02954 
02955     while (flagCount-- > 0) {
02956         ctx = NULL;
02957         cond = DCM_GetElementValue(callerObject, &flaggedVector->e, &l, &ctx);
02958         if (cond != DCM_NORMAL) {
02959             (void) COND_PopCondition(FALSE);
02960         } else {
02961             c++;
02962             if (DCM_IsString(flaggedVector->e.representation)) {
02963                 flaggedVector->e.d.string[l] = '\0';
02964                 p = flaggedVector->e.d.string + l - 1;
02965                 while (p >= flaggedVector->e.d.string && (*p == ' '))
02966                     *p-- = '\0';
02967             }
02968             *(flaggedVector->flagAddress) |= flaggedVector->flag;
02969         }
02970         flaggedVector++;
02971     }
02972 
02973     if (parseCount != NULL)
02974         *parseCount = c;
02975     return DCM_NORMAL;
02976 }
 | 
| 
 | ||||||||||||||||||||||||||||
| 
 Definition at line 1080 of file l_mri_dicom_hdr.c. References COND_PushCondition(), CONDITION, CTNBOOLEAN, DCM_FILEFORMATMASK, DCM_ILLEGALOPTION, DCM_Message(), DCM_NORMAL, DCM_OBJECT, DCM_ORDERMASK, DCM_READSTREAMFAILED, fd, offset, and readFile1(). 
 01084 {
01085     CONDITION cond;
01086     int fd = -1;
01087     CTNBOOLEAN
01088         remainFileOpen = FALSE; /* Leave file open after parse ? */
01089     off_t fileOffset = 0;
01090 
01091     if ((opt & (DCM_ORDERMASK | DCM_FILEFORMATMASK)) == 0)
01092         return COND_PushCondition(DCM_ILLEGALOPTION,
01093                                DCM_Message(DCM_ILLEGALOPTION), "Byte order",
01094                                   "DCM_ReadStream");
01095 
01096     cond = readFile1("", NULL, fd, size, &fileOffset, 0, opt, NULL,
01097                      callerObject, NULL, &remainFileOpen, ctx, rd, sk);
01098     if (cond != DCM_NORMAL)
01099         return COND_PushCondition(DCM_READSTREAMFAILED,
01100                        DCM_Message(DCM_READSTREAMFAILED), "DCM_ReadStream");
01101     else
01102         return DCM_NORMAL;
01103 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 1512 of file l_mri_dicom_hdr.c. References PRV_GROUP_ITEM::baseLength, checkObject(), COND_PushCondition(), CONDITION, CTN_FREE, CTNBOOLEAN, DCM_ELEMENT::d, DCM_ELEMENTNOTFOUND, DCM_Message(), DCM_NORMAL, DCM_OB, DCM_OBJECT, DCM_OW, DCM_SQ, DCM_TAG, DCM_TAG_ELEMENT, DCM_TAG_GROUP, DCM_UNSPECIFIEDLENGTH, PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, PRV_GROUP_ITEM::group, PRV_GROUP_ITEM::longVRAttributes, LST_Head(), LST_K_AFTER, LST_Next(), LST_Position(), LST_Remove(), object, PRV_ELEMENT_ITEM::paddedDataLength, DCM_ELEMENT::representation, and DCM_ELEMENT::tag. Referenced by DCM_ModifyElements(). 
 01513 {
01514     PRIVATE_OBJECT
01515         ** object;
01516     PRV_GROUP_ITEM
01517         * groupItem;
01518     PRV_ELEMENT_ITEM
01519         * elementItem,
01520         *groupLengthItem;
01521     CONDITION
01522         cond;
01523     CTNBOOLEAN
01524         flag;
01525     unsigned short
01526         group,
01527         element;
01528 
01529     object = (PRIVATE_OBJECT **) callerObject;
01530     cond = checkObject(object, "DCM_RemoveElement");
01531     if (cond != DCM_NORMAL)
01532         return cond;
01533 
01534     group = DCM_TAG_GROUP(tag);
01535     element = DCM_TAG_ELEMENT(tag);
01536 
01537     groupItem = (void *)LST_Head(&((*object)->groupList));
01538     if (groupItem == NULL)
01539         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
01540                            DCM_Message(DCM_ELEMENTNOTFOUND), group, element,
01541                                   "DCM_RemoveElement");
01542 
01543     (void) LST_Position(&((*object)->groupList), (void *)groupItem);
01544 
01545     flag = FALSE;
01546     while ((groupItem != NULL) && (flag == FALSE)) {
01547         if (groupItem->group == group)
01548             flag = TRUE;
01549         else
01550             groupItem = (void *)LST_Next(&(*object)->groupList);
01551     }
01552     if (flag == FALSE)
01553         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
01554                            DCM_Message(DCM_ELEMENTNOTFOUND), group, element,
01555                                   "DCM_RemoveElement");
01556 
01557     elementItem = (void *)LST_Head(&groupItem->elementList);
01558     if (elementItem == NULL)
01559         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
01560                            DCM_Message(DCM_ELEMENTNOTFOUND), group, element,
01561                                   "DCM_RemoveElement");
01562 
01563     (void) LST_Position(&groupItem->elementList, (void *)elementItem);
01564 
01565     groupLengthItem = elementItem;
01566     if (DCM_TAG_ELEMENT(groupLengthItem->element.tag) != 0x0000)
01567         groupLengthItem = NULL;
01568 
01569 
01570     flag = FALSE;
01571     while ((elementItem != NULL) && (flag == FALSE)) {
01572         if (DCM_TAG_ELEMENT(elementItem->element.tag) == element)
01573             flag = TRUE;
01574         else
01575             elementItem = (void *)LST_Next(&groupItem->elementList);
01576     }
01577 
01578     if (flag == FALSE)
01579         return COND_PushCondition(DCM_ELEMENTNOTFOUND,
01580                            DCM_Message(DCM_ELEMENTNOTFOUND), group, element,
01581                                   "DCM_RemoveElement");
01582 
01583     if (groupItem->baseLength != DCM_UNSPECIFIEDLENGTH) {
01584         groupItem->baseLength -= elementItem->paddedDataLength + 2 + 2 + 4;
01585         if (groupLengthItem != NULL) {
01586             *groupLengthItem->element.d.ul = groupItem->baseLength;
01587         }
01588     }
01589     if ((*object)->objectSize != DCM_UNSPECIFIEDLENGTH)
01590         (*object)->objectSize -= elementItem->paddedDataLength + 2 + 2 + 4;
01591     if (elementItem->element.representation == DCM_OW ||
01592         elementItem->element.representation == DCM_OB ||
01593         elementItem->element.representation == DCM_SQ) {
01594         groupItem->longVRAttributes--;
01595         (*object)->longVRAttributes--;
01596     }
01597     (void) LST_Remove(&(groupItem->elementList), LST_K_AFTER);
01598     CTN_FREE(elementItem);
01599     return DCM_NORMAL;
01600 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 3003 of file l_mri_dicom_hdr.c. References checkObject(), COND_PushCondition(), CONDITION, CTN_FREE, CTNBOOLEAN, DCM_GROUPNOTFOUND, DCM_LISTFAILURE, DCM_Message(), DCM_NORMAL, DCM_OBJECT, PRV_GROUP_ITEM::elementList, PRV_GROUP_ITEM::group, LST_Destroy(), LST_Head(), LST_K_AFTER, LST_Next(), LST_NORMAL, LST_Pop(), LST_Position(), LST_Remove(), and object. 
 03004 {
03005     PRIVATE_OBJECT
03006         ** object;
03007     CONDITION
03008         cond;
03009     PRV_GROUP_ITEM
03010         * groupItem;
03011     PRV_ELEMENT_ITEM
03012         * elementItem;
03013     CTNBOOLEAN
03014         found = FALSE;
03015 
03016     object = (PRIVATE_OBJECT **) callerObject;
03017     cond = checkObject(object, "DCM_RemoveGroup");
03018     if (cond != DCM_NORMAL)
03019         return cond;
03020 
03021     groupItem = (void *)LST_Head(&(*object)->groupList);
03022     if (groupItem == NULL)
03023         return COND_PushCondition(DCM_GROUPNOTFOUND,
03024             DCM_Message(DCM_GROUPNOTFOUND), (int) group, "DCM_RemoveGroup");
03025 
03026     (void) LST_Position(&(*object)->groupList, (void *)groupItem);
03027 
03028     while (!found && (groupItem != NULL)) {
03029         if (groupItem->group == group)
03030             found = TRUE;
03031         else
03032             groupItem = (void *)LST_Next(&(*object)->groupList);
03033     }
03034     if (groupItem == NULL)
03035         return COND_PushCondition(DCM_GROUPNOTFOUND,
03036             DCM_Message(DCM_GROUPNOTFOUND), (int) group, "DCM_RemoveGroup");
03037 
03038 
03039     while ((elementItem = (void *)LST_Pop(&groupItem->elementList)) != NULL)
03040         CTN_FREE(elementItem);
03041 
03042     groupItem = (void *)LST_Remove(&(*object)->groupList, LST_K_AFTER);
03043     cond = LST_Destroy(&groupItem->elementList);
03044     if (cond != LST_NORMAL)
03045         return COND_PushCondition(DCM_LISTFAILURE,
03046                            DCM_Message(DCM_LISTFAILURE), "DCM_RemoveGroup");
03047     CTN_FREE(groupItem);
03048     return DCM_NORMAL;
03049 }
 | 
| 
 | ||||||||||||||||||||||||||||||||
| 
 Definition at line 2105 of file l_mri_dicom_hdr.c. References checkObject(), CONDITION, copyData(), CTNBOOLEAN, DCM_IsString(), DCM_NORMAL, DCM_OBJECT, PRV_ELEMENT_ITEM::element, PRV_GROUP_ITEM::elementList, i, l, LST_Head(), LST_Next(), LST_Position(), object, p, DCM_ELEMENT::representation, DCM_ELEMENT::tag, and U32. 
 02109 {
02110     PRIVATE_OBJECT
02111         ** object;
02112     PRV_GROUP_ITEM
02113         * groupItem;
02114     PRV_ELEMENT_ITEM
02115         * elementItem;
02116     CONDITION
02117         cond;
02118     CTNBOOLEAN
02119         done = FALSE;
02120     DCM_ELEMENT
02121         e;
02122     int
02123         i;
02124     CTNBOOLEAN
02125         found;
02126     U32
02127         l;
02128     char
02129        *p;
02130 
02131     object = (PRIVATE_OBJECT **) callerObject;
02132     cond = checkObject(object, "DCM_ScanParseObject");
02133     if (cond != DCM_NORMAL)
02134         return cond;
02135 
02136     groupItem = (void *)LST_Head(&((*object)->groupList));
02137     (void) LST_Position(&((*object)->groupList), (void *)groupItem);
02138     while (groupItem != NULL && !done) {
02139         elementItem = (void *)LST_Head(&groupItem->elementList);
02140         (void) LST_Position(&groupItem->elementList, (void *)elementItem);
02141         while (elementItem != NULL && !done) {
02142             for (found = FALSE, i = 0; !found && i < vectorLength; i++) {
02143                 if (elementItem->element.tag == elementVector[i].e.tag) {
02144                     found = TRUE;
02145                     (void)copyData(object,elementItem,&elementVector[i].e, &l);
02146                     *elementVector[i].flagAddress |= elementVector[i].flag;
02147 
02148                     if (DCM_IsString(elementVector[i].e.representation)) {
02149                         elementVector[i].e.d.string[l] = '\0';
02150                         p = elementVector[i].e.d.string + l - 1;
02151                         while (p >= elementVector[i].e.d.string && (*p == ' '))
02152                             *p-- = '\0';
02153                     }
02154                 }
02155             }
02156             if (!found) {
02157                 e = elementItem->element;
02158                 cond = callback(&e, ctx);
02159                 if (cond != DCM_NORMAL)
02160                     done = TRUE;
02161             }
02162             elementItem = (void *)LST_Next(&groupItem->elementList);
02163         }
02164         groupItem = (void *)LST_Next(&((*object)->groupList));
02165     }
02166     return DCM_NORMAL;
02167 }
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 2748 of file l_mri_dicom_hdr.c. References checkObject(), close(), COND_PushCondition(), CONDITION, DCM_ExportStream(), DCM_FILECREATEFAILED, DCM_Message(), DCM_NORMAL, DCM_OBJECT, fd, file, O_BINARY, O_WRONLY, object, strerror(), and writeFile(). 
 02749 {
02750     PRIVATE_OBJECT
02751         ** object;
02752     int
02753         fd;
02754     unsigned char
02755         buf[2048];
02756     CONDITION
02757         cond;
02758 
02759     object = (PRIVATE_OBJECT **) callerObject;
02760     cond = checkObject(object, "DCM_WriteFile");
02761     if (cond != DCM_NORMAL)
02762         return cond;
02763 #ifdef MACOS
02764     fd = open(file, O_WRONLY | O_CREAT | O_TRUNC);
02765 #elif _MSC_VER
02766     fd = _open(file, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY,
02767                _S_IREAD | _S_IWRITE);
02768 #else
02769     fd = open(file, O_WRONLY | O_CREAT | O_TRUNC, 0666);
02770 #endif
02771     if (fd < 0) {
02772         return COND_PushCondition(DCM_FILECREATEFAILED,
02773                    DCM_Message(DCM_FILECREATEFAILED), file, strerror(errno),
02774                                   "DCM_WriteFile");
02775     }
02776     cond = DCM_ExportStream(callerObject, opt, buf,
02777                             (unsigned long) sizeof(buf), writeFile, &fd);
02778     if (cond != DCM_NORMAL)
02779         return cond;
02780 
02781     (void) close(fd);
02782     return DCM_NORMAL;
02783 }
 | 
| 
 | 
| 
 Definition at line 10870 of file l_mri_dicom_hdr.c. 
 10875 {
10876     return (*list)->count;
10877 }
 | 
| 
 | 
| 
 Definition at line 10728 of file l_mri_dicom_hdr.c. References lst_head::count, CTN_MALLOC, lst_head::current, lst_head::head, and lst_head::tail. 
 | 
| 
 | 
| 
 Definition at line 10894 of file l_mri_dicom_hdr.c. Referenced by insertNewElement(). 
 10900 {
10901     return (*list)->current;
10902 }
 | 
| 
 | 
| 
 Definition at line 10812 of file l_mri_dicom_hdr.c. References lst_node::next, and lst_node::previous. Referenced by LST_Sort(). 
 10818 {
10819     LST_NODE
10820     * ptr;
10821 
10822     if ((*list)->head == NULL) {/* list is empty             */
10823         (*list)->count = 0;
10824         return NULL;
10825     }
10826     ptr = (*list)->head;        /* save the head             */
10827     (*list)->head = ptr->next;  /* set new head of list      */
10828     if ((*list)->head == NULL)  /* if the list is now empty  */
10829         (*list)->tail = NULL;   /* there is no tail anymore  */
10830     else
10831         (*list)->head->previous = NULL; /* new head has no previous  */
10832     ptr->next = NULL;           /* hide data from user       */
10833     (*list)->count--;           /* list has one fewer node   */
10834     /* now                       */
10835     return ptr;
10836 }
 | 
| 
 | 
| 
 Definition at line 10751 of file l_mri_dicom_hdr.c. References CTN_FREE, LST_LISTNOTEMPTY, and LST_NORMAL. Referenced by DCM_CloseObject(), and DCM_RemoveGroup(). 
 10757 {
10758 
10759     if ((*list)->count != 0)
10760         return LST_LISTNOTEMPTY;
10761 
10762     CTN_FREE(*list);
10763     *list = NULL;
10764     return LST_NORMAL;
10765 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 10770 of file l_mri_dicom_hdr.c. References LST_NORMAL, lst_node::next, and lst_node::previous. Referenced by copySequence(), DCM_AddFragment(), DCM_GetElementValueList(), findCreateGroup(), handleGroupItem(), insertNewElement(), insertThisElementItem(), LST_Sort(), readFile(), readFile1(), and readSequence(). 
 10776 {
10777     node->next = NULL;          /* no next node              */
10778     node->previous = (*list)->tail;     /* previous is old tail      */
10779     if ((*list)->head == NULL)  /* if list was empty...      */
10780         (*list)->head = node;   /* it has a head now!        */
10781     else
10782         (*list)->tail->next = node;     /* old tail now has a next   */
10783 
10784     (*list)->tail = node;       /* list now has a new tail    */
10785     (*list)->count++;           /* bump the counter           */
10786     return LST_NORMAL;
10787 }
 | 
| 
 | 
| 
 Definition at line 10882 of file l_mri_dicom_hdr.c. Referenced by compareGroup(), copySequence(), DCM_CompareAttributes(), DCM_CopyObject(), DCM_DumpElements(), DCM_FormatElements(), DCM_GetElementSize(), DCM_GetElementValue(), DCM_GetElementValueList(), DCM_GetFirstElement(), DCM_GetNextElement(), DCM_GetSequenceByOffset(), DCM_GetSequenceElement(), DCM_GetSequenceList(), DCM_GroupPresent(), DCM_ListToString(), DCM_MergeObject(), DCM_PrintSequenceList(), DCM_RemoveElement(), DCM_RemoveGroup(), DCM_ScanParseObject(), exportEncapsulatedPixels(), exportStream(), findCreateGroup(), insertNewElement(), insertThisElementItem(), locateElement(), LST_Index(), LST_Sort(), readFile(), and readFile1(). 
 10888 {
10889     return (*list)->head;
10890 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 11187 of file l_mri_dicom_hdr.c. References l, LST_Head(), LST_Next(), and LST_Position(). 
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 10919 of file l_mri_dicom_hdr.c. References CURRENT, LST_BADEND, LST_END, LST_K_AFTER, LST_K_BEFORE, LST_NOCURRENT, LST_NORMAL, lst_node::next, OLD_NEXT, OLD_PREV, and lst_node::previous. Referenced by findCreateGroup(), insertNewElement(), insertThisElementItem(), and LST_Sort(). 
 10927 {
10928     if ((where != LST_K_BEFORE) && (where != LST_K_AFTER))
10929         goto badend;
10930 
10931     if ((*list)->head == NULL) {/* if the list was empty     */
10932         (*list)->tail = node;   /* set the tail pointer      */
10933         (*list)->head = node;   /* set the head pointer      */
10934         (*list)->count = 0;     /* will get bumped later...  */
10935         (node)->next = NULL;    /* there is no next          */
10936         (node)->previous = NULL;/* and no previous           */
10937 
10938     } else if (CURRENT == NULL) /* is he mixing semantics?       */
10939         goto nocurrent;
10940 
10941     else if ((CURRENT == (*list)->head) &&      /* if at the head           */
10942              (where == LST_K_BEFORE)) { /* and inserting BEFORE   */
10943         node->next = CURRENT;   /* splice new node in       */
10944         CURRENT->previous = node;       /* before the current     */
10945         node->previous = NULL;  /* new one has no previous  */
10946         (*list)->head = node;   /* new one is first now     */
10947 
10948     } else if ((CURRENT == (*list)->tail) &&    /* if at the tail           */
10949                (where == LST_K_AFTER)) {        /* and inserting AFTER    */
10950         node->next = NULL;      /* new node has no next     */
10951         node->previous = (*list)->tail; /* previous is old tail     */
10952         CURRENT->next = node;   /* splice new node in       */
10953         (*list)->tail = node;   /* new node is now the tail */
10954 
10955     } else if (where == LST_K_AFTER) {  /* not a special case       */
10956         OLD_NEXT->previous = node;      /* we preceed a node        */
10957         node->next = OLD_NEXT;  /* the old next follows us  */
10958         node->previous = CURRENT;       /* the current preceeds us  */
10959         CURRENT->next = node;   /* we follow current        */
10960 
10961     } else {                    /* not a special case       */
10962         OLD_PREV->next = node;  /* we follow the previous   */
10963         node->previous = OLD_PREV;      /* of current            */
10964         node->next = CURRENT;   /* current follows us and   */
10965         CURRENT->previous = node;       /* we preceed current     */
10966     };
10967 
10968     (*list)->count++;           /* bump the counter          */
10969     (*list)->current = node;    /* and set current        */
10970     return LST_NORMAL;
10971 
10972 badend:
10973     return LST_BADEND;
10974 
10975 nocurrent:
10976     return LST_NOCURRENT;
10977 }
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 10841 of file l_mri_dicom_hdr.c. References lst_node::next, and lst_node::previous. Referenced by DCM_CloseObject(), and DCM_RemoveGroup(). 
 10847 {
10848     LST_NODE
10849     * ptr;
10850 
10851     if ((*list)->head == NULL) {/* list is empty             */
10852         (*list)->count = 0;
10853         return NULL;
10854     }
10855     ptr = (*list)->head;        /* save the head             */
10856     (*list)->head = ptr->next;  /* set new head of list      */
10857     if ((*list)->head == NULL)  /* if the list is now empty  */
10858         (*list)->tail = NULL;   /* there is no tail anymore  */
10859     else
10860         (*list)->head->previous = NULL; /* new head has no previous  */
10861     ptr->next = NULL;           /* hide data from user       */
10862     (*list)->count--;           /* list has one fewer node   */
10863     /* now                       */
10864     return ptr;
10865 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 11099 of file l_mri_dicom_hdr.c. References CURRENT, lst_node::next, and lst_node::previous. Referenced by compareGroup(), copySequence(), DCM_CompareAttributes(), DCM_CopyObject(), DCM_DumpElements(), DCM_FormatElements(), DCM_GetElementSize(), DCM_GetElementValue(), DCM_GetElementValueList(), DCM_GetFirstElement(), DCM_GetNextElement(), DCM_GetSequenceByOffset(), DCM_GetSequenceList(), DCM_GroupPresent(), DCM_ListToString(), DCM_MergeObject(), DCM_PrintSequenceList(), DCM_RemoveElement(), DCM_RemoveGroup(), DCM_ScanParseObject(), exportEncapsulatedPixels(), exportStream(), findCreateGroup(), insertNewElement(), insertThisElementItem(), locateElement(), LST_Index(), LST_Sort(), readFile(), and readFile1(). 
 11104 : node = lst_position(list, lst_head(list)); 11105 * makes the node at the head of the list current 11106 * and returns a pointer to it. 11107 * 11108 * The routine tries to verify that "node" is in the list 11109 * by doing a few consistency checks. It assumes that if 11110 * any of three "known" pointers are what they should be 11111 * that all is well. Its not damnfoolproof, but... 11112 */ 11113 { 11114 if ((*list)->head == NULL) {/* list is empty */ 11115 return NULL; 11116 } 11117 if (node == NULL) 11118 return NULL; 11119 if (((node->previous == NULL) && ((*list)->head == node)) || 11120 ((node->next == NULL) && ((*list)->tail == node)) || 11121 (node->previous->next == node)) { /* its probably OK */ 11122 11123 CURRENT = node; 11124 return CURRENT; 11125 }; 11126 11127 return NULL; 11128 } | 
| 
 | 
| 
 Definition at line 11075 of file l_mri_dicom_hdr.c. References CURRENT. 
 11081 {
11082     if ((*list)->head == NULL) {/* list is empty     */
11083         (*list)->count = 0;
11084         return NULL;
11085     }
11086     if (CURRENT == NULL) {      /* there is no CURRENT       */
11087         return NULL;
11088     }
11089     if (CURRENT->previous == NULL) {    /* no PREVIOUS               */
11090         return NULL;
11091     }
11092     CURRENT = CURRENT->previous;/* found it                  */
11093     return CURRENT;
11094 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 10790 of file l_mri_dicom_hdr.c. References LST_NORMAL, lst_node::next, and lst_node::previous. 
 10797 {
10798     node->next = (*list)->head; /* set the forward link      */
10799     node->previous = NULL;      /* set rearward link         */
10800     if ((*list)->tail == NULL)  /* if the list was empty     */
10801         (*list)->tail = node;   /* set the tail pointer      */
10802     else                        /* otherwise,                */
10803         (*list)->head->previous = node; /* old head now has a previous                  */
10804 
10805     (*list)->head = node;       /* set new first node        */
10806     (*list)->count++;           /* bump the counter          */
10807     return LST_NORMAL;
10808 
10809 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 10982 of file l_mri_dicom_hdr.c. References CURRENT, LST_END, LST_K_AFTER, LST_K_BEFORE, lst_node::next, OLD_NEXT, OLD_PREV, and lst_node::previous. Referenced by DCM_RemoveElement(), and DCM_RemoveGroup(). 
 10992 {
10993     LST_NODE
10994     * ptr;
10995 
10996     if ((dir != LST_K_BEFORE) && (dir != LST_K_AFTER))
10997         goto baddir;
10998     if (CURRENT == NULL)
10999         goto nocurrent;
11000     if ((*list)->head == NULL)
11001         goto listempty;
11002 
11003     ptr = CURRENT;              /* save node                 */
11004 
11005     if (CURRENT == (*list)->head) {     /* removing the head         */
11006         (*list)->head = OLD_NEXT;       /* set new head of list      */
11007         if ((*list)->head == NULL)      /* if the list is now empty  */
11008             (*list)->tail = NULL;       /* no tail anymore either    */
11009         else
11010             (*list)->head->previous = NULL;     /* new head has no previous  */
11011         if (dir == LST_K_BEFORE)/* there is nothing before   */
11012             (*list)->current = NULL;    /* the head of the list      */
11013         else                    /* otherwise, remain         */
11014             (*list)->current = (*list)->head;   /* at the head...         */
11015 
11016     } else if (CURRENT == (*list)->tail) {      /* removing the tail         */
11017         (*list)->tail = OLD_PREV;       /* set new tail of list      */
11018         (*list)->tail->next = NULL;     /* new tail has no next      */
11019         if (dir == LST_K_AFTER) /* there is nothing after    */
11020             (*list)->current = NULL;    /* the tail of a list        */
11021         else                    /* otherwise, remain         */
11022             (*list)->current = (*list)->tail;   /* at the tail...            */
11023 
11024     } else {                    /* not a special case        */
11025         OLD_PREV->next = CURRENT->next; /* set forward pointer       */
11026         OLD_NEXT->previous = CURRENT->previous; /* set backward pointer      */
11027         if (dir == LST_K_BEFORE)/* depending on direction,   */
11028             (*list)->current = CURRENT->previous;       /* set current             */
11029         else                    /* in the                    */
11030             (*list)->current = CURRENT->next;   /* list head                 */
11031     }
11032 
11033     (*list)->count--;           /* one fewer nodes now       */
11034     ptr->previous = NULL;       /* hide data from user       */
11035     ptr->next = NULL;           /* hide data from user       */
11036     return ptr;
11037 
11038 baddir:
11039     return NULL;
11040 
11041 nocurrent:
11042     return NULL;
11043 
11044 listempty:
11045     (*list)->count = 0;
11046     (*list)->current = NULL;
11047     (*list)->head = (*list)->tail = NULL;
11048     return NULL;
11049 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 11136 of file l_mri_dicom_hdr.c. References AFNI_CALL_VALU_2ARG, compare(), lst_head::count, CTNBOOLEAN, lst_head::current, lst_head::head, LST_Dequeue(), LST_Enqueue(), LST_Head(), LST_Insert(), LST_K_BEFORE, LST_Next(), LST_NORMAL, LST_Position(), n1, n2, and lst_head::tail. 
 11137 {
11138     LST_NODE
11139         * n1,
11140         *n2;
11141     LST_HEAD
11142         temp,
11143         *head;
11144     CTNBOOLEAN
11145         inserted;
11146     int ccc ;
11147 
11148     if ((*list)->head == NULL) {/* list is empty     */
11149         return LST_NORMAL;
11150     }
11151     head = &temp;
11152     head->head = NULL;
11153     head->tail = NULL;
11154     head->current = NULL;
11155     head->count = 0;
11156 
11157     while ((n1 = LST_Dequeue(list)) != NULL) {
11158         n2 = LST_Head(&head);
11159         if (n2 != NULL)
11160             (void) LST_Position(&head, n2);
11161         inserted = FALSE;
11162         while (n2 != NULL && !inserted) {
11163 #if 0
11164             if (compare(n1, n2) < 0) {
11165 #else
11166             AFNI_CALL_VALU_2ARG(compare,int,ccc,LST_NODE *,n1,LST_NODE *,n2) ;
11167             if( ccc < 0 ){
11168 #endif
11169                 (void) LST_Insert(&head, n1, LST_K_BEFORE);
11170                 inserted = TRUE;
11171             } else
11172                 n2 = LST_Next(&head);
11173         }
11174         if (n2 == NULL)
11175             (void) LST_Enqueue(&head, n1);
11176     }
11177     **list = *head;
11178     return LST_NORMAL;
11179 }
 | 
| 
 | 
| 
 Definition at line 10907 of file l_mri_dicom_hdr.c. 
 10913 {
10914     return (*list)->tail;
10915 }
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 11483 of file l_mri_dicom_hdr.c. Referenced by UTL_DateMatch(). 
 11484 {
11485 
11486     char
11487         year[5],
11488         month[3],
11489         day[3];
11490 
11491     strncpy(year, date, 4);
11492     year[4] = '\000';
11493     strncpy(month, date + 4, 2);
11494     month[2] = '\000';
11495     strncpy(day, date + 6, 2);
11496     day[2] = '\000';
11497 
11498     return ((atol(year) * 10000) + (atol(month) * 100) + atol(day));
11499 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 11608 of file l_mri_dicom_hdr.c. References dt. 
 11609 {
11610     int
11611         hour,
11612         minute,
11613         second,
11614         fracsec;
11615 
11616     hour = (int) (dt / 3600.0);
11617     dt -= (hour * 3600);
11618 
11619     minute = (int) (dt / 60.);
11620     dt -= (minute * 60);
11621 
11622     second = (int) dt;
11623     dt -= second;
11624 
11625     fracsec = (int) ((dt * 1000000) + 0.5);
11626 
11627     sprintf(time, "%02d%02d%02d.%06d", hour, minute, second, fracsec);
11628 
11629     return;
11630 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 11505 of file l_mri_dicom_hdr.c. 
 11506 {
11507 
11508     int
11509         year,
11510         month,
11511         day;
11512 
11513     year = ld / 10000;
11514     ld -= (year * 10000);
11515     month = ld / 100;
11516     ld -= (month * 100);
11517     day = ld;
11518 
11519     sprintf(date, "%04d%02d%02d", year, month, day);
11520 
11521     return;
11522 }
 | 
| 
 | 
| 
 Definition at line 11528 of file l_mri_dicom_hdr.c. Referenced by UTL_TimeMatch(). 
 11529 {
11530 
11531     size_t
11532     i;
11533     char
11534         hour[3],
11535         minute[3],
11536         second[3],
11537         fracsec[7];
11538     const char *p;
11539     double
11540         divisor,
11541         hh,
11542         mm,
11543         ss,
11544         fs;
11545 
11546     hh = mm = ss = fs = 0.0;
11547     hour[0] = minute[0] = second[0] = fracsec[0] = '\000';
11548 
11549     p = time;
11550     /*
11551      * Just a brute force way to tear down a Dicom time...not very pretty,
11552      * but it works... We are not guaranteed to have every field present as
11553      * we are in the date...
11554      */
11555     hour[0] = *p++;
11556     hour[1] = *p++;
11557     hour[2] = '\000';
11558     if (isdigit(*p)) {
11559         minute[0] = *p++;
11560         minute[1] = *p++;
11561         minute[2] = '\000';
11562         if (isdigit(*p)) {
11563             second[0] = *p++;
11564             second[1] = *p++;
11565             second[2] = '\000';
11566             if (*p == '.') {
11567                 p++;
11568                 fracsec[0] = *p++;
11569                 if ((*p != '\000') && (isdigit(*p))) {
11570                     fracsec[1] = *p++;
11571                     if ((*p != '\000') && (isdigit(*p))) {
11572                         fracsec[2] = *p++;
11573                         if ((*p != '\000') && (isdigit(*p))) {
11574                             fracsec[3] = *p++;
11575                             if ((*p != '\000') && (isdigit(*p))) {
11576                                 fracsec[4] = *p++;
11577                                 if ((*p != '\000') && (isdigit(*p))) {
11578                                     fracsec[5] = *p++;
11579                                     fracsec[6] = '\000';
11580                                 } else
11581                                     fracsec[5] = '\000';
11582                             } else
11583                                 fracsec[4] = '\000';
11584                         } else
11585                             fracsec[3] = '\000';
11586                     } else
11587                         fracsec[2] = '\000';
11588                 } else
11589                     fracsec[1] = '\000';
11590             }
11591         }
11592     }
11593     hh = atof(hour);
11594     mm = atof(minute);
11595     ss = atof(second);
11596     divisor = 1;
11597     for (i = 0; i < strlen(fracsec); i++)
11598         divisor *= 10;
11599     fs = atof(fracsec) / divisor;
11600 
11601     return ((hh * 3600.0) + (mm * 60.0) + ss + fs);
11602 }
 | 
| 
 | ||||||||||||
| 
 Definition at line 11660 of file l_mri_dicom_hdr.c. References free, malloc, UTL_ConvertDatetoLong(), and UTL_SqueezeBlanks(). 
 11661 {
11662 
11663     int
11664         match;
11665     char
11666        *ndate;
11667     long
11668         start_date,
11669         end_date,
11670         date_in_question;
11671 
11672     if ((ndate = (char *) malloc(strlen(datestring) + 1)) == (char *) NULL)
11673         return (UTL_NOMATCH);
11674 
11675     strcpy(ndate, datestring);
11676     UTL_SqueezeBlanks(ndate);
11677     UTL_SqueezeBlanks(stm);
11678 
11679     match = 0;
11680     if (strchr(ndate, (int) '-') == (char *) NULL) {
11681         if (strcmp(ndate, stm) == 0)
11682             match = 1;
11683     } else {
11684         date_in_question = UTL_ConvertDatetoLong(stm);
11685         if (ndate[0] == '-') {
11686             end_date = UTL_ConvertDatetoLong(ndate + 1);
11687             if (date_in_question <= end_date)
11688                 match = 1;
11689         } else if (ndate[strlen(ndate) - 1] == '-') {
11690             start_date = UTL_ConvertDatetoLong(ndate);
11691             if (date_in_question >= start_date)
11692                 match = 1;
11693         } else {
11694             start_date = UTL_ConvertDatetoLong(ndate);
11695             end_date = UTL_ConvertDatetoLong(strchr(ndate, (int) '-') + 1);
11696             if ((date_in_question >= start_date) &&
11697                 (date_in_question <= end_date))
11698                 match = 1;
11699         }
11700     }
11701     free(ndate);
11702     if (match)
11703         return (UTL_MATCH);
11704     else
11705         return (UTL_NOMATCH);
11706 }
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 11827 of file l_mri_dicom_hdr.c. 
 11828 {
11829     struct timeval timeNow;
11830     UTL_TIMESTRUCTURE *t;
11831     double delta = 0.;
11832 
11833     gettimeofday(&timeNow, NULL);
11834 
11835     t = (UTL_TIMESTRUCTURE *) timeStamp;
11836     if (t == NULL)
11837         return -1.0;
11838 
11839     if (strcmp(t->key, "UTL STAMP") != 0)
11840         return -1.0;
11841 
11842     delta = timeNow.tv_sec - t->t.tv_sec;
11843     delta += (timeNow.tv_usec - t->t.tv_usec) / 1000000.;
11844 
11845     return delta;
11846 }
 | 
| 
 | ||||||||||||||||
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 11763 of file l_mri_dicom_hdr.c. 
 11764 {
11765 
11766     struct tm
11767        *tf;
11768     time_t
11769         loctime;
11770 
11771     loctime = time((time_t *) NULL);
11772     tf = localtime(&loctime);
11773 
11774     sprintf(datestr, "%04d%02d%02d", (tf->tm_year) + 1900, (tf->tm_mon) + 1, tf->tm_mday);
11775     return;
11776 
11777 }
 | 
| 
 | 
| 
 Definition at line 11783 of file l_mri_dicom_hdr.c. 
 11784 {
11785 
11786     struct tm
11787        *tf;
11788     time_t
11789         loctime;
11790 
11791     loctime = time((time_t *) NULL);
11792     tf = localtime(&loctime);
11793 
11794     sprintf(timestr, "%02d%02d%02d.%06d", (tf->tm_hour), (tf->tm_min), (tf->tm_sec), 0);
11795     return;
11796 }
 | 
| 
 | 
| 
 Definition at line 11811 of file l_mri_dicom_hdr.c. References AFMALL, UTL_TIMESTRUCTURE::key, and UTL_TIMESTRUCTURE::t. 
 11812 {
11813     UTL_TIMESTRUCTURE *t;
11814 
11815     t = AFMALL( UTL_TIMESTRUCTURE, sizeof(*t));
11816     if (t == NULL)
11817         return NULL;
11818 
11819     strcpy(t->key, "UTL STAMP");
11820 
11821     gettimeofday(&t->t, NULL);
11822 
11823     return t;
11824 }
 | 
| 
 | 
| 
 Definition at line 11954 of file l_mri_dicom_hdr.c. References CTNBOOLEAN, i, and S_ISDIR. 
 11955 {
11956     int i;
11957 #ifdef _MSC_VER
11958     struct _stat buf;
11959 #else
11960     struct stat buf;
11961 #endif
11962 
11963     int flag = 0;
11964 
11965 #ifdef _MSC_VER
11966     i = _stat(path, &buf);
11967 #else
11968     i = stat(path, &buf);
11969 #endif
11970 
11971 
11972     if (i == 0) {
11973 #ifdef _MSC_VER
11974         flag = ((buf.st_mode & _S_IFDIR) != 0);
11975 #else
11976         flag = (S_ISDIR(buf.st_mode));
11977 #endif
11978         if (flag)
11979             return TRUE;
11980     }
11981     return FALSE;
11982 }
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 11849 of file l_mri_dicom_hdr.c. References free, and UTL_TIMESTRUCTURE::key. 
 11850 {
11851     UTL_TIMESTRUCTURE *t;
11852 
11853     t = (UTL_TIMESTRUCTURE *) timeStamp;
11854     if (t == NULL)
11855         return;
11856 
11857     if (strcmp(t->key, "UTL STAMP") != 0)
11858         return;
11859 
11860     free(timeStamp);
11861 }
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 11637 of file l_mri_dicom_hdr.c. Referenced by UTL_DateMatch(), and UTL_TimeMatch(). 
 11638 {
11639 
11640     char
11641        *t1,
11642        *t2;
11643 
11644     t1 = t2 = s;
11645     while (*t2 != '\000') {
11646         if (*t2 != ' ') {
11647             *t1 = *t2;
11648             t1++;
11649         }
11650         t2++;
11651     }
11652     *t1 = '\000';
11653 
11654     return;
11655 }
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| 
 Definition at line 11711 of file l_mri_dicom_hdr.c. References free, malloc, UTL_ConvertTimetoFloat(), and UTL_SqueezeBlanks(). 
 11712 {
11713 
11714     int
11715         match;
11716     char
11717        *ntime;
11718     double
11719         start_time,
11720         end_time,
11721         time_in_question;
11722 
11723     if ((ntime = (char *) malloc(strlen(timestring) + 2)) == (char *) NULL)
11724         return (UTL_NOMATCH);
11725 
11726     strcpy(ntime, timestring);
11727     UTL_SqueezeBlanks(ntime);
11728     UTL_SqueezeBlanks(stm);
11729 
11730     match = 0;
11731     if (strchr(ntime, (int) '-') == (char *) NULL) {
11732         if (strcmp(ntime, stm) == 0)
11733             match = 1;
11734     } else {
11735         time_in_question = UTL_ConvertTimetoFloat(stm);
11736         if (ntime[0] == '-') {
11737             end_time = UTL_ConvertTimetoFloat(ntime + 1);
11738             if (time_in_question <= end_time)
11739                 match = 1;
11740         } else if (ntime[strlen(ntime) - 1] == '-') {
11741             start_time = UTL_ConvertTimetoFloat(ntime);
11742             if (time_in_question >= start_time)
11743                 match = 1;
11744         } else {
11745             start_time = UTL_ConvertTimetoFloat(ntime);
11746             end_time = UTL_ConvertTimetoFloat(strchr(ntime, (int) '-') + 1);
11747             if ((time_in_question >= start_time) &&
11748                 (time_in_question <= end_time))
11749                 match = 1;
11750         }
11751     }
11752     free(ntime);
11753     if (match)
11754         return (UTL_MATCH);
11755     else
11756         return (UTL_NOMATCH);
11757 }
 | 
| 
 | 
| 
 Definition at line 11864 of file l_mri_dicom_hdr.c. References i, p, S_ISDIR, UTL_FILECREATEFAILED, UTL_NORMAL, and UTL_PATHNOTDIR. 
 11865 {
11866     int i;
11867 #ifdef _MSC_VER
11868     struct _stat buf;
11869 #else
11870     struct stat buf;
11871 #endif
11872     char
11873        *p,
11874         temp[1024];
11875     int flag = 0;
11876     static int statCount = 0;
11877 
11878 #ifdef _MSC_VER
11879     statCount++;
11880     i = _stat(path, &buf);
11881 #else
11882     i = stat(path, &buf);
11883 #endif
11884 
11885 
11886     if (i == 0) {
11887 #ifdef _MSC_VER
11888         flag = ((buf.st_mode & _S_IFDIR) != 0);
11889 #else
11890         flag = (S_ISDIR(buf.st_mode));
11891 #endif
11892         if (flag)
11893             return UTL_NORMAL;
11894         else
11895             return UTL_PATHNOTDIR;
11896     }
11897     p = temp;
11898 
11899     while (*path != '\0') {
11900         *p++ = *path++;
11901         while (*path != '/' && *path != '\\' && *path != '\0') {
11902 #ifdef _MSC_VER
11903             if (*path == ':') {
11904                 *p++ = *path++;
11905                 if (*path == '\0')      /* We should not get C:\0, but test
11906                                          * it */
11907                     break;
11908             }
11909 #endif
11910             *p++ = *path++;
11911         }
11912 
11913         *p = '\0';
11914 #ifdef _MSC_VER
11915         statCount++;
11916         i = _stat(temp, &buf);
11917 #else
11918         i = stat(temp, &buf);
11919 #endif
11920 
11921         if (i == 0) {
11922 #ifdef _MSC_VER
11923             flag = ((buf.st_mode & _S_IFDIR) != 0);
11924 #else
11925             flag = (S_ISDIR(buf.st_mode));
11926 #endif
11927             if (!flag)
11928                 return UTL_PATHNOTDIR;
11929         } else {
11930 #ifdef _MSC_VER
11931             int e1;
11932             e1 = errno;
11933             memset(&buf, 0, sizeof(buf));
11934             /*fprintf(stderr, "Stat Count = %d\n", statCount);*/
11935             statCount++;
11936             i = _stat(temp, &buf);
11937             e1 = errno;
11938             i = _mkdir(temp);
11939 #else
11940             i = mkdir(temp, 0777);
11941 #endif
11942             if (i != 0) {
11943                 int e1;
11944                 e1 = errno;
11945                 fprintf(stderr, "Stat Count = %d\n", statCount);
11946                 perror(temp);
11947                 return UTL_FILECREATEFAILED;
11948             }
11949         }
11950     }
11951     return UTL_NORMAL;
11952 }
 | 
 
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
                             
 
 
 
 
       
	   
	   
	   
	  