FLDget_cell_data_label,FLDset_cell_data_label


Synopsis

get the label within one Cell_Data cell_set Data_Array component


int FLDget_cell_data_label (
OMobj_id cell_set,
int comp,
char *label,
int size);

int FLDset_cell_data_label (
OMobj_id field,
int comp,
const char *label);

Description

FLDget_cell_data_label gets the labels string within one component of a Cell_Data cell_set cell_data Data_Array.

Parameters

OMobj_id cell_set

The OMobj_id of one Cell_Data cell_set array element, such as is returned by the FLDget_cell_set routine.

int comp

An integer that specifies which component's [0-n] label to get.

char *label

A character string in which the string will be returned.

int size

An integer that sets the maximum length that the label may have. In practice, this should be the same as the length declared for the label array. If the label returned happens to be longer than size, it is truncated to size.

Example

modules/cellnode.c
modules/ext_face.c
modules/labels.c
modules/write.c

Related routines