libSBML C API  5.18.0
FbcAnd.cpp File Reference

Implementation of the FbcAnd_t class. More...

Include dependency graph for FbcAnd.cpp:

Functions

int FbcAnd_addAssociation (FbcAnd_t *fa, const FbcAssociation_t *a)
 
FbcAnd_tFbcAnd_clone (const FbcAnd_t *fa)
 
FbcAnd_tFbcAnd_create (unsigned int level, unsigned int version, unsigned int pkgVersion)
 
FbcAnd_tFbcAnd_createAnd (FbcAnd_t *fa)
 
GeneProductRef_tFbcAnd_createGeneProductRef (FbcAnd_t *fa)
 
FbcOr_tFbcAnd_createOr (FbcAnd_t *fa)
 
void FbcAnd_free (FbcAnd_t *fa)
 
FbcAssociation_tFbcAnd_getAssociation (FbcAnd_t *fa, unsigned int n)
 
FbcAssociation_tFbcAnd_getAssociationById (FbcAnd_t *fa, const char *sid)
 
ListOf_tFbcAnd_getListOfFbcAssociations (FbcAnd_t *fa)
 
unsigned int FbcAnd_getNumAssociations (FbcAnd_t *fa)
 
int FbcAnd_hasRequiredAttributes (const FbcAnd_t *fa)
 
int FbcAnd_hasRequiredElements (const FbcAnd_t *fa)
 
FbcAssociation_tFbcAnd_removeAssociation (FbcAnd_t *fa, unsigned int n)
 
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

int FbcAnd_addAssociation ( FbcAnd_t fa,
const FbcAssociation_t a 
)
FbcAnd_t* FbcAnd_clone ( const FbcAnd_t fa)
FbcAnd_t* FbcAnd_create ( unsigned int  level,
unsigned int  version,
unsigned int  pkgVersion 
)
FbcAnd_t* FbcAnd_createAnd ( FbcAnd_t fa)
GeneProductRef_t* FbcAnd_createGeneProductRef ( FbcAnd_t fa)
FbcOr_t* FbcAnd_createOr ( FbcAnd_t fa)
void FbcAnd_free ( FbcAnd_t fa)
FbcAssociation_t* FbcAnd_getAssociation ( FbcAnd_t fa,
unsigned int  n 
)
FbcAssociation_t* FbcAnd_getAssociationById ( FbcAnd_t fa,
const char *  sid 
)
ListOf_t* FbcAnd_getListOfFbcAssociations ( FbcAnd_t fa)
unsigned int FbcAnd_getNumAssociations ( FbcAnd_t fa)
int FbcAnd_hasRequiredAttributes ( const FbcAnd_t fa)
int FbcAnd_hasRequiredElements ( const FbcAnd_t fa)
FbcAssociation_t* FbcAnd_removeAssociation ( FbcAnd_t fa,
unsigned int  n 
)
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.