Next: , Previous: Header Field Information, Up: Manipulating Header Fields   [Contents]


4.3.2 Creation and Deletion

Header Fields are created with bpipe_hdrf_add, bpipe_hdrf_array_add, or bpipe_hdrf_string_add.

bpipe_hdrf_add

This is the most general routine, and allows one to create multi-dimensional fields. It is also the easiest to use if a scalar field is desired.

bpipe_hdrf_array_add

This routine will create a one dimensional array, without the need for explicitly creating a matrix-spec.

bpipe_hdrf_string_add

This routine simplifies the creation of fields containing strings. Strings are always terminated with a ‘\0’ character.

Fields are deleted with the bpipe_hdrf_delete routine. It can delete either a single field or all fields with a given name.