libSBML C API  5.18.0
CompModelPlugin.cpp File Reference

Implementation of CompModelPlugin_t, the plugin class of comp package for the SBase_t element. More...

Include dependency graph for CompModelPlugin.cpp:

Functions

int CompModelPlugin_addPort (CompModelPlugin_t *cmp, const Port_t *p)
 
int CompModelPlugin_addSubmodel (CompModelPlugin_t *cmp, const Submodel_t *s)
 
Port_tCompModelPlugin_createPort (CompModelPlugin_t *cmp)
 
Submodel_tCompModelPlugin_createSubmodel (CompModelPlugin_t *cmp)
 
ListOf_tCompModelPlugin_getListOfPorts (CompModelPlugin_t *cmp)
 
ListOf_tCompModelPlugin_getListOfSubmodels (CompModelPlugin_t *cmp)
 
unsigned int CompModelPlugin_getNumPorts (CompModelPlugin_t *cmp)
 
unsigned int CompModelPlugin_getNumSubmodels (CompModelPlugin_t *cmp)
 
Port_tCompModelPlugin_getPort (CompModelPlugin_t *cmp, unsigned int n)
 
Port_tCompModelPlugin_getPortById (CompModelPlugin_t *cmp, const char *sid)
 
Submodel_tCompModelPlugin_getSubmodel (CompModelPlugin_t *cmp, unsigned int n)
 
Submodel_tCompModelPlugin_getSubmodelById (CompModelPlugin_t *cmp, const char *sid)
 
Port_tCompModelPlugin_removePort (CompModelPlugin_t *cmp, unsigned int n)
 
Submodel_tCompModelPlugin_removeSubmodel (CompModelPlugin_t *cmp, unsigned int n)
 

Detailed Description

Implementation of CompModelPlugin_t, the plugin class of comp package for the SBase_t element.

Author
Lucian Smith

Function Documentation

int CompModelPlugin_addPort ( CompModelPlugin_t cmp,
const Port_t p 
)
int CompModelPlugin_addSubmodel ( CompModelPlugin_t cmp,
const Submodel_t s 
)
Port_t* CompModelPlugin_createPort ( CompModelPlugin_t cmp)
Submodel_t* CompModelPlugin_createSubmodel ( CompModelPlugin_t cmp)
ListOf_t* CompModelPlugin_getListOfPorts ( CompModelPlugin_t cmp)
ListOf_t* CompModelPlugin_getListOfSubmodels ( CompModelPlugin_t cmp)
unsigned int CompModelPlugin_getNumPorts ( CompModelPlugin_t cmp)
unsigned int CompModelPlugin_getNumSubmodels ( CompModelPlugin_t cmp)
Port_t* CompModelPlugin_getPort ( CompModelPlugin_t cmp,
unsigned int  n 
)
Port_t* CompModelPlugin_getPortById ( CompModelPlugin_t cmp,
const char *  sid 
)
Submodel_t* CompModelPlugin_getSubmodel ( CompModelPlugin_t cmp,
unsigned int  n 
)
Submodel_t* CompModelPlugin_getSubmodelById ( CompModelPlugin_t cmp,
const char *  sid 
)
Port_t* CompModelPlugin_removePort ( CompModelPlugin_t cmp,
unsigned int  n 
)
Submodel_t* CompModelPlugin_removeSubmodel ( CompModelPlugin_t cmp,
unsigned int  n 
)