roadrunner  2.6.0
Fast simulator for SBML models
Functions
Network object model (NOM) functions

Network object model functions. More...

Functions

C_DECL_SPEC int rrcCallConv getNumberOfRules (RRHandle handle)
 Returns the number of rules in the current model. More...
 
C_DECL_SPEC char *rrcCallConv getModelName (RRHandle handle)
 Returns the name of currently loaded SBML model. More...
 
C_DECL_SPEC void rrcCallConv setModelName (RRHandle handle, char *name)
 Sets the name of currently loaded SBML model. More...
 
C_DECL_SPEC char *rrcCallConv getModelId (RRHandle handle)
 Returns the id of currently loaded SBML model. More...
 
C_DECL_SPEC void rrcCallConv setModelId (RRHandle handle, char *id)
 Sets the id of currently loaded SBML model. More...
 

Detailed Description

Network object model functions.

Function Documentation

◆ getModelId()

C_DECL_SPEC char* rrcCallConv getModelId ( RRHandle  handle)

Returns the id of currently loaded SBML model.

Parameters
[in]handleHandle to a RoadRunner instance
Returns
Returns a char* containing the id if successful, NULL otherwise

◆ getModelName()

C_DECL_SPEC char* rrcCallConv getModelName ( RRHandle  handle)

Returns the name of currently loaded SBML model.

Parameters
[in]handleHandle to a RoadRunner instance
Returns
Returns a char* containing the name if successful, NULL otherwise

◆ getNumberOfRules()

C_DECL_SPEC int rrcCallConv getNumberOfRules ( RRHandle  handle)

Returns the number of rules in the current model.

Parameters
[in]handleHandle to a RoadRunner instance
Returns
Returns an integer larger or equal to 0 if successful, or -1 on failure

◆ setModelId()

C_DECL_SPEC void rrcCallConv setModelId ( RRHandle  handle,
char *  id 
)

Sets the id of currently loaded SBML model.

Parameters
[in]handleHandle to a RoadRunner instance
[id]The new id to use

◆ setModelName()

C_DECL_SPEC void rrcCallConv setModelName ( RRHandle  handle,
char *  name 
)

Sets the name of currently loaded SBML model.

Parameters
[in]handleHandle to a RoadRunner instance
[name]The new name to use