LDicomIOD::SetDescription

#include "Ltdic.h"

static L_BOOL LDicomIOD::SetDescription(pIOD, pszDescription)

pDICOMIOD pIOD;

pointer to a DICOMIOD structure

L_TCHAR * pszDescription;

character string

Sets the description of the specified item in the IOD Structure.

Parameter

Description

pIOD

Pointer to a structure that contains an item in the IOD Structure. The description of this item will be set using the string contained in pszDescription.

pszDescription

Character string that contains the description to be set.

Returns

TRUE

The description was successfully set.

FALSE

Not enough memory.

Comments

The following functions will also help you navigate the IOD Structure:

LDicomIOD::GetFirst

LDicomIOD::GetLast

LDicomIOD::GetNext

LDicomIOD::GetParent

LDicomIOD::GetChild

LDicomIOD::GetRoot

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

LDicomIOD::GetFirst, LDicomIOD::GetLast, LDicomIOD::GetNext, LDicomIOD::GetPrev, LDicomIOD::GetCountModule, LDicomIOD::GetParent, LDicomIOD::GetChild, LDicomIOD::GetRoot

Topics:

Working with Information Object Definitions

 

How to Disable the Automatic Loading of the default DICOM IOD Table

Example

This example changes the module’s description .

L_INT LDicomIOD_SetDescriptionExample() 
{ 
   pDICOMIOD   pIOD; 
   pIOD = LDicomIOD::FindModule(CLASS_US_IMAGE_STORAGE, MODULE_PATIENT_STUDY); 
   if (pIOD != NULL) 
   { 
      LDicomIOD::SetDescription(pIOD, TEXT("New Description")); 
   } 
   return DICOM_SUCCESS; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C++ Class Library Help