Read topological relation data

saf_read_topo_relation is a function defined in rel.c.

Synopsis:

int saf_read_topo_relation(SAF_ParMode pmode, SAF_Rel *rel, SAF_RelTarget *target, void **abuf, void **bbuf)

Formal Arguments:

Description: This function reads topological relation data from the database.

Preconditions:

  • pmode must be valid. (low-cost)
  • rel must be a valid relation handle. (low-cost)
  • abuf must be non-null. (low-cost)
  • Either both abuf and bbuf point to NULL or both abuf and bbuf do not point to NULL. (low-cost)
  • If targeting of storage decomposition is used, the read must be a SAF__ALL mode read. (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: