The SEDRIS Data Representation Model
APPENDIX D - Functions
SE GeneralIsLegalAggregate
extern SE_Boolean
SE_GeneralIsLegalAggregate
(
SE_Short_Integer_Positive major_drm_version, (notes)
SE_Byte_Unsigned minor_drm_version, (notes)
SE_Short_Integer_Positive drm_class_a, (notes)
SE_Short_Integer_Positive drm_class_b (notes)
);

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


major_drm_version

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

minor_drm_version

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

drm_class_a

 represents a DRM class A, the candidate component class

drm_class_b

 represents a DRM class B, the candidate aggregate class


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

Last updated: July 16, 2004 Copyright © 2004 SEDRIS