Functions | Modes |
---|---|
ier = cgio_create_node(int cgio_num, double pid, const char *name, double *id); | - w m |
ier = cgio_new_node(int cgio_num, double pid, const char *name, const char *label, const char *data_type, int ndims, const cgsize_t *dims, const void *data, double *id); | - w m |
ier = cgio_delete_node(int cgio_num, double pid, double id); | - w m |
ier = cgio_move_node(int cgio_num, double pid, double id, double new_pid); | - w m |
ier = cgio_number_children(int cgio_num, double id, int *num_child); | r w m |
ier = cgio_children_names(int cgio_num, double id, int start, int max_ret, int name_len, int *num_ret, char *child_names); | r w m |
ier = cgio_children_ids(int cgio_num, double id, int start, int max_ret, int *num_ret, char *child_ids); | r w m |
call cgio_create_node_f(cgio_num, pid, name, id, ier) | - w m |
call cgio_new_node_f(cgio_num, pid, name, label, data_type, ndims, dims, data, id, ier); | - w m |
call cgio_delete_node_f(cgio_num, pid, id, ier) | - w m |
call cgio_move_node_f(cgio_num, pid, id, new_pid, ier) | - w m |
call cgio_number_children_f(cgio_num, id, num_child, ier) | r w m |
call cgio_children_names_f(cgio_num, id, start, max_ret, name_len, num_ret, child_names, ier) | r w m |
call cgio_children_ids_f(cgio_num, id, start, max_ret, num_ret, child_ids, ier) | r w m |
cgio_num | Database identifier. | ||
pid | Parent node identifier. | ||
id | Node identifier. | ||
name | Node name (max length 32). | ||
label | Node label (max length 32). | ||
data_type | Type of data contained in the node. Options are: "MT" — empty "C1" — character data "I4" — 32-bit integer "I8" — 64-bit integer "U4" — unsigned 32-bit integer "U8" — unsigned 64-bit integer "R4" — 32-bit real "R8" — 64-bit real "B1" — byte data | ||
ndims | Number of dimensions for the data (max 12). | ||
dims | Data dimension values (ndims values). | ||
data | Data array to be stored with the node. | ||
new_pid | New parent node identifier under which the node is to be moved. | ||
num_child | Number of children of the specified node. | ||
start | Starting index for returned child names or ids (1 <= start <= num_child). | ||
max_ret | Maximum child names or ids to be returned (1 <= max_ret <= num_child-start+1). | ||
name_len | Length reserved for each returned child name. | ||
num_ret | Number of returned values of child names or identifiers. | ||
child_names | Child node names (num_ret values). This array should be dimensioned at least (name_len * max_ret). | ||
child_ids | Child node identifiers (num_ret values). This array should be dimensioned at least (max_ret). | ||
ier | Error status. |
cgio_create_node cgio_set_label cgio_set_dimensions cgio_write_all_dataReturns 0 and the identifier of the new node in id on success, else an error code.