Declare a new object

saf_declare_relrep is a function defined in relrep.c.

Synopsis:

SAF_RelRep * saf_declare_relrep(SAF_ParMode pmode, SAF_Db *db, const char *name, const char *url, int id, SAF_RelRep *buf)

Formal Arguments:

  • db: Database in which to declare the new relation representation
  • name: Name of the object
  • url: An optional url to the documentation
  • id: A unique non-negative identification number
  • buf: [OUT] Optional handle to fill in and return

Description: This function declares a new topology relation representation type with a unique identification number.

Preconditions:

  • pmode must be valid. (low-cost)

Return Value: A handle to the new object.

See Also: