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 representationname
: Name of the objecturl
: An optionalurl
to the documentationid
: A unique non-negative identification numberbuf
: [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:
- Relation Representation Types: Introduction for current chapter