Mapping SELECT types: Example (2)

Entity definition in EXPRESS
ENTITY measure_with_unit;
value_component : measure_value;
unit_component : unit;
END_ENTITY;
TYPE measure_value = SELECT (length_measure, mass_measure);
END_TYPE;
TYPE unit = SELECT (derived_unit, named_unit);
END_TYPE;
Sample entity instance in data section
#202 = LENGTH_MEASURE_WITH_UNIT (LENGTH_MEASURE(498.0), #1021);
#1021 = LENGTH_UNIT( );

Previous slide Next slide Back to first slide View graphic version

CIS/2 - online

This web site is hosted and maintained by 

SCI Home PageThe Steel Construction Institute

Copyright © 1999, 2000, 2003.  All rights reserved. 
Last modified: Monday February 21, 2000.

Questions or problems regarding this web site should be directed to Andrew Crowley.

CIS/2 is based on deliverables of the Eureka EU130 CIMsteel Project.

cimsteel_logo.gif (2358 bytes)

Copyright ©  The CIMsteel Collaborators.
CIMsteel is a Registered Trademark.

Other products mentioned are registered trademarks or trademarks of their respective companies