xp_comm_proj/rd_dicom/Papyrus3/PapyInitModules3.c
/********************************************************************************/
/*										*/
/*	init_DirectoryInformation : initializes the elements of the module 	*/
/*	Directory Information		 					*/
/*										*/
/********************************************************************************/
init_DirectoryInformation : initializes the elements of the module
Directory Information
init_DirectoryInformation : initializes the elements of the module Directory Information
void
init_DirectoryInformation (SElement ioElem [])
{
  SElement	*theWrkP;
  theWrkP = &ioElem [papOffsetofTheFirstDirectoryRecord];
  theWrkP->group = 0x0004;
  theWrkP->element = 0x1200;
  theWrkP->length = 0L;
  theWrkP->vr = UL;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papOffsetofTheLastDirectoryRecord];
  theWrkP->group = 0x0004;
  theWrkP->element = 0x1202;
  theWrkP->length = 0L;
  theWrkP->vr = UL;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papFilesetConsistencyFlag];
  theWrkP->group = 0x0004;
  theWrkP->element = 0x1212;
  theWrkP->length = 0L;
  theWrkP->vr = USS;
  theWrkP->vm = "1";
  theWrkP->type_t = T1;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
  theWrkP = &ioElem [papDirectoryRecordSequence];
  theWrkP->group = 0x0004;
  theWrkP->element = 0x1220;
  theWrkP->length = 0L;
  theWrkP->vr = SQ;
  theWrkP->vm = "1";
  theWrkP->type_t = T2;
  theWrkP->nb_val = 0;
  theWrkP->value = NULL;
}
void init_DirectoryInformation ( SElement ioElem [ ] ) { SElement * theWrkP ; theWrkP = & ioElem [ papOffsetofTheFirstDirectoryRecord ] ; theWrkP -> group = 0x0004 ; theWrkP -> element = 0x1200 ; theWrkP -> length = 0L ; theWrkP -> vr = UL ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papOffsetofTheLastDirectoryRecord ] ; theWrkP -> group = 0x0004 ; theWrkP -> element = 0x1202 ; theWrkP -> length = 0L ; theWrkP -> vr = UL ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papFilesetConsistencyFlag ] ; theWrkP -> group = 0x0004 ; theWrkP -> element = 0x1212 ; theWrkP -> length = 0L ; theWrkP -> vr = USS ; theWrkP -> vm = " " ; theWrkP -> type_t = T1 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; theWrkP = & ioElem [ papDirectoryRecordSequence ] ; theWrkP -> group = 0x0004 ; theWrkP -> element = 0x1220 ; theWrkP -> length = 0L ; theWrkP -> vr = SQ ; theWrkP -> vm = " " ; theWrkP -> type_t = T2 ; theWrkP -> nb_val = 0 ; theWrkP -> value = NULL ; }
init_DirectoryInformation : initializes the elements of the module
Directory Information
init_DirectoryInformation : initializes the elements of the module Directory Information