LDicomDS::LDicomDS

#include "Ltdic.h"

L_VOID LDicomDS::CreateDS(pszPath=NULL)

L_CHAR * pszPath;

/* character string */

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

Parameter

Description

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

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

See Also

Functions:

LDicomDS::~LDicomDS, LDicomDS::InitDS, LDicomDS::LoadDS

Topics:

Working with Data Sets

Example

/* This example creates and frees the Data Set */

L_VOID Test()
{
   LDicomDS *pDS;

   pDS = new LDicomDS("c:\\windows\\temp");

   delete pDS;
}