The SEDRIS Data Representation Model
APPENDIX D - Functions
SE TokenSetDefinition
extern SE_DRM_Status_Code
SE_TokenSetDefinition
(
SE_DRM_Class drm_class, (notes)
constSE_Character *field_name, (notes)
SE_DRM_Type *result_out_ptr (notes)
);

Definition

Given an SE_Token_Set field for a specific class, returns the SE_DRM_Type for the underlying type of that field's SE_Token_Set.


Returns

SE_DRM_STAT_CODE_SUCCESS and *result_out_ptr is set appropriately, if valid parameters were passed in.
SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER and no changes are made, if field_name or result_out_ptr is NULL.
SE_DRM_STAT_CODE_INVALID_CLASS and *result_out_ptr is set to SE_DRM_TYP_NULL, if drm_class is invalid.
SE_DRM_STAT_CODE_INVALID_CLASS_FIELD and *result_out_ptr is set to SE_DRM_TYP_NULL, if field_name does not correspond to an SE_Token_Set field for the specified class.


Parameters Notes


drm_class

 specifies the class

field_name

 specifies the field within the class

result_out_ptr

 pointer to a variable in the user's memory space where
    the result is copied


Prev: SE_TestInclusionInSet. Next: SE_TokenSetDifference. Up:Index.

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