The SEDRIS Data Representation Model
APPENDIX D - Functions
SE GeneralIsLegalComponent
extern SE_Boolean
SE_GeneralIsLegalComponent
(
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 a component of an instance of class 'drm_class_b'.


Returns

SE_TRUE if an instance of class 'drm_class_a' can legally be a component of an instance of class 'drm_class_b'.
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 component class

4 represents a DRM class B


Prev: SE_GeneralIsLegalAssociate. Next: SE_GeneralIsLinkClass. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS