Definition of Model.


Functions | |
| int | Model_addCompartment (Model_t *m, const Compartment_t *c) |
| Adds a copy of a Compartment_t structure to a given Model_t structure. | |
| int | Model_addCompartmentType (Model_t *m, const CompartmentType_t *ct) |
| Adds a copy of a CompartmentType_t structure to a given Model_t structure. | |
| int | Model_addConstraint (Model_t *m, const Constraint_t *c) |
| Adds a copy of a Constraint_t structure to a given Model_t structure. | |
| int | Model_addEvent (Model_t *m, const Event_t *e) |
| Adds a copy of a Event_t structure to a given Model_t structure. | |
| int | Model_addFunctionDefinition (Model_t *m, const FunctionDefinition_t *fd) |
| Adds a copy of a FunctionDefinition_t structure to a given Model_t structure. | |
| int | Model_addInitialAssignment (Model_t *m, const InitialAssignment_t *ia) |
| Adds a copy of a InitialAssignment_t structure to a given Model_t structure. | |
| int | Model_addParameter (Model_t *m, const Parameter_t *p) |
| Adds a copy of a Parameter_t structure to a given Model_t structure. | |
| int | Model_addReaction (Model_t *m, const Reaction_t *r) |
| Adds a copy of a Reaction_t structure to a given Model_t structure. | |
| int | Model_addRule (Model_t *m, const Rule_t *r) |
| Adds a copy of a Rule_t structure to a given Model_t structure. | |
| int | Model_addSpecies (Model_t *m, const Species_t *s) |
| Adds a copy of a Species_t structure to a given Model_t structure. | |
| int | Model_addSpeciesType (Model_t *m, const SpeciesType_t *st) |
| Adds a copy of a SpeciesType_t structure to a given Model_t structure. | |
| int | Model_addUnitDefinition (Model_t *m, const UnitDefinition_t *ud) |
| Adds a copy of a UnitDefinition_t structure to a given Model_t structure. | |
| Model_t * | Model_clone (const Model_t *m) |
| Creates and returns a deep copy of a given Model_t structure. | |
| Model_t * | Model_create (unsigned int level, unsigned int version) |
Creates a new Model_t structure using the given SBML level and version values. | |
| Rule_t * | Model_createAlgebraicRule (Model_t *m) |
| Creates a new AlgebraicRule_t structure inside the given Model_t structure and returns a pointer to it. | |
| Rule_t * | Model_createAssignmentRule (Model_t *m) |
| Creates a new AssignmentRule_t structure inside the given Model_t structure and returns a pointer to it. | |
| Compartment_t * | Model_createCompartment (Model_t *m) |
| Creates a new Compartment_t structure inside the given Model_t and returns a pointer to it. | |
| CompartmentType_t * | Model_createCompartmentType (Model_t *m) |
| Creates a new CompartmentType_t structure inside the given Model_t and returns a pointer to it. | |
| Constraint_t * | Model_createConstraint (Model_t *m) |
| Creates a new Constraint_t structure inside the given Model_t structure and returns it. | |
| Delay_t * | Model_createDelay (Model_t *m) |
| Creates a new Delay_t structure inside the last Event_t structure created in the given Model_t structure, and returns a pointer to it. | |
| Event_t * | Model_createEvent (Model_t *m) |
| Creates a new Event inside the given Model_t structure and returns a pointer to it. | |
| EventAssignment_t * | Model_createEventAssignment (Model_t *m) |
| Creates a new EventAssignment_t structure inside the last Event_t structure created in the given Model_t structure, and returns a pointer to it. | |
| FunctionDefinition_t * | Model_createFunctionDefinition (Model_t *m) |
| Creates a new FunctionDefinition_t structure inside the given Model_t and returns a pointer to it. | |
| InitialAssignment_t * | Model_createInitialAssignment (Model_t *m) |
| Creates a new InitialAssignment_t structure inside the given Model_t structure and returns it. | |
| KineticLaw_t * | Model_createKineticLaw (Model_t *m) |
| Creates a new KineticLaw_t structure inside the last Reaction_t structure in the given Model_t structure, and returns a pointer to it. | |
| LocalParameter_t * | Model_createKineticLawLocalParameter (Model_t *m) |
| Creates a new LocalParameter_t structure inside the KineticLaw_t structure of the last Reaction_t structure created inside the given model, and returns a pointer to it. | |
| Parameter_t * | Model_createKineticLawParameter (Model_t *m) |
| Creates a new local Parameter_t structure inside the KineticLaw_t structure of the last Reaction_t structure created inside the given model, and returns a pointer to it. | |
| SpeciesReference_t * | Model_createModifier (Model_t *m) |
| Creates a new ModifierSpeciesReference_t structure for a reactant inside the last Reaction_t structure in the given Model_t structure, and returns a pointer to it. | |
| Parameter_t * | Model_createParameter (Model_t *m) |
| Creates a new Parameter_t structure inside the given Model_t and returns a pointer to it. | |
| SpeciesReference_t * | Model_createProduct (Model_t *m) |
| Creates a new SpeciesReference_t structure for a product inside the last Reaction_t structure in the given Model_t structure, and returns a pointer to it. | |
| Rule_t * | Model_createRateRule (Model_t *m) |
| Creates a new RateRule_t structure inside the given Model_t structure and returns a pointer to it. | |
| SpeciesReference_t * | Model_createReactant (Model_t *m) |
| Creates a new SpeciesReference_t structure for a reactant inside the last Reaction_t structure in the given Model_t structure, and returns a pointer to it. | |
| Reaction_t * | Model_createReaction (Model_t *m) |
| Creates a new Reaction_t structure inside the given Model_t structure and returns a pointer to it. | |
| Species_t * | Model_createSpecies (Model_t *m) |
| Creates a new Species_t structure inside the given Model_t and returns a pointer to it. | |
| SpeciesType_t * | Model_createSpeciesType (Model_t *m) |
| Creates a new SpeciesType_t structure inside the given Model_t and returns a pointer to it. | |
| Trigger_t * | Model_createTrigger (Model_t *m) |
| Creates a new Trigger_t structure inside the last Event_t structure created in the given Model_t structure, and returns a pointer to it. | |
| Unit_t * | Model_createUnit (Model_t *m) |
| Creates a new Unit_t structure inside the last UnitDefinition_t structure created in this model and returns a pointer to it. | |
| UnitDefinition_t * | Model_createUnitDefinition (Model_t *m) |
| Creates a new UnitDefinition_t structure inside the given Model_t and returns a pointer to it. | |
| Model_t * | Model_createWithNS (SBMLNamespaces_t *sbmlns) |
| Creates a new Model_t structure using the given SBMLNamespaces_t structure. | |
| void | Model_free (Model_t *m) |
| Frees the given Model_t structure. | |
| const char * | Model_getAreaUnits (const Model_t *m) |
| Get the areaUnits of the given Model_t structure. | |
| Compartment_t * | Model_getCompartment (Model_t *m, unsigned int n) |
| Get the nth Compartment_t structure contained in the given Model_t structure. | |
| Compartment_t * | Model_getCompartmentById (Model_t *m, const char *sid) |
Get the Compartment_t structure whose identifier is sid in the given Model_t structure. | |
| CompartmentType_t * | Model_getCompartmentType (Model_t *m, unsigned int n) |
| Get the nth CompartmentType_t structure contained in the given Model_t structure. | |
| CompartmentType_t * | Model_getCompartmentTypeById (Model_t *m, const char *sid) |
Get the CompartmentType_t structure whose identifier is sid in the given Model_t structure. | |
| Constraint_t * | Model_getConstraint (Model_t *m, unsigned int n) |
| Get the nth Constraint_t structure contained in the given Model_t structure. | |
| const char * | Model_getConversionFactor (const Model_t *m) |
| Get the conversionFactor of the given Model_t structure. | |
| Event_t * | Model_getEvent (Model_t *m, unsigned int n) |
| Get the nth Event_t structure contained in the given Model_t structure. | |
| Event_t * | Model_getEventById (Model_t *m, const char *sid) |
Get the Event_t structure whose identifier is sid in the given Model_t structure. | |
| const char * | Model_getExtentUnits (const Model_t *m) |
| Get the extentUnits of the given Model_t structure. | |
| FunctionDefinition_t * | Model_getFunctionDefinition (Model_t *m, unsigned int n) |
| Get the nth FunctionDefinition_t structure contained in the given Model_t structure. | |
| FunctionDefinition_t * | Model_getFunctionDefinitionById (Model_t *m, const char *sid) |
Get the FunctionDefinition_t structure whose identifier is sid in the given Model_t structure. | |
| const char * | Model_getId (const Model_t *m) |
| Get the identifier of the given Model_t structure. | |
| InitialAssignment_t * | Model_getInitialAssignment (Model_t *m, unsigned int n) |
| Get the nth InitialAssignment_t structure contained in the given Model_t structure. | |
| InitialAssignment_t * | Model_getInitialAssignmentBySym (Model_t *m, const char *symbol) |
| const char * | Model_getLengthUnits (const Model_t *m) |
| Get the lengthUnits of the given Model_t structure. | |
| ListOf_t * | Model_getListOfCompartments (Model_t *m) |
| Get the list of Compartment_t structures contained in the given Model_t structure. | |
| ListOf_t * | Model_getListOfCompartmentTypes (Model_t *m) |
| Get the list of CompartmentType_t structures contained in the given Model_t structure. | |
| ListOf_t * | Model_getListOfConstraints (Model_t *m) |
| Get the list of Constraint_t structures contained in the given Model_t structure. | |
| ListOf_t * | Model_getListOfEvents (Model_t *m) |
| Get the list of Event_t structures contained in the given Model_t structure. | |
| ListOf_t * | Model_getListOfFunctionDefinitions (Model_t *m) |
| Get the list of FunctionDefinition_t structures contained in the given Model_t structure. | |
| ListOf_t * | Model_getListOfInitialAssignments (Model_t *m) |
| Get the list of InitialAssignment_t structures contained in the given Model_t structure. | |
| ListOf_t * | Model_getListOfParameters (Model_t *m) |
| Get the list of Parameter_t structures contained in the given Model_t structure. | |
| ListOf_t * | Model_getListOfReactions (Model_t *m) |
| Get the list of Reaction_t structures contained in the given Model_t structure. | |
| ListOf_t * | Model_getListOfRules (Model_t *m) |
| Get the list of Rule_t structures contained in the given Model_t structure. | |
| ListOf_t * | Model_getListOfSpecies (Model_t *m) |
| Get the list of Species_t structures contained in the given Model_t structure. | |
| ListOf_t * | Model_getListOfSpeciesTypes (Model_t *m) |
| Get the list of SpeciesType_t structures contained in the given Model_t structure. | |
| ListOf_t * | Model_getListOfUnitDefinitions (Model_t *m) |
| Get the list of UnitDefinition_t structures contained in the given Model_t structure. | |
| ModelHistory_t * | Model_getModelHistory (Model_t *m) |
| Returns the ModelHistory of the given Model_t structure. | |
| const char * | Model_getName (const Model_t *m) |
| Get the name of the given Model_t structure. | |
| const XMLNamespaces_t * | Model_getNamespaces (Model_t *c) |
| Returns a list of XMLNamespaces_t associated with this Model_t structure. | |
| unsigned int | Model_getNumCompartments (const Model_t *m) |
| Get the number of Compartment_t structures in the given Model_t structure. | |
| unsigned int | Model_getNumCompartmentTypes (const Model_t *m) |
| Get the number of CompartmentType_t structures in the given Model_t structure. | |
| unsigned int | Model_getNumConstraints (const Model_t *m) |
| Get the number of Constraint_t structures in the given Model_t structure. | |
| unsigned int | Model_getNumEvents (const Model_t *m) |
| Get the number of Event_t structures in the given Model_t structure. | |
| unsigned int | Model_getNumFunctionDefinitions (const Model_t *m) |
| Get the number of FunctionDefinition_t structures in the given Model_t structure. | |
| unsigned int | Model_getNumInitialAssignments (const Model_t *m) |
| Get the number of InitialAssignment_t structures in the given Model_t structure. | |
| unsigned int | Model_getNumParameters (const Model_t *m) |
| Get the number of Parameter_t structures in the given Model_t structure. | |
| unsigned int | Model_getNumReactions (const Model_t *m) |
| Get the number of Reaction_t structures in the given Model_t structure. | |
| unsigned int | Model_getNumRules (const Model_t *m) |
| Get the number of Rule_t structures in the given Model_t structure. | |
| unsigned int | Model_getNumSpecies (const Model_t *m) |
| Get the number of Specie_t structures in the given Model_t structure. | |
| unsigned int | Model_getNumSpeciesTypes (const Model_t *m) |
| Get the number of SpeciesType_t structures in the given Model_t structure. | |
| unsigned int | Model_getNumSpeciesWithBoundaryCondition (const Model_t *m) |
| Get the number of Species_t structure in this Model_t structure having nonzero values for their "boundaryCondition" attribute. | |
| unsigned int | Model_getNumUnitDefinitions (const Model_t *m) |
| Get the number of UnitDefinition_t structures in the given Model_t structure. | |
| Parameter_t * | Model_getParameter (Model_t *m, unsigned int n) |
| Get the nth Parameter_t structure contained in the given Model_t structure. | |
| Parameter_t * | Model_getParameterById (Model_t *m, const char *sid) |
Get the Parameter_t structure whose identifier is sid in the given Model_t structure. | |
| Reaction_t * | Model_getReaction (Model_t *m, unsigned int n) |
| Get the nth Reaction_t structure contained in the given Model_t structure. | |
| Reaction_t * | Model_getReactionById (Model_t *m, const char *sid) |
Get the Reaction_t structure whose identifier is sid in the given Model_t structure. | |
| Rule_t * | Model_getRule (Model_t *m, unsigned int n) |
| Get the nth Rule_t structure contained in the given Model_t structure. | |
| Rule_t * | Model_getRuleByVar (Model_t *m, const char *variable) |
| Species_t * | Model_getSpecies (Model_t *m, unsigned int n) |
| Get the nth Species_t structure contained in the given Model_t structure. | |
| Species_t * | Model_getSpeciesById (Model_t *m, const char *sid) |
Get the Species_t structure whose identifier is sid in the given Model_t structure. | |
| SpeciesReference_t * | Model_getSpeciesReferenceById (Model_t *m, const char *sid) |
Get the SpeciesReference_t structure whose identifier is sid in the given Model_t structure. | |
| SpeciesType_t * | Model_getSpeciesType (Model_t *m, unsigned int n) |
| Get the nth SpeciesType_t structure contained in the given Model_t structure. | |
| SpeciesType_t * | Model_getSpeciesTypeById (Model_t *m, const char *sid) |
Get the SpeciesType_t structure whose identifier is sid in the given Model_t structure. | |
| const char * | Model_getSubstanceUnits (const Model_t *m) |
| Get the substanceUnits of the given Model_t structure. | |
| const char * | Model_getTimeUnits (const Model_t *m) |
| Get the timeUnits of the given Model_t structure. | |
| UnitDefinition_t * | Model_getUnitDefinition (Model_t *m, unsigned int n) |
| Get the nth UnitDefinition_t structure contained in the given Model_t structure. | |
| UnitDefinition_t * | Model_getUnitDefinitionById (Model_t *m, const char *sid) |
Get the UnitDefinition_t structure whose identifier is sid in the given Model_t structure. | |
| const char * | Model_getVolumeUnits (const Model_t *m) |
| Get the volumeUnits of the given Model_t structure. | |
| int | Model_isPopulatedListFormulaUnitsData (Model_t *m) |
| int | Model_isSetAreaUnits (const Model_t *m) |
| Predicate for testing whether the areaUnits of a given Model_t structure is assigned. | |
| int | Model_isSetConversionFactor (const Model_t *m) |
| Predicate for testing whether the conversionFactor of a given Model_t structure is assigned. | |
| int | Model_isSetExtentUnits (const Model_t *m) |
| Predicate for testing whether the extentUnits of a given Model_t structure is assigned. | |
| int | Model_isSetId (const Model_t *m) |
| Predicate for testing whether the identifier of a given Model_t structure is assigned. | |
| int | Model_isSetLengthUnits (const Model_t *m) |
| Predicate for testing whether the lengthUnits of a given Model_t structure is assigned. | |
| int | Model_isSetModelHistory (Model_t *m) |
| Predicate for testing whether the ModelHistory of a given Model_t structure is assigned. | |
| int | Model_isSetName (const Model_t *m) |
| Predicate for testing whether the name of a given Model_t structure is assigned. | |
| int | Model_isSetSubstanceUnits (const Model_t *m) |
| Predicate for testing whether the substanceUnits of a given Model_t structure is assigned. | |
| int | Model_isSetTimeUnits (const Model_t *m) |
| Predicate for testing whether the timeUnits of a given Model_t structure is assigned. | |
| int | Model_isSetVolumeUnits (const Model_t *m) |
| Predicate for testing whether the volumeUnits of a given Model_t structure is assigned. | |
| void | Model_populateListFormulaUnitsData (Model_t *m) |
| Compartment_t * | Model_removeCompartment (Model_t *m, unsigned int n) |
| Removes the nth Compartment_t object from this Model_t object and returns a pointer to it. | |
| Compartment_t * | Model_removeCompartmentById (Model_t *m, const char *sid) |
| Removes the Compartment_t object with the given "id" attribute from this Model_t object and returns a pointer to it. | |
| CompartmentType_t * | Model_removeCompartmentType (Model_t *m, unsigned int n) |
| Removes the nth CompartmentType_t object from this Model_t object and returns a pointer to it. | |
| CompartmentType_t * | Model_removeCompartmentTypeById (Model_t *m, const char *sid) |
| Removes the CompartmentType_t object with the given "id" attribute from this Model_t object and returns a pointer to it. | |
| Constraint_t * | Model_removeConstraint (Model_t *m, unsigned int n) |
| Removes the nth Constraint_t object from this Model_t object and returns a pointer to it. | |
| Event_t * | Model_removeEvent (Model_t *m, unsigned int n) |
| Removes the nth Event_t object from this Model_t object and returns a pointer to it. | |
| Event_t * | Model_removeEventById (Model_t *m, const char *sid) |
| Removes the Event_t object with the given "id" attribute from this Model_t object and returns a pointer to it. | |
| FunctionDefinition_t * | Model_removeFunctionDefinition (Model_t *m, unsigned int n) |
| Removes the nth FunctionDefinition_t object from this Model_t object and returns a pointer to it. | |
| FunctionDefinition_t * | Model_removeFunctionDefinitionById (Model_t *m, const char *sid) |
| Removes the FunctionDefinition_t object with the given "id" attribute from this Model_t object and returns a pointer to it. | |
| InitialAssignment_t * | Model_removeInitialAssignment (Model_t *m, unsigned int n) |
| Removes the nth InitialAssignment_t object from this Model_t object and returns a pointer to it. | |
| InitialAssignment_t * | Model_removeInitialAssignmentBySym (Model_t *m, const char *symbol) |
| Removes the InitialAssignment_t object with the given "symbol" attribute from this Model_t object and returns a pointer to it. | |
| Parameter_t * | Model_removeParameter (Model_t *m, unsigned int n) |
| Removes the nth Parameter_t object from this Model_t object and returns a pointer to it. | |
| Parameter_t * | Model_removeParameterById (Model_t *m, const char *sid) |
| Removes the Parameter_t object with the given "id" attribute from this Model_t object and returns a pointer to it. | |
| Reaction_t * | Model_removeReaction (Model_t *m, unsigned int n) |
| Removes the nth Reaction_t object from this Model_t object and returns a pointer to it. | |
| Reaction_t * | Model_removeReactionById (Model_t *m, const char *sid) |
| Removes the Reaction_t object with the given "id" attribute from this Model_t object and returns a pointer to it. | |
| Rule_t * | Model_removeRule (Model_t *m, unsigned int n) |
| Removes the nth Rule_t object from this Model_t object and returns a pointer to it. | |
| Rule_t * | Model_removeRuleByVar (Model_t *m, const char *variable) |
| Removes the Rule_t object with the given "variable" attribute from this Model_t object and returns a pointer to it. | |
| Species_t * | Model_removeSpecies (Model_t *m, unsigned int n) |
| Removes the nth Species_t object from this Model_t object and returns a pointer to it. | |
| Species_t * | Model_removeSpeciesById (Model_t *m, const char *sid) |
| Removes the Species_t object with the given "id" attribute from this Model_t object and returns a pointer to it. | |
| SpeciesType_t * | Model_removeSpeciesType (Model_t *m, unsigned int n) |
| Removes the nth SpeciesType_t object from this Model_t object and returns a pointer to it. | |
| SpeciesType_t * | Model_removeSpeciesTypeById (Model_t *m, const char *sid) |
| Removes the SpeciesType_t object with the given "id" attribute from this Model_t object and returns a pointer to it. | |
| UnitDefinition_t * | Model_removeUnitDefinition (Model_t *m, unsigned int n) |
| Removes the nth UnitDefinition_t object from this Model_t object and returns a pointer to it. | |
| UnitDefinition_t * | Model_removeUnitDefinitionById (Model_t *m, const char *sid) |
| Removes the UnitDefinition_t object with the given "id" attribute from this Model_t object and returns a pointer to it. | |
| int | Model_setAreaUnits (Model_t *m, const char *units) |
| Set the areaUnits attribute of a given Model_t structure. | |
| int | Model_setConversionFactor (Model_t *m, const char *sid) |
| Set the conversionFactor attribute of a given Model_t structure. | |
| int | Model_setExtentUnits (Model_t *m, const char *units) |
| Set the extentUnits attribute of a given Model_t structure. | |
| int | Model_setId (Model_t *m, const char *sid) |
| Set the identifier of a given Model_t structure. | |
| int | Model_setLengthUnits (Model_t *m, const char *units) |
| Set the lengthUnits attribute of a given Model_t structure. | |
| int | Model_setModelHistory (Model_t *m, ModelHistory_t *history) |
| Set the ModelHistory of the given Model_t structure. | |
| int | Model_setName (Model_t *m, const char *name) |
| Set the identifier of the given Model_t structure. | |
| int | Model_setSubstanceUnits (Model_t *m, const char *units) |
| Set the substanceUnits attribute of a given Model_t structure. | |
| int | Model_setTimeUnits (Model_t *m, const char *units) |
| Set the timeUnits attribute of a given Model_t structure. | |
| int | Model_setVolumeUnits (Model_t *m, const char *units) |
| Set the volumeUnits attribute of a given Model_t structure. | |
| int | Model_unsetAreaUnits (Model_t *m) |
| Unsets the "areaUnits" attribute of the given Model_t structure. | |
| int | Model_unsetConversionFactor (Model_t *m) |
| Unsets the "conversionFactor" attribute of the given Model_t structure. | |
| int | Model_unsetExtentUnits (Model_t *m) |
| Unsets the "extentUnits" attribute of the given Model_t structure. | |
| int | Model_unsetId (Model_t *m) |
| Unsets the "id" attribute of the given Model_t structure. | |
| int | Model_unsetLengthUnits (Model_t *m) |
| Unsets the "lengthUnits" attribute of the given Model_t structure. | |
| int | Model_unsetModelHistory (Model_t *m) |
| Unsets the ModelHistory of the given Model_t structure. | |
| int | Model_unsetName (Model_t *m) |
| Unsets the "name" attribute of the given Model_t structure. | |
| int | Model_unsetSubstanceUnits (Model_t *m) |
| Unsets the "substanceUnits" attribute of the given Model_t structure. | |
| int | Model_unsetTimeUnits (Model_t *m) |
| Unsets the "timeUnits" attribute of the given Model_t structure. | |
| int | Model_unsetVolumeUnits (Model_t *m) |
| Unsets the "volumeUnits" attribute of the given Model_t structure. | |
| int Model_addCompartment | ( | Model_t * | m, |
| const Compartment_t * | c | ||
| ) |
Adds a copy of a Compartment_t structure to a given Model_t structure.
| m | the Model_t structure |
| c | the Compartment_t structure to copy and add |
| int Model_addCompartmentType | ( | Model_t * | m, |
| const CompartmentType_t * | ct | ||
| ) |
Adds a copy of a CompartmentType_t structure to a given Model_t structure.
| m | the Model_t structure |
| ct | the CompartmentType_t structure to copy and add |
| int Model_addConstraint | ( | Model_t * | m, |
| const Constraint_t * | c | ||
| ) |
Adds a copy of a Constraint_t structure to a given Model_t structure.
| m | the Model_t structure |
| c | the Constraint_t structure to copy and add |
| int Model_addEvent | ( | Model_t * | m, |
| const Event_t * | e | ||
| ) |
Adds a copy of a Event_t structure to a given Model_t structure.
| m | the Model_t structure |
| e | the Event_t structure to copy and add |
| int Model_addFunctionDefinition | ( | Model_t * | m, |
| const FunctionDefinition_t * | fd | ||
| ) |
Adds a copy of a FunctionDefinition_t structure to a given Model_t structure.
| m | the Model_t structure |
| fd | the FunctionDefinition_t structure to copy and add |
| int Model_addInitialAssignment | ( | Model_t * | m, |
| const InitialAssignment_t * | ia | ||
| ) |
Adds a copy of a InitialAssignment_t structure to a given Model_t structure.
| m | the Model_t structure |
| ia | the InitialAssignment_t structure to copy and add |
| int Model_addParameter | ( | Model_t * | m, |
| const Parameter_t * | p | ||
| ) |
Adds a copy of a Parameter_t structure to a given Model_t structure.
| m | the Model_t structure |
| p | the Parameter_t structure to copy and add |
| int Model_addReaction | ( | Model_t * | m, |
| const Reaction_t * | r | ||
| ) |
Adds a copy of a Reaction_t structure to a given Model_t structure.
| m | the Model_t structure |
| r | the Reaction_t structure to copy and add |
| int Model_addRule | ( | Model_t * | m, |
| const Rule_t * | r | ||
| ) |
Adds a copy of a Rule_t structure to a given Model_t structure.
| m | the Model_t structure |
| r | the Rule_t structure to copy and add |
| int Model_addSpecies | ( | Model_t * | m, |
| const Species_t * | s | ||
| ) |
Adds a copy of a Species_t structure to a given Model_t structure.
| m | the Model_t structure |
| s | the Species_t structure to copy and add |
| int Model_addSpeciesType | ( | Model_t * | m, |
| const SpeciesType_t * | st | ||
| ) |
Adds a copy of a SpeciesType_t structure to a given Model_t structure.
| m | the Model_t structure |
| st | the SpeciesType_t structure to copy and add |
| int Model_addUnitDefinition | ( | Model_t * | m, |
| const UnitDefinition_t * | ud | ||
| ) |
Adds a copy of a UnitDefinition_t structure to a given Model_t structure.
| m | the Model_t structure |
| ud | the UnitDefinition_t structure to copy and add |
| Model_t* Model_clone | ( | const Model_t * | m | ) |
Creates and returns a deep copy of a given Model_t structure.
| m | the Model_t structure to copy |
| Model_t* Model_create | ( | unsigned int | level, |
| unsigned int | version | ||
| ) |
Creates a new Model_t structure using the given SBML level and version values.
| level | an unsigned int, the SBML Level to assign to this Model |
| version | an unsigned int, the SBML Version to assign to this Model |
level and version for the document override those used to create the Model. Despite this, the ability to supply the values at creation time is an important aid to creating valid SBML. Knowledge of the intended SBML Level and Version determine whether it is valid to assign a particular value to an attribute, or whether it is valid to add an object to an existing SBMLDocument. | Rule_t* Model_createAlgebraicRule | ( | Model_t * | m | ) |
Creates a new AlgebraicRule_t structure inside the given Model_t structure and returns a pointer to it.
| m | the Model_t structure |
| Rule_t* Model_createAssignmentRule | ( | Model_t * | m | ) |
Creates a new AssignmentRule_t structure inside the given Model_t structure and returns a pointer to it.
| m | the Model_t structure |
| Compartment_t* Model_createCompartment | ( | Model_t * | m | ) |
Creates a new Compartment_t structure inside the given Model_t and returns a pointer to it.
| m | the Model_t structure |
| CompartmentType_t* Model_createCompartmentType | ( | Model_t * | m | ) |
Creates a new CompartmentType_t structure inside the given Model_t and returns a pointer to it.
| m | the Model_t structure |
| Constraint_t* Model_createConstraint | ( | Model_t * | m | ) |
Creates a new Constraint_t structure inside the given Model_t structure and returns it.
| m | the Model_t structure |
| Delay_t* Model_createDelay | ( | Model_t * | m | ) |
Creates a new Delay_t structure inside the last Event_t structure created in the given Model_t structure, and returns a pointer to it.
The mechanism by which the last Event_t structure was created is not significant. It could have been created in a variety of ways, for example by using Model_createEvent(). If an Event_t structure does not exist, a new Delay_t structure is not created and NULL is returned instead.
| m | the Model_t structure |
| Event_t* Model_createEvent | ( | Model_t * | m | ) |
Creates a new Event inside the given Model_t structure and returns a pointer to it.
| m | the Model_t structure |
| EventAssignment_t* Model_createEventAssignment | ( | Model_t * | m | ) |
Creates a new EventAssignment_t structure inside the last Event_t structure created in the given Model_t structure, and returns a pointer to it.
The mechanism by which the last Event_t structure was created is not significant. It could have been created in a variety of ways, for example by using Model_createEvent(). If an Event_t structure does not exist, a new EventAssignment_t structure is not created and NULL is returned instead.
| m | the Model_t structure |
| FunctionDefinition_t* Model_createFunctionDefinition | ( | Model_t * | m | ) |
Creates a new FunctionDefinition_t structure inside the given Model_t and returns a pointer to it.
| m | the Model_t structure |
| InitialAssignment_t* Model_createInitialAssignment | ( | Model_t * | m | ) |
Creates a new InitialAssignment_t structure inside the given Model_t structure and returns it.
| m | the Model_t structure |
| KineticLaw_t* Model_createKineticLaw | ( | Model_t * | m | ) |
Creates a new KineticLaw_t structure inside the last Reaction_t structure in the given Model_t structure, and returns a pointer to it.
The mechanism by which the last Reaction_t structure was created and added to m is not significant. It could have been created in a variety of ways, for example using Model_createReaction(). If a Reaction_t structure does not exist for the model, or a Reaction_t structure exists but already contains a KineticLaw_t structure, a new KineticLaw_t is not created and NULL is returned instead.
| m | the Model_t structure |
| LocalParameter_t* Model_createKineticLawLocalParameter | ( | Model_t * | m | ) |
Creates a new LocalParameter_t structure inside the KineticLaw_t structure of the last Reaction_t structure created inside the given model, and returns a pointer to it.
The last KineticLaw_t structure could have been created in a variety of ways. For example, it could have been added using Model_createKineticLaw(), or it could be the result of using Reaction_createKineticLaw() on the Reaction_t structure created by a Model_createReaction(). If a Reaction_t structure does not exist for this model, or the last Reaction_t structure does not contain a KineticLaw_t structure, a new Parameter_t is not created and NULL is returned instead.
| m | the Model_t structure |
| Parameter_t* Model_createKineticLawParameter | ( | Model_t * | m | ) |
Creates a new local Parameter_t structure inside the KineticLaw_t structure of the last Reaction_t structure created inside the given model, and returns a pointer to it.
The last KineticLaw_t structure could have been created in a variety of ways. For example, it could have been added using Model_createKineticLaw(), or it could be the result of using Reaction_createKineticLaw() on the Reaction_t structure created by a Model_createReaction(). If a Reaction_t structure does not exist for this model, or the last Reaction_t structure does not contain a KineticLaw_t structure, a new Parameter_t is not created and NULL is returned instead.
| m | the Model_t structure |
| SpeciesReference_t* Model_createModifier | ( | Model_t * | m | ) |
Creates a new ModifierSpeciesReference_t structure for a reactant inside the last Reaction_t structure in the given Model_t structure, and returns a pointer to it.
The mechanism by which the last Reaction_t structure was created and added to m is not significant. It could have been created in a variety of ways, for example using Model_createReaction(). If a Reaction_t structure does not exist, a new ModifierSpeciesReference_t structure is not created and NULL is returned instead.
| m | the Model_t structure |
| Parameter_t* Model_createParameter | ( | Model_t * | m | ) |
Creates a new Parameter_t structure inside the given Model_t and returns a pointer to it.
| m | the Model_t structure |
| SpeciesReference_t* Model_createProduct | ( | Model_t * | m | ) |
Creates a new SpeciesReference_t structure for a product inside the last Reaction_t structure in the given Model_t structure, and returns a pointer to it.
The mechanism by which the last Reaction_t structure was created and added to m is not significant. It could have been created in a variety of ways, for example using Model_createReaction(). If a Reaction_t structure does not exist, a new SpeciesReference_t structure is not created and NULL is returned instead.
| m | the Model_t structure |
| Rule_t* Model_createRateRule | ( | Model_t * | m | ) |
Creates a new RateRule_t structure inside the given Model_t structure and returns a pointer to it.
| m | the Model_t structure |
| SpeciesReference_t* Model_createReactant | ( | Model_t * | m | ) |
Creates a new SpeciesReference_t structure for a reactant inside the last Reaction_t structure in the given Model_t structure, and returns a pointer to it.
The mechanism by which the last Reaction_t structure was created and added to m is not significant. It could have been created in a variety of ways, for example using Model_createReaction(). If a Reaction_t structure does not exist, a new SpeciesReference_t structure is not created and NULL is returned instead.
| m | the Model_t structure |
| Reaction_t* Model_createReaction | ( | Model_t * | m | ) |
Creates a new Reaction_t structure inside the given Model_t structure and returns a pointer to it.
| m | the Model_t structure |
| Species_t* Model_createSpecies | ( | Model_t * | m | ) |
Creates a new Species_t structure inside the given Model_t and returns a pointer to it.
| m | the Model_t structure |
| SpeciesType_t* Model_createSpeciesType | ( | Model_t * | m | ) |
Creates a new SpeciesType_t structure inside the given Model_t and returns a pointer to it.
| m | the Model_t structure |
| Trigger_t* Model_createTrigger | ( | Model_t * | m | ) |
Creates a new Trigger_t structure inside the last Event_t structure created in the given Model_t structure, and returns a pointer to it.
The mechanism by which the last Event_t structure was created is not significant. It could have been created in a variety of ways, for example by using Model_createEvent(). If an Event_t structure does not exist, a new Trigger_t structure is not created and NULL is returned instead.
| m | the Model_t structure |
| Unit_t* Model_createUnit | ( | Model_t * | m | ) |
Creates a new Unit_t structure inside the last UnitDefinition_t structure created in this model and returns a pointer to it.
The mechanism by which the UnitDefinition_t structure was created is not significant. If a UnitDefinition_t does not exist in this model, a new Unit_t structure is not created and NULL is returned instead.
| m | the Model_t structure |
NULL. | UnitDefinition_t* Model_createUnitDefinition | ( | Model_t * | m | ) |
Creates a new UnitDefinition_t structure inside the given Model_t and returns a pointer to it.
| m | the Model_t structure |
| Model_t* Model_createWithNS | ( | SBMLNamespaces_t * | sbmlns | ) |
Creates a new Model_t structure using the given SBMLNamespaces_t structure.
| sbmlns | SBMLNamespaces, a pointer to an SBMLNamespaces structure to assign to this Model |
sbmlns namespaces for the document override those used to create the Model. Despite this, the ability to supply the values at creation time is an important aid to creating valid SBML. Knowledge of the intended SBML Level and Version determine whether it is valid to assign a particular value to an attribute, or whether it is valid to add an object to an existing SBMLDocument. | void Model_free | ( | Model_t * | m | ) |
Frees the given Model_t structure.
| m | the Model_structure to free |
| const char* Model_getAreaUnits | ( | const Model_t * | m | ) |
Get the areaUnits of the given Model_t structure.
| m | the Model_t structure |
| Compartment_t* Model_getCompartment | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth Compartment_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the Compartment_t sought |
NULL if not found | Compartment_t* Model_getCompartmentById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Get the Compartment_t structure whose identifier is sid in the given Model_t structure.
| m | the Model_t structure |
| sid | the identifier of the Compartment_t structure sought |
NULL if not found | CompartmentType_t* Model_getCompartmentType | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth CompartmentType_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the CompartmentType_t sought |
NULL if not found | CompartmentType_t* Model_getCompartmentTypeById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Get the CompartmentType_t structure whose identifier is sid in the given Model_t structure.
| m | the Model_t structure |
| sid | the identifier of the CompartmentType_t structure sought |
NULL if not found | Constraint_t* Model_getConstraint | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth Constraint_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the Constraint_t sought |
NULL if not found | const char* Model_getConversionFactor | ( | const Model_t * | m | ) |
Get the conversionFactor of the given Model_t structure.
| m | the Model_t structure |
| Event_t* Model_getEvent | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth Event_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the Event_t sought |
NULL if not found | Event_t* Model_getEventById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Get the Event_t structure whose identifier is sid in the given Model_t structure.
| m | the Model_t structure |
| sid | the identifier of the Event_t structure sought |
NULL if not found | const char* Model_getExtentUnits | ( | const Model_t * | m | ) |
Get the extentUnits of the given Model_t structure.
| m | the Model_t structure |
| FunctionDefinition_t* Model_getFunctionDefinition | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth FunctionDefinition_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the FunctionDefinition_t sought |
NULL if not found | FunctionDefinition_t* Model_getFunctionDefinitionById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Get the FunctionDefinition_t structure whose identifier is sid in the given Model_t structure.
| m | the Model_t structure |
| sid | the identifier of the FunctionDefinition_t structure sought |
NULL if not found | const char* Model_getId | ( | const Model_t * | m | ) |
Get the identifier of the given Model_t structure.
| m | the Model_t structure |
| InitialAssignment_t* Model_getInitialAssignment | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth InitialAssignment_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the InitialAssignment_t sought |
NULL if not found | InitialAssignment_t* Model_getInitialAssignmentBySym | ( | Model_t * | m, |
| const char * | symbol | ||
| ) |
NULL if no such InitialAssignment exists.| m | the Model_t structure |
| const char* Model_getLengthUnits | ( | const Model_t * | m | ) |
Get the lengthUnits of the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfCompartments | ( | Model_t * | m | ) |
Get the list of Compartment_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfCompartmentTypes | ( | Model_t * | m | ) |
Get the list of CompartmentType_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfConstraints | ( | Model_t * | m | ) |
Get the list of Constraint_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfEvents | ( | Model_t * | m | ) |
Get the list of Event_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfFunctionDefinitions | ( | Model_t * | m | ) |
Get the list of FunctionDefinition_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfInitialAssignments | ( | Model_t * | m | ) |
Get the list of InitialAssignment_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfParameters | ( | Model_t * | m | ) |
Get the list of Parameter_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfReactions | ( | Model_t * | m | ) |
Get the list of Reaction_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfRules | ( | Model_t * | m | ) |
Get the list of Rule_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfSpecies | ( | Model_t * | m | ) |
Get the list of Species_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfSpeciesTypes | ( | Model_t * | m | ) |
Get the list of SpeciesType_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ListOf_t* Model_getListOfUnitDefinitions | ( | Model_t * | m | ) |
Get the list of UnitDefinition_t structures contained in the given Model_t structure.
| m | the Model_t structure |
| ModelHistory_t* Model_getModelHistory | ( | Model_t * | m | ) |
Returns the ModelHistory of the given Model_t structure.
| m | the Model_t structure |
| const char* Model_getName | ( | const Model_t * | m | ) |
Get the name of the given Model_t structure.
| m | the Model_t structure |
| const XMLNamespaces_t* Model_getNamespaces | ( | Model_t * | m | ) |
Returns a list of XMLNamespaces_t associated with this Model_t structure.
| m | the Model_t structure |
| unsigned int Model_getNumCompartments | ( | const Model_t * | m | ) |
Get the number of Compartment_t structures in the given Model_t structure.
| m | the Model_t structure |
m | unsigned int Model_getNumCompartmentTypes | ( | const Model_t * | m | ) |
Get the number of CompartmentType_t structures in the given Model_t structure.
| m | the Model_t structure |
m | unsigned int Model_getNumConstraints | ( | const Model_t * | m | ) |
Get the number of Constraint_t structures in the given Model_t structure.
| m | the Model_t structure |
m | unsigned int Model_getNumEvents | ( | const Model_t * | m | ) |
Get the number of Event_t structures in the given Model_t structure.
| m | the Model_t structure |
m | unsigned int Model_getNumFunctionDefinitions | ( | const Model_t * | m | ) |
Get the number of FunctionDefinition_t structures in the given Model_t structure.
| m | the Model_t structure |
m | unsigned int Model_getNumInitialAssignments | ( | const Model_t * | m | ) |
Get the number of InitialAssignment_t structures in the given Model_t structure.
| m | the Model_t structure |
m | unsigned int Model_getNumParameters | ( | const Model_t * | m | ) |
Get the number of Parameter_t structures in the given Model_t structure.
| m | the Model_t structure |
m | unsigned int Model_getNumReactions | ( | const Model_t * | m | ) |
Get the number of Reaction_t structures in the given Model_t structure.
| m | the Model_t structure |
m | unsigned int Model_getNumRules | ( | const Model_t * | m | ) |
Get the number of Rule_t structures in the given Model_t structure.
| m | the Model_t structure |
m | unsigned int Model_getNumSpecies | ( | const Model_t * | m | ) |
Get the number of Specie_t structures in the given Model_t structure.
| m | the Model_t structure |
m | unsigned int Model_getNumSpeciesTypes | ( | const Model_t * | m | ) |
Get the number of SpeciesType_t structures in the given Model_t structure.
| m | the Model_t structure |
m | unsigned int Model_getNumSpeciesWithBoundaryCondition | ( | const Model_t * | m | ) |
Get the number of Species_t structure in this Model_t structure having nonzero values for their "boundaryCondition" attribute.
| m | the Model_t structure |
| unsigned int Model_getNumUnitDefinitions | ( | const Model_t * | m | ) |
Get the number of UnitDefinition_t structures in the given Model_t structure.
| m | the Model_t structure |
m | Parameter_t* Model_getParameter | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth Parameter_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the Parameter_t sought |
NULL if not found | Parameter_t* Model_getParameterById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Get the Parameter_t structure whose identifier is sid in the given Model_t structure.
| m | the Model_t structure |
| sid | the identifier of the Parameter_t structure sought |
NULL if not found | Reaction_t* Model_getReaction | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth Reaction_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the Reaction_t sought |
NULL if not found | Reaction_t* Model_getReactionById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Get the Reaction_t structure whose identifier is sid in the given Model_t structure.
| m | the Model_t structure |
| sid | the identifier of the Reaction_t structure sought |
NULL if not found | Rule_t* Model_getRule | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth Rule_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the Rule_t sought |
NULL if not found | Rule_t* Model_getRuleByVar | ( | Model_t * | m, |
| const char * | variable | ||
| ) |
| Species_t* Model_getSpecies | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth Species_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the Species_t sought |
NULL if not found | Species_t* Model_getSpeciesById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Get the Species_t structure whose identifier is sid in the given Model_t structure.
| m | the Model_t structure |
| sid | the identifier of the Species_t structure sought |
NULL if not found | SpeciesReference_t* Model_getSpeciesReferenceById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Get the SpeciesReference_t structure whose identifier is sid in the given Model_t structure.
| m | the Model_t structure |
| sid | the identifier of the SpeciesReference_t structure sought |
NULL if not found | SpeciesType_t* Model_getSpeciesType | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth SpeciesType_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the SpeciesType_t sought |
NULL if not found | SpeciesType_t* Model_getSpeciesTypeById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Get the SpeciesType_t structure whose identifier is sid in the given Model_t structure.
| m | the Model_t structure |
| sid | the identifier of the SpeciesType_t structure sought |
NULL if not found | const char* Model_getSubstanceUnits | ( | const Model_t * | m | ) |
Get the substanceUnits of the given Model_t structure.
| m | the Model_t structure |
| const char* Model_getTimeUnits | ( | const Model_t * | m | ) |
Get the timeUnits of the given Model_t structure.
| m | the Model_t structure |
| UnitDefinition_t* Model_getUnitDefinition | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Get the nth UnitDefinition_t structure contained in the given Model_t structure.
| m | the Model_t structure |
| n | the integer index of the UnitDefinition_t sought |
NULL if not found | UnitDefinition_t* Model_getUnitDefinitionById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Get the UnitDefinition_t structure whose identifier is sid in the given Model_t structure.
| m | the Model_t structure |
| sid | the identifier of the UnitDefinition_t structure sought |
NULL if not found | const char* Model_getVolumeUnits | ( | const Model_t * | m | ) |
Get the volumeUnits of the given Model_t structure.
| m | the Model_t structure |
| int Model_isPopulatedListFormulaUnitsData | ( | Model_t * | m | ) |
| int Model_isSetAreaUnits | ( | const Model_t * | m | ) |
Predicate for testing whether the areaUnits of a given Model_t structure is assigned.
| m | the Model_t structure |
| int Model_isSetConversionFactor | ( | const Model_t * | m | ) |
Predicate for testing whether the conversionFactor of a given Model_t structure is assigned.
| m | the Model_t structure |
| int Model_isSetExtentUnits | ( | const Model_t * | m | ) |
Predicate for testing whether the extentUnits of a given Model_t structure is assigned.
| m | the Model_t structure |
| int Model_isSetId | ( | const Model_t * | m | ) |
Predicate for testing whether the identifier of a given Model_t structure is assigned.
| m | the Model_t structure |
| int Model_isSetLengthUnits | ( | const Model_t * | m | ) |
Predicate for testing whether the lengthUnits of a given Model_t structure is assigned.
| m | the Model_t structure |
| int Model_isSetModelHistory | ( | Model_t * | m | ) |
Predicate for testing whether the ModelHistory of a given Model_t structure is assigned.
| m | the Model_t structure |
| int Model_isSetName | ( | const Model_t * | m | ) |
Predicate for testing whether the name of a given Model_t structure is assigned.
| m | the Model_t structure |
| int Model_isSetSubstanceUnits | ( | const Model_t * | m | ) |
Predicate for testing whether the substanceUnits of a given Model_t structure is assigned.
| m | the Model_t structure |
| int Model_isSetTimeUnits | ( | const Model_t * | m | ) |
Predicate for testing whether the timeUnits of a given Model_t structure is assigned.
| m | the Model_t structure |
| int Model_isSetVolumeUnits | ( | const Model_t * | m | ) |
Predicate for testing whether the volumeUnits of a given Model_t structure is assigned.
| m | the Model_t structure |
| void Model_populateListFormulaUnitsData | ( | Model_t * | m | ) |
| Compartment_t* Model_removeCompartment | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth Compartment_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the Compartment_t sought |
NULL is returned if the given index is out of range. | Compartment_t* Model_removeCompartmentById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Removes the Compartment_t object with the given "id" attribute from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| sid | the string of the "id" attribute of the Compartment_t sought |
NULL is returned if no Compartment_t object with the identifier exists in this Model_t object. | CompartmentType_t* Model_removeCompartmentType | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth CompartmentType_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the CompartmentType_t sought |
NULL is returned if the given index is out of range. | CompartmentType_t* Model_removeCompartmentTypeById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Removes the CompartmentType_t object with the given "id" attribute from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| sid | the string of the "id" attribute of the CompartmentType_t sought |
NULL is returned if no CompartmentType_t object with the identifier exists in this Model_t object. | Constraint_t* Model_removeConstraint | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth Constraint_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the Constraint_t sought |
NULL is returned if the given index is out of range. | Event_t* Model_removeEvent | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth Event_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the Event_t sought |
NULL is returned if the given index is out of range. | Event_t* Model_removeEventById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Removes the Event_t object with the given "id" attribute from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| sid | the string of the "id" attribute of the Event_t sought |
NULL is returned if no Event_t object with the identifier exists in this Model_t object. | FunctionDefinition_t* Model_removeFunctionDefinition | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth FunctionDefinition_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the FunctionDefinition_t sought |
NULL is returned if the given index is out of range. | FunctionDefinition_t* Model_removeFunctionDefinitionById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Removes the FunctionDefinition_t object with the given "id" attribute from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| sid | the string of the "id" attribute of the FunctionDefinition_t sought |
NULL is returned if no FunctionDefinition_t object with the identifier exists in this Model_t object. | InitialAssignment_t* Model_removeInitialAssignment | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth InitialAssignment_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the InitialAssignment_t sought |
NULL is returned if the given index is out of range. | InitialAssignment_t* Model_removeInitialAssignmentBySym | ( | Model_t * | m, |
| const char * | symbol | ||
| ) |
Removes the InitialAssignment_t object with the given "symbol" attribute from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| sid | the string of the "symbol" attribute of the InitialAssignment_t sought |
NULL is returned if no InitialAssignment_t object with the "symbol" attribute exists in this Model_t object. | Parameter_t* Model_removeParameter | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth Parameter_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the Parameter_t sought |
NULL is returned if the given index is out of range. | Parameter_t* Model_removeParameterById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Removes the Parameter_t object with the given "id" attribute from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| sid | the string of the "id" attribute of the Parameter_t sought |
NULL is returned if no Parameter_t object with the identifier exists in this Model_t object. | Reaction_t* Model_removeReaction | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth Reaction_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the Reaction_t sought |
NULL is returned if the given index is out of range. | Reaction_t* Model_removeReactionById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Removes the Reaction_t object with the given "id" attribute from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| sid | the string of the "id" attribute of the Reaction_t sought |
NULL is returned if no Reaction_t object with the identifier exists in this Model_t object. | Rule_t* Model_removeRule | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth Rule_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the Rule_t sought |
NULL is returned if the given index is out of range. | Rule_t* Model_removeRuleByVar | ( | Model_t * | m, |
| const char * | variable | ||
| ) |
Removes the Rule_t object with the given "variable" attribute from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| sid | the string of the "variable" attribute of the Rule_t sought |
NULL is returned if no Rule_t object with the "variable" attribute exists in this Model_t object. | Species_t* Model_removeSpecies | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth Species_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the Species_t sought |
NULL is returned if the given index is out of range. | Species_t* Model_removeSpeciesById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Removes the Species_t object with the given "id" attribute from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| sid | the string of the "id" attribute of the Species_t sought |
NULL is returned if no Species_t object with the identifier exists in this Model_t object. | SpeciesType_t* Model_removeSpeciesType | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth SpeciesType_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the SpeciesType_t sought |
NULL is returned if the given index is out of range. | SpeciesType_t* Model_removeSpeciesTypeById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Removes the SpeciesType_t object with the given "id" attribute from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| sid | the string of the "id" attribute of the SpeciesType_t sought |
NULL is returned if no SpeciesType_t object with the identifier exists in this Model_t object. | UnitDefinition_t* Model_removeUnitDefinition | ( | Model_t * | m, |
| unsigned int | n | ||
| ) |
Removes the nth UnitDefinition_t object from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| n | the integer index of the UnitDefinition_t sought |
NULL is returned if the given index is out of range. | UnitDefinition_t* Model_removeUnitDefinitionById | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Removes the UnitDefinition_t object with the given "id" attribute from this Model_t object and returns a pointer to it.
The caller owns the returned object and is responsible for deleting it.
| m | the Model_t structure |
| sid | the string of the "id" attribute of the UnitDefinition_t sought |
NULL is returned if no UnitDefinition_t object with the identifier exists in this Model_t object. | int Model_setAreaUnits | ( | Model_t * | m, |
| const char * | units | ||
| ) |
Set the areaUnits attribute of a given Model_t structure.
This copies the string in units.
| m | the Model_t structure |
| units | the identifier string |
| int Model_setConversionFactor | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Set the conversionFactor attribute of a given Model_t structure.
This copies the string in sid.
| m | the Model_t structure |
| sid | the identifier string |
| int Model_setExtentUnits | ( | Model_t * | m, |
| const char * | units | ||
| ) |
Set the extentUnits attribute of a given Model_t structure.
This copies the string in units.
| m | the Model_t structure |
| units | the identifier string |
| int Model_setId | ( | Model_t * | m, |
| const char * | sid | ||
| ) |
Set the identifier of a given Model_t structure.
This copies the string in sid.
| m | the Model_t structure |
| sid | the identifier string |
| int Model_setLengthUnits | ( | Model_t * | m, |
| const char * | units | ||
| ) |
Set the lengthUnits attribute of a given Model_t structure.
This copies the string in units.
| m | the Model_t structure |
| units | the identifier string |
| int Model_setModelHistory | ( | Model_t * | m, |
| ModelHistory_t * | history | ||
| ) |
Set the ModelHistory of the given Model_t structure.
| m | the Model_t structure |
| history | the ModelHistory_t structure |
| int Model_setName | ( | Model_t * | m, |
| const char * | name | ||
| ) |
Set the identifier of the given Model_t structure.
This copies the string in name.
| m | the Model_t structure |
| name | the name string |
| int Model_setSubstanceUnits | ( | Model_t * | m, |
| const char * | units | ||
| ) |
Set the substanceUnits attribute of a given Model_t structure.
This copies the string in units.
| m | the Model_t structure |
| units | the identifier string |
| int Model_setTimeUnits | ( | Model_t * | m, |
| const char * | units | ||
| ) |
Set the timeUnits attribute of a given Model_t structure.
This copies the string in units.
| m | the Model_t structure |
| units | the identifier string |
| int Model_setVolumeUnits | ( | Model_t * | m, |
| const char * | units | ||
| ) |
Set the volumeUnits attribute of a given Model_t structure.
This copies the string in units.
| m | the Model_t structure |
| units | the identifier string |
| int Model_unsetAreaUnits | ( | Model_t * | m | ) |
Unsets the "areaUnits" attribute of the given Model_t structure.
| m | the Model_t structure |
| int Model_unsetConversionFactor | ( | Model_t * | m | ) |
Unsets the "conversionFactor" attribute of the given Model_t structure.
| m | the Model_t structure |
| int Model_unsetExtentUnits | ( | Model_t * | m | ) |
Unsets the "extentUnits" attribute of the given Model_t structure.
| m | the Model_t structure |
| int Model_unsetId | ( | Model_t * | m | ) |
Unsets the "id" attribute of the given Model_t structure.
| m | the Model_t structure |
| int Model_unsetLengthUnits | ( | Model_t * | m | ) |
Unsets the "lengthUnits" attribute of the given Model_t structure.
| m | the Model_t structure |
| int Model_unsetModelHistory | ( | Model_t * | m | ) |
Unsets the ModelHistory of the given Model_t structure.
| m | the Model_t structure |
| int Model_unsetName | ( | Model_t * | m | ) |
Unsets the "name" attribute of the given Model_t structure.
| m | the Model_t structure |
| int Model_unsetSubstanceUnits | ( | Model_t * | m | ) |
Unsets the "substanceUnits" attribute of the given Model_t structure.
| m | the Model_t structure |
| int Model_unsetTimeUnits | ( | Model_t * | m | ) |
Unsets the "timeUnits" attribute of the given Model_t structure.
| m | the Model_t structure |
| int Model_unsetVolumeUnits | ( | Model_t * | m | ) |
Unsets the "volumeUnits" attribute of the given Model_t structure.
| m | the Model_t structure |