The SEDRIS Data Representation Model
APPENDIX D - Functions
SE TokenSetUnion
extern SE_DRM_Status_Code
SE_TokenSetUnion
(
SE_DRM_Type drm_type, (notes)
constSE_Token_Set *set_a_ptr, (notes)
constSE_Token_Set *set_b_ptr, (notes)
SE_Token_Set *set_c_ptr (notes)
);

Definition

Constructs the union of token sets A and B, puts it in token set C. Assumes that token sets A and B have the same underlying type.


Returns

SE_DRM_STAT_CODE_SUCCESS and C is set to the union of token sets A and B, if valid parameters were passed in
SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER and no changes are made, if set_c_ptr is NULL


Parameters Notes


drm_type

 the underlying type of sets A, B, and C. A and B must have the
 same underlying type.

set_a_ptr

 pointer to a token set to union

set_b_ptr

 pointer to a token set to union

set_c_ptr

 pointer to resulting union token set


Prev: SE_TokenSetEmpty. Next: SE_ValidAPI. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™