The SEDRIS Data Representation Model
APPENDIX D - Functions
SE GeneralIsLegalAggregate
extern SE_Boolean
SE_GeneralIsLegalAggregate
(
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' via a bidirectional composition.


Returns

SE_TRUE if valid parameters were passed in, and an instance of class 'drm_class_a' can legally be aggregated by 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 component class

4 represents a DRM class B, the candidate aggregate class


Prev: SE_GeneralIsAbstractClass. Next: SE_GeneralIsLegalAssociate. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS