COPASI API
4.40.278
|
#include <SBMLUtils.h>
Static Public Member Functions | |
static void | collectIds (Model *pModel, std::map< std::string, const SBase * > &ids, std::map< std::string, const SBase * > &metaIds) |
static std::string | getIdFromSBase (const SBase *s) |
Static Protected Member Functions | |
template<class CType > | |
static std::string | getId (const CType *pA, C_INT32 level=2) |
|
static |
This method goes through the given SBML model and collects all ids and meta ids used in the model.
References CCopasiMessage::EXCEPTION, MCSBML, and CCopasiMessage::WARNING.
Referenced by CCellDesignerImporter::convertCellDesignerLayout(), CSBMLExporter::createSBMLDocument(), and SBMLImporter::preprocessNode().
|
staticprotected |
Referenced by getIdFromSBase().
|
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.
References getId().
Referenced by SBMLDocumentLoader::readListOfLayouts().