Using G2++ with User-Defined Types
G2 provides support for typed I/O of records containing a fixed repertoire
of builtin C types.
(Besides character arrays, G2 supports CHAR,
SHORT and LONG.)
G2++ typed
I/O extends G2's range to a virtually
unlimited number of new types by providing
support for user-defined types.
This section explains
how to define G2++ records containing user-defined
types and how to build the infrastructure
necessary to get the typed inserters and extractors to do the mapping for you.
Next topic:
Record Definition
Previous topic:
Pathological Record Definitions
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005