libSBML C API  5.18.0
Objective.cpp File Reference

Implementation of the Objective_t class. More...

Include dependency graph for Objective.cpp:

Functions

Objective_tListOfObjectives_getById (ListOf_t *lo, const char *sid)
 
Objective_tListOfObjectives_removeById (ListOf_t *lo, const char *sid)
 
int Objective_addFluxObjective (Objective_t *o, FluxObjective_t *fo)
 
Objective_tObjective_clone (Objective_t *o)
 
Objective_tObjective_create (unsigned int level, unsigned int version, unsigned int pkgVersion)
 
FluxObjective_tObjective_createFluxObjective (Objective_t *o)
 
void Objective_free (Objective_t *o)
 
FluxObjective_tObjective_getFluxObjective (Objective_t *o, unsigned int n)
 
FluxObjective_tObjective_getFluxObjectiveById (Objective_t *o, const char *sid)
 
const char * Objective_getId (const Objective_t *o)
 
ListOf_tObjective_getListOfFluxObjectives (Objective_t *o)
 
const char * Objective_getName (const Objective_t *o)
 
unsigned int Objective_getNumFluxObjectives (Objective_t *o)
 
const char * Objective_getType (Objective_t *obj)
 
int Objective_hasRequiredAttributes (const Objective_t *o)
 
int Objective_hasRequiredElements (const Objective_t *o)
 
int Objective_isSetId (const Objective_t *o)
 
int Objective_isSetName (const Objective_t *o)
 
int Objective_isSetType (const Objective_t *o)
 
FluxObjective_tObjective_removeFluxObjective (Objective_t *o, unsigned int n)
 
FluxObjective_tObjective_removeFluxObjectiveById (Objective_t *o, const char *sid)
 
int Objective_setId (Objective_t *o, const char *id)
 
int Objective_setName (Objective_t *o, const char *name)
 
int Objective_setType (Objective_t *o, const char *type)
 
int Objective_unsetId (Objective_t *o)
 
int Objective_unsetName (Objective_t *o)
 
int Objective_unsetType (Objective_t *o)
 
ObjectiveType_t ObjectiveType_fromString (const char *s)
 
int ObjectiveType_isValidObjectiveType (ObjectiveType_t effect)
 
int ObjectiveType_isValidObjectiveTypeString (const char *s)
 
const char * ObjectiveType_toString (ObjectiveType_t type)
 

Variables

static const char * OBJECTIVE_TYPE_STRINGS []
 

Detailed Description

Implementation of the Objective_t class.

Author
SBMLTeam

Function Documentation

Objective_t* ListOfObjectives_getById ( ListOf_t lo,
const char *  sid 
)
Objective_t* ListOfObjectives_removeById ( ListOf_t lo,
const char *  sid 
)
int Objective_addFluxObjective ( Objective_t o,
FluxObjective_t fo 
)
Objective_t* Objective_clone ( Objective_t o)
Objective_t* Objective_create ( unsigned int  level,
unsigned int  version,
unsigned int  pkgVersion 
)
FluxObjective_t* Objective_createFluxObjective ( Objective_t o)
void Objective_free ( Objective_t o)
FluxObjective_t* Objective_getFluxObjective ( Objective_t o,
unsigned int  n 
)
FluxObjective_t* Objective_getFluxObjectiveById ( Objective_t o,
const char *  sid 
)
const char* Objective_getId ( const Objective_t o)
ListOf_t* Objective_getListOfFluxObjectives ( Objective_t o)
const char* Objective_getName ( const Objective_t o)
unsigned int Objective_getNumFluxObjectives ( Objective_t o)
const char* Objective_getType ( Objective_t obj)
int Objective_hasRequiredAttributes ( const Objective_t o)
int Objective_hasRequiredElements ( const Objective_t o)
int Objective_isSetId ( const Objective_t o)
int Objective_isSetName ( const Objective_t o)
int Objective_isSetType ( const Objective_t o)
FluxObjective_t* Objective_removeFluxObjective ( Objective_t o,
unsigned int  n 
)
FluxObjective_t* Objective_removeFluxObjectiveById ( Objective_t o,
const char *  sid 
)
int Objective_setId ( Objective_t o,
const char *  id 
)
int Objective_setName ( Objective_t o,
const char *  name 
)
int Objective_setType ( Objective_t o,
const char *  type 
)
int Objective_unsetId ( Objective_t o)
int Objective_unsetName ( Objective_t o)
int Objective_unsetType ( Objective_t o)
ObjectiveType_t ObjectiveType_fromString ( const char *  s)
int ObjectiveType_isValidObjectiveType ( ObjectiveType_t  effect)
int ObjectiveType_isValidObjectiveTypeString ( const char *  s)
const char* ObjectiveType_toString ( ObjectiveType_t  type)

Variable Documentation

const char* OBJECTIVE_TYPE_STRINGS[]
static
Initial value:
=
{
"maximize"
, "minimize"
, "unknown"
}