Queries whether data has been written

saf_data_has_been_written_to_comp_field is a function defined in field.c.

Synopsis:

int saf_data_has_been_written_to_comp_field(SAF_ParMode pmode, SAF_Field *field, hbool_t *Presult)

Formal Arguments:

  • pmode: The parallel mode.
  • field: The field handle.
  • Presult: [OUT] A pointer to caller supplied memory which is to receive the answer to the question. A value of true is saved at this location if the field has had data written to it, false if not.

Description: Does a composite or component field have written data corresponding to this field.

Preconditions:

  • pmode must be valid. (low-cost)
  • field must be a valid field handle for all participating processes. (low-cost)

Return Value: The constant SAF__SUCCESS is returned when this function is successful. Otherwise this function either returns an error number or throws an exception, depending on the value of the library’s error handling property.

See Also:

  • Fields: Introduction for current chapter