The SEDRIS Data Representation Model
APPENDIX C - Types
SE_Property_Data_Value_Ptr
/*
 * STRUCT: SE_Property_Data_Value_Ptr
 *
 *   This data type is a wrapper to hold a single pointer, which is used by
 *   the Level 0 API function SE_GetElementOfDataTable().
 *
 *   pointer_type - indicates the currently valid field of the union "u"
 *
 *   u - union of all of the legal pointers of values for a
 *       <Property Value> or <Data Table>
 */
typedef struct
{
SE_Property_Data_Value_Type pointer_type;
union
{
EDCS_Boolean *boolean_value_ptr;
SRM_Byte *byte_value_ptr;
SRM_Byte_Positive *byte_positive_value_ptr;
EDCS_Byte_Unsigned *byte_unsigned_value_ptr;
EDCS_Short_Integer *short_integer_value_ptr;
SRM_Short_Integer_Positive *short_integer_positive_value_ptr;
EDCS_Short_Integer_Unsigned *short_integer_unsigned_value_ptr;
EDCS_Integer *integer_value_ptr;
EDCS_Integer_Interval *integer_interval_value_ptr;
SRM_Integer_Positive *integer_positive_value_ptr;
EDCS_Integer_Unsigned *integer_unsigned_value_ptr;
EDCS_Integer_Unsigned_Interval *integer_unsigned_interval_value_ptr;
EDCS_Float *float_value_ptr;
EDCS_Float_Interval *float_interval_value_ptr;
EDCS_Long_Float *long_float_value_ptr;
EDCS_String *string_value_ptr;
SRM_Integer_Positive *DT_component_index_ptr; (notes)
SRM_Integer_Positive *DT_library_index_ptr; (notes)
EDCS_Enumerant_Code *ee_code_ptr; (notes)
EDCS_Metadata_Code *em_code_ptr; (notes)
} u;
} SE_Property_Data_Value_Ptr;


Field Notes


DT_component_index_ptr

 Used only to describe an element within a <Data Table>.

 Array of indices into other <Data Tables>, where each indexed
 <Data Table> is one of the ordered <Data Table> components of
 the current <Data Table>. (The index is used to identify the
 target <Data Table> within the ordered list of component
 <Data Tables>.)

DT_library_index_ptr

 Used only to describe an element within a <Data Table>.

 Array of indices into other <Data Tables>, where each indexed
 <Data Table> is one of the <Data Tables> in the <Data Table
 Library>.  The index is used to identify the target <Data Table>
 within the <Data Table Library>.

ee_code_ptr

 an array of EDCS Enumerant Codes.

em_code_ptr

 an array of EDCS Metadata Codes.



Prev: SE_Property_Data_Value. Next: SE_Property_Data_Value_Type.


Return to: Top of this Page, Type Index

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