libSBML Perl API  5.20.5
Loading...
Searching...
No Matches
Objective.cpp File Reference

Implementation of the Objective 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 class.

Author
SBMLTeam

Function Documentation

◆ ListOfObjectives_getById()

Objective_t * ListOfObjectives_getById ( ListOf_t * lo,
const char * sid )

◆ ListOfObjectives_removeById()

Objective_t * ListOfObjectives_removeById ( ListOf_t * lo,
const char * sid )

◆ Objective_addFluxObjective()

int Objective_addFluxObjective ( Objective_t * o,
FluxObjective_t * fo )

◆ Objective_clone()

Objective_t * Objective_clone ( Objective_t * o)

◆ Objective_create()

Objective_t * Objective_create ( unsigned int level,
unsigned int version,
unsigned int pkgVersion )

◆ Objective_createFluxObjective()

FluxObjective_t * Objective_createFluxObjective ( Objective_t * o)

◆ Objective_free()

void Objective_free ( Objective_t * o)

◆ Objective_getFluxObjective()

FluxObjective_t * Objective_getFluxObjective ( Objective_t * o,
unsigned int n )

◆ Objective_getFluxObjectiveById()

FluxObjective_t * Objective_getFluxObjectiveById ( Objective_t * o,
const char * sid )

◆ Objective_getId()

const char * Objective_getId ( const Objective_t * o)

◆ Objective_getListOfFluxObjectives()

ListOf_t * Objective_getListOfFluxObjectives ( Objective_t * o)

◆ Objective_getName()

const char * Objective_getName ( const Objective_t * o)

◆ Objective_getNumFluxObjectives()

unsigned int Objective_getNumFluxObjectives ( Objective_t * o)

◆ Objective_getType()

const char * Objective_getType ( Objective_t * obj)

◆ Objective_hasRequiredAttributes()

int Objective_hasRequiredAttributes ( const Objective_t * o)

◆ Objective_hasRequiredElements()

int Objective_hasRequiredElements ( const Objective_t * o)

◆ Objective_isSetId()

int Objective_isSetId ( const Objective_t * o)

◆ Objective_isSetName()

int Objective_isSetName ( const Objective_t * o)

◆ Objective_isSetType()

int Objective_isSetType ( const Objective_t * o)

◆ Objective_removeFluxObjective()

FluxObjective_t * Objective_removeFluxObjective ( Objective_t * o,
unsigned int n )

◆ Objective_removeFluxObjectiveById()

FluxObjective_t * Objective_removeFluxObjectiveById ( Objective_t * o,
const char * sid )

◆ Objective_setId()

int Objective_setId ( Objective_t * o,
const char * id )

◆ Objective_setName()

int Objective_setName ( Objective_t * o,
const char * name )

◆ Objective_setType()

int Objective_setType ( Objective_t * o,
const char * type )

◆ Objective_unsetId()

int Objective_unsetId ( Objective_t * o)

◆ Objective_unsetName()

int Objective_unsetName ( Objective_t * o)

◆ Objective_unsetType()

int Objective_unsetType ( Objective_t * o)

◆ ObjectiveType_fromString()

ObjectiveType_t ObjectiveType_fromString ( const char * s)

◆ ObjectiveType_isValidObjectiveType()

int ObjectiveType_isValidObjectiveType ( ObjectiveType_t effect)

◆ ObjectiveType_isValidObjectiveTypeString()

int ObjectiveType_isValidObjectiveTypeString ( const char * s)

◆ ObjectiveType_toString()

const char * ObjectiveType_toString ( ObjectiveType_t type)

Variable Documentation

◆ OBJECTIVE_TYPE_STRINGS

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