ExecutableModelFactory

class ExecutableModelFactory

A factory class to create ExecutableModel objects.

Public Static Functions

static ExecutableModel *createModel(const libsbml::SBMLDocument *sbml, const std::string &md5, const Dictionary *dict = 0)

creates a NEW object which must be deleted by the caller.

Parameters:
  • sbml – an sbml std::string

  • md5 – an md5 hash of the model string, used to check if we already created this model.

  • dict – a dictionary of options, this is typcally a LoadSBMLOptions object, but it may be any dictionary.

static ExecutableModel *createModel(std::istream &in, uint modelGeneratorOpt)
static ExecutableModel *regenerateModel(ExecutableModel *oldModel, libsbml::SBMLDocument *doc, uint options)