The SEDRIS Data Representation Model
APPENDIX C - Types
SE_DRM_Type_Structure
/*
 * STRUCT: SE_DRM_Type_Structure
 *
 *   Used by the SE_GetDRMTypeStructure() function to return information
 *   about a SEDRIS type definition.
 *
 *   field_count - # of fields, if the type is a structure
 *                 # of enumerants, if the type is an enumerated type
 *                 otherwise 0 (if the type is a "basic" type)
 */
typedef struct
{

SE_DRM_Type drm_type;
SE_API api;1
const SE_Character *name_ptr;2
SE_Short_Integer_Unsigned field_count;
SE_Short_Integer_Unsigned size;3
SE_Type_Classification type_classification;4
SE_Struct_As_Union u;5
} SE_DRM_Type_Structure;


Field Notes

api

the API within which the type is defined

name_ptr

the name of the type

size

size of the type, in bytes

type_classification

Classifies the type according to its structure.

u

Used in place of a union, so that an SE_DRM_Type_Structure can be statically initialized.




Prev: SE_DRM_Type. Next: SE_Element_Type.


Return to: Top of this Page, Type Index