TPCCLIB
Loading...
Searching...
No Matches
DCMITEM Struct Reference

#include <tpcdcm.h>

Data Fields

FILE * fp
 
fpos_t pos
 
dcmtruid truid
 
DCMTAG tag
 
dcmvr vr
 
unsigned int vl
 
struct DCMITEMchild_item
 
struct DCMITEMparent_item
 
struct DCMITEMnext_item
 
struct DCMITEMprev_item
 
char * rd
 

Detailed Description

Data struct for one DICOM item; may be recursive.

Definition at line 129 of file tpcdcm.h.

Field Documentation

◆ child_item

struct DCMITEM* DCMITEM::child_item

Pointer to linked list of child elements; NULL if none.

Definition at line 143 of file tpcdcm.h.

Referenced by dcmAddItem(), dcmFileReadNextElement(), dcmFileWrite(), dcmFindDownTag(), dcmFindTag(), dcmImgIsotope(), dcmImgPos(), dcmImgPxlsize(), dcmitemFree(), dcmitemMaxDepth(), dcmMListRead(), and imgReadDICOM().

◆ fp

FILE* DCMITEM::fp

Nr of File pointer, NULL if not opened.

Definition at line 131 of file tpcdcm.h.

Referenced by dcmAddItem(), and dcmFileReadNextElement().

◆ next_item

struct DCMITEM* DCMITEM::next_item

◆ parent_item

struct DCMITEM* DCMITEM::parent_item

Pointer to linked list of parent elements; NULL if none.

Definition at line 145 of file tpcdcm.h.

Referenced by dcmAddItem(), dcmFileReadNextElement(), dcmFindTag(), and dcmitemParentNr().

◆ pos

fpos_t DCMITEM::pos

File position of the start of this element; 0, if not set.

Definition at line 133 of file tpcdcm.h.

Referenced by dcmFileReadNextElement().

◆ prev_item

struct DCMITEM* DCMITEM::prev_item

Pointer to previous item ; NULL if none.

Definition at line 149 of file tpcdcm.h.

Referenced by dcmAddItem(), dcmFileReadNextElement(), and dcmitemFree().

◆ rd

char* DCMITEM::rd

Pointer to raw data value (no byte conversions etc); NULL if not available.

Definition at line 152 of file tpcdcm.h.

Referenced by dcmAddItem(), dcmFileReadNextElement(), dcmFileWrite(), dcmitemFree(), dcmitemGetInt(), dcmitemGetReal(), dcmMListRead(), dcmSameImage(), dcmValueString(), and imgReadDICOM().

◆ tag

DCMTAG DCMITEM::tag

Item tag.

Definition at line 137 of file tpcdcm.h.

Referenced by dcmAddItem(), dcmFileReadNextElement(), dcmFileWrite(), dcmFindDownTag(), dcmFindTag(), and dcmitemPrint().

◆ truid

dcmtruid DCMITEM::truid

Enumerated Transfer Syntax UID.

Definition at line 135 of file tpcdcm.h.

Referenced by dcmAddItem(), and dcmFileReadNextElement().

◆ vl

unsigned int DCMITEM::vl

Value Length. Larger data can only be stored in multiple items (fragments).

Definition at line 141 of file tpcdcm.h.

Referenced by dcmAddItem(), dcmFileReadNextElement(), dcmFileWrite(), dcmitemPrint(), dcmValueString(), and imgReadDICOM().

◆ vr

dcmvr DCMITEM::vr

Enumerated Value Representation.

Definition at line 139 of file tpcdcm.h.

Referenced by dcmAddItem(), dcmFileReadNextElement(), dcmFileWrite(), dcmitemGetInt(), dcmitemGetReal(), dcmitemPrint(), and dcmValueString().


The documentation for this struct was generated from the following file: