LDicomAssociate::GetAbstractCount

Summary

Returns the number of times that the abstract syntax occurs in the association.

Syntax

#include "ltdic.h"

L_INT LDicomAssociate::GetAbstractCount(pszUID)

Parameters

L_TCHAR * pszUID

Character string that contains the Abstract String to find. For a list of possible values, refer to Abstract Syntax Values.

Returns

Value Meaning
0 No presentation context is found that contains the abstract syntax.
> 0 The number of times that the abstract syntax occurs in the association.

Comments

LDicomAssociate::GetAbstractCount returns the number of times that the abstract syntax occurs in the association, or equivalently, it  returns the total number of unique presentation contexts where pszUID occurs.  Note that a particular abstract syntax can occur in more than one presentation context, but only once per presentation context.

The Abstract Syntax provides information about the class type of the data that will be transferred across the DICOM Associate connection.

This function is valid only for DICOM Associate objects of type Associate Request.

To get the Abstract Syntax of a specific Presentation Context, call LDicomAssociate::GetAbstract.

To set the Abstract Syntax of a specific Presentation Context, call LDicomAssociate::SetAbstract.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomAssociate::FindNextAbstract.

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.