Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomAssociate::GetTransferCount

Show in webframe

#include "ltdic.h"

L_INT LDicomAssociate::GetTransferCount(nID)

L_UCHAR nID;

/* presentation ID */

Returns the number of Transfer Syntax entries for the specified Presentation Context.

Parameter

Description

nID

Presentation ID. The presentation ID provides information about both the class type of the data and the transfer syntax to use when transferring the data.

Returns

The number of Transfer Syntax entries for the specified Presentation Context.

Comments

A DICOM Associate can have more than one Presentation Context. The nID parameter identifies which Presentation Context to use when getting the number of Transfer Syntax entries.

A Presentation Context for an Associate Accept has only one Transfer Syntax. Therefore if you call this function for the Presentation Context of a DICOM Associate Accept, it will return 1.

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:

LDicomAssociate::GetTransfer, LDicomAssociate::SetTransfer, LDicomAssociate::AddTransfer, LDicomAssociate::DelTransfer

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to LDicomAssociate::DelTransfer.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.