Column headers - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
da_status da_data_label_column(da_datastore store, const char *label, da_int col_idx)#

Label a column.

Parameters:
  • store[inout] main data structure.

  • label[in] new label for the column idx.

  • col_idx[in] index of the column to label.

Returns:

da_status. The function returns:

da_status da_data_get_col_idx(da_datastore store, const char *label, da_int *col_idx)#

Get the index of the column labeled by the input label.

Parameters:
  • store[in] main data store.

  • label[in] name of the column to look for.

  • col_idx[out] on output contains the index of the column label.

Returns:

da_status. The function returns:

da_status da_data_get_col_label(da_datastore store, da_int col_idx, da_int *label_sz, char *label)#

Get the label of a column from its index.

On output the C string label will contain the label of the column idx. label_sz indicates the size of the C string label. If it is smaller than the size of the column label, the function will return da_status_invalid_input and label_sz will be set to the minimum size acceptable for col_idx.

Parameters:
  • store[in] main data structure.

  • col_idx[in] index of the column to search for.

  • label_sz[in] the size of the C string being provided to the function.

  • label[out] if successful, contains the label of the column idx on output.

Returns:

da_status. The function returns: