LDicomDS::LDicomDS

Summary

Allocates the memory for the data set and sets the site of the temporary files.

Syntax

#include "Ltdic.h"

L_VOID LDicomDS::LDicomDS(pszPath=NULL)

Parameters

L_TCHAR * pszPath

Character string containing the location of the temporary files. DICOM uses temporary files during the course of creating a file. If this parameter is NULL, the DICOM temporary files are kept in the directory Windows places its own temporary files. If this parameter is not NULL, the temporary files are placed in the specified directory.

Returns

None.

Comments

This function is the constructor for the LDicomDS class.

The allocated memory is freed by calling LDicomDS::~LDicomDS.

To initialize the newly created Data Set to contain elements of a specific class, call LDicomDS::InitDS.

This function must be called before calling either LDicomDS::LoadDS or LDicomDS::InitDS.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

This example creates and frees the Data Set.

L_INT LDicomDS_LDicomDSExample() 
{ 
   LDicomDS*   pDS; 
 
   pDS = new LDicomDS(MAKE_IMAGE_PATH(TEXT("temp"))); 
 
   delete pDS; 
 
   return DICOM_SUCCESS; 
} 

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.