void pinq_data_map_rep(
Pint ws_id, /* workstation identifier */ Pint index, /* data mapping index */ Pinq_type type, /* type of returned values */ Pstore store, /* handle to store object */ Pint *error_ind, /* (out) error indicator */ Pdata_map_rep **rep /* (out) data mapping representation */
)
typedef void * Pstore;
typedef enum {
PINQ_SET,
PINQ_REALIZED
} Pinq_type ;
typedef struct {
Pint method; /* data mapping method */
Psource_select_list selectors; /* list of source selectors */
union Pdata_map_rep_data {
struct Pdata_map_rep_single_uniform {
Pint ind;
Pfloat lower_limit;
Pfloat upper_limit;
Pint colr_type;
Pcolrv_list colr_values;
} single_uniform;
struct Pdata_map_rep_single_non_uniform {
Pint ind;
Pfloat_list range;
Pint colr_type;
Pcolrv_list colr_values;
} single_non_uniform;
struct Pdata_map_rep_bi_uniform {
Pint inds[2];
Pfloat lower_limit_a;
Pfloat upper_limit_a;
Pfloat lower_limit_b;
Pfloat upper_limit_b;
Pint colr_type;
Pcolrv_set colr_values;
} bi_uniform;
struct Pdata_map_rep_bi_non_uniform {
Pint inds[2];
Pfloat_list range_a;
Pfloat_set range_b;
Pint colr_type;
Pcolrv_set colr_values;
} bi_non_uniform;
} data;
} Pdata_map_rep;
If the inquired information is available, the error indicator is returned as 0 and values are returned in the output parameters.
If the specified data mapping index is not present in the data mapping bundle table, and the specified type of returned value is REALIZED, the representation for data mapping index 1 is returned.
If the inquired information is not available, the values returned in the output parameters are implementation dependent and the error indicator is set to one of the following error numbers to indicate the reason for non-availability:
The memory referenced by *rep is managed by store