The SEDRIS Data Representation Model
APPENDIX C - Types
SE_Property_Data_Value
/*
 * STRUCT: SE_Property_Data_Value
 *
 *   This data type is a wrapper to hold a single value, and is used to
 *   represent cells in <Data Table> instances, values in <Property Value>
 *   instances, and the values of <Literal> instances.
 *
 *   value_type - indicates the currently valid field of the union "u"
 *
 *   u - union of all of the legal types of values for a <Property Value>
 *       or <Data Table>
 */
typedef struct
{
SE_Property_Data_Value_Type value_type;
union
{
EDCS_Boolean boolean_value;
SRM_Byte byte_value;
SRM_Byte_Positive byte_positive_value;
EDCS_Byte_Unsigned byte_unsigned_value;
EDCS_Short_Integer short_integer_value;
SRM_Short_Integer_Positive short_integer_positive_value;
EDCS_Short_Integer_Unsigned short_integer_unsigned_value;
EDCS_Integer integer_value;
EDCS_Integer_Interval integer_interval_value;
SRM_Integer_Positive integer_positive_value;
EDCS_Integer_Unsigned integer_unsigned_value;
EDCS_Integer_Unsigned_Interval integer_unsigned_interval_value;
EDCS_Float float_value;
EDCS_Float_Interval float_interval_value;
EDCS_Long_Float long_float_value;
EDCS_String string_value;
SRM_Integer_Positive DT_component_index; (notes)
SRM_Integer_Positive DT_library_index; (notes)
EDCS_Enumerant_Code ee_code; (notes)
EDCS_Metadata_Code em_code; (notes)
} u;
} SE_Property_Data_Value;


Field Notes


DT_component_index

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

 Index into another <Data Table>, where the 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

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

 Index into another <Data Table>, where the 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

 An EDCS Enumerant Code.

em_code

 An EDCS Metadata Code.



Prev: SE_Presentation_Domain. Next: SE_Property_Data_Value_Ptr.


Return to: Top of this Page, Type Index

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