copasi API  0.1
Static Public Member Functions | Static Protected Member Functions
SBMLUtils Class Reference

#include <SBMLUtils.h>

List of all members.

Static Public Member Functions

static std::string getIdFromSBase (const SBase *s)
static void collectIds (Model *pModel, std::map< std::string, const SBase * > &ids, std::map< std::string, const SBase * > &metaIds)

Static Protected Member Functions

template<class CType >
static std::string getId (const CType *pA, C_INT32 level=2)

Member Function Documentation

void SBMLUtils::collectIds ( Model *  pModel,
std::map< std::string, const SBase * > &  ids,
std::map< std::string, const SBase * > &  metaIds 
) [static]

This method goes through the given SBML model and collects all ids and meta ids used in the model.

template<class CType >
std::string SBMLUtils::getId ( const CType *  pA,
C_INT32  level = 2 
) [static, protected]
std::string SBMLUtils::getIdFromSBase ( const SBase *  s) [static]

Return the sbml ID if the sbml object actually has one. If not, it returns "". It only handles core sbml objects. No layout objects yet.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines