Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE DATA MAPPING REPRESENTATION

PINQ_DATA_MAP_REP


CALL SEQUENCE

void pinq_data_map_rep(
)

TYPES

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;

PHIGS STATE

(PHOP, WSOP,*,*)

EFFECT

Returns the components contained in the data mapping representation of the data mapping table in workstation ws_id's workstation state list. If the data is available, error indicator is returned as 0.

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

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
59
Ignoring function, the specified workstation does not have output capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)
100
Ignoring function, the bundle index value is less than one
101
Ignoring function, the specified representation has not been defined

SEE ALSO

set data mapping representation, inquire predefined data mapping representation.


Previous Next Up Title Contents Index Functions Index Top Library