libSBML C API  5.18.0
FbcAnd.h File Reference

Implementation of the FbcAnd_t class. More...

Include dependency graph for FbcAnd.h:
This graph shows which files directly or indirectly include this file:

Functions

FbcAssociation_tFbcAnd_removeAssociationById (FbcAnd_t *fa, const char *sid)
 Removes the FbcAssociation_t with the given identifier from this FbcAnd_t and returns a pointer to it. More...
 

Detailed Description

Implementation of the FbcAnd_t class.

Author
SBMLTeam

Function Documentation

FbcAssociation_t* FbcAnd_removeAssociationById ( FbcAnd_t fa,
const char *  sid 
)

Removes the FbcAssociation_t with the given identifier from this FbcAnd_t and returns a pointer to it.

Parameters
fathe FbcAnd_t structure to search.
sidthe identifier of the FbcAssociation_t to remove.
Returns
a pointer to the nth FbcAssociation_t in this FbcAnd_t.
Warning
The pointer that is returned by this function is owned by the caller, who is responsible for deleting it. Any changes made to the element will not be reflected in any resulting SBML document unless the element is added to an SBML Document. Even in this case, the element's deletion is still the responsibility of the caller with two exceptions: if it is used as the "disownedItem" in the ListOf_appendAndOwn() or ListOf_insertAndOwn() functions. All other functions in libsbml add a copy of the element, and do not transfer ownership of the pointer.