The SEDRIS Data Representation Model
APPENDIX D - Functions
SE GeneralIsLegalAssociate
extern SE_Boolean
SE_GeneralIsLegalAssociate
(
SE_Short_Integer_Positive major_drm_version,1
SE_Byte_Unsigned minor_drm_version,2
SE_Short_Integer_Positive drm_class_a,3
SE_Short_Integer_Positive drm_class_b4
);

Definition

Tests whether an instance of class 'drm_class_a' can be associated to an instance of class 'drm_class_b'.


Returns

SE_TRUE if valid parameters were passed in, and an instance of class 'drm_class_a' can legally be associated to an instance of class 'drm_class_b' in the specified version of the DRM.
SE_FALSE otherwise.

Parameters Notes

1 major DRM version number of the DRM version for which this function is being called

2 minor DRM version number of the DRM version for which this function is being called

3 represents a DRM class A, the candidate associate class on the 'from' end of the association.

4 represents a DRM class A, the candidate associate class on the 'to' end of the association.


Prev: SE_GeneralIsLegalAggregate. Next: SE_GeneralIsLegalComponent. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS