Function Name: Token Set Difference

Definition

Removes token set B from token set A (set difference operation), places the result in token set C. Assumes that token sets A and B have the same underlying type.

Returns

SE_FALSE - if set_a_ptr or set_c_ptr is NULL. (If set_b_ptr is NULL, then the C token set is set to a copy of the A token set.)

SE_TRUE otherwise

Prototype


extern SE_BOOLEAN
SE_TokenSetDifference
(
SE_DRM_TYPE_ENUM drm_type, (notes)
constSE_TOKEN_SET *set_a_ptr, (notes)
constSE_TOKEN_SET *set_b_ptr, (notes)
SE_TOKEN_SET *set_c_ptr (notes)
);

Parameters Notes

drm_type

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

set_a_ptr

 pointer to a Token Set, the set from which tokens are being removed

set_b_ptr

 pointer to a Token Set, the set of tokens to remove

set_c_ptr

 pointer to a Token Set, the set difference between A and B.

Prev: Token Set Definition. Next: Token Set Empty. Up:Index.