libroadrunner C API
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...
 

Detailed Description

Network object model functions.

Function Documentation

◆ 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