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_API api; (notes)
const SE_Character *name_ptr; (notes)
SE_Short_Integer_Unsigned field_count;
SE_Short_Integer_Unsigned size; (notes)
SE_Type_Classification type_classification; (notes)
SE_Struct_As_Union u; (notes)
} 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_Code_Type.


Return to: Top of this Page, Type Index

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