List of Exercises
Exercise 5: Creating Opaque Data Types, continued
Choose Edit Insert Opaque Type and enter the following information in the New Opaque Type wizard.
|
Opaque Type Property
|
Value
|
|
Opaque type name
|
Pnt
|
|
Server implementation
|
C
|
|
Client implemenatation
|
None
|
|
Define internal structure of opaque type to BladeSmith
|
Yes
|
|
Opaque type is
fixed size
|
Yes
|
|
Internal members
|
1. Name: x, Type: mi_double_precision, Array: 0
2. Name: y, Type: mi_double_precision, Array: 0
|
|
Support routines
|
Uncheck these options:
Text File Import/Export
Binary File Import/Export
Keep these options checked:
Basic Text Input/Output
Binary Send/Receive With Client
Type Compare Support
|
|
Grant execute privileges
|
Grant usage privileges
|
Click Finish and then choose Project Save to save your project.
Choose Edit Insert Opaque Type and enter the following information in the New Opaque Type wizard.
|
Opaque Type Property
|
Value
|
|
Opaque type name
|
Circ
|
|
Server implementation
|
C
|
|
Client implemenatation
|
None
|
|
Define internal structure of opaque type to BladeSmith
|
Yes
|
|
Opaque type is
fixed size
|
Yes
|
|
Internal members
|
1. Name: center, Type: Pnt, Array: 0
2. Name: radius, Type: mi_double_precision, Array: 0
|
|
Support routines
|
Uncheck these options:
Text File Import/Export
Binary File Import/Export
Keep these options checked:
Basic Text Input/Output
Binary Send/Receive With Client
Type Compare Support
|
|
Grant execute privileges
|
Grant usage privileges
|
Click Finish and then choose Project Save to save your project.
Copyright © 1998, Informix Software, Inc. All rights
reserved.
|