COPASI API
4.16.103
|
#include <SEDMLUtils.h>
Public Member Functions | |
int | processArchive (const std::string &archiveFile, std::string &fileName, std::string &fileContent) |
SEDMLUtils () | |
virtual | ~SEDMLUtils () |
Static Public Member Functions | |
static std::string | findIdByNameAndType (const std::map< CCopasiObject *, SBase * > &map, int typeCode, const std::string &name) |
static std::string | getNextId (const std::string &base, int count) |
static const CCopasiObject * | getObjectForSbmlId (const CModel *pModel, const std::string &id, const std::string &SBMLType, bool initial=false) |
static std::string | getXPathAndName (std::string &sbmlId, const std::string &type, const CModel *pModel, const CCopasiDataModel &dataModel) |
static std::string | getXPathForObject (const CCopasiObject &object) |
static std::string & | removeCharactersFromString (std::string &str, const std::string &characters) |
static const CCopasiObject * | resolveDatagenerator (const CModel *model, const SedDataGenerator *dataReference) |
static const CCopasiObject * | resolveXPath (const CModel *model, const std::string &xpath, bool initial=false) |
static void | splitStrings (const std::string &xpath, char delim, std::vector< std::string > &stringsContainer) |
static std::string | translateTargetXpathInSBMLId (const std::string &xpath, std::string &SBMLType) |
Definition at line 27 of file SEDMLUtils.h.
SEDMLUtils::SEDMLUtils | ( | ) |
Definition at line 455 of file SEDMLUtils.cpp.
|
virtual |
Definition at line 460 of file SEDMLUtils.cpp.
|
static |
Definition at line 26 of file SEDMLUtils.cpp.
Referenced by getXPathAndName().
|
static |
Definition at line 294 of file SEDMLUtils.cpp.
Referenced by CSEDMLExporter::createDataGenerators(), CSEDMLExporter::createScanTask(), CSEDMLExporter::createSteadyStateTask(), CSEDMLExporter::createTimeCourseTask(), and SEDMLImporter::readListOfPlotsFromSedMLOutput().
|
static |
Definition at line 375 of file SEDMLUtils.cpp.
References CModel::getCompartments(), CModel::getMetabolites(), CModel::getModelValues(), CCopasiContainer::getObject(), CModel::getReactions(), and CCopasiVector< T >::size().
Referenced by resolveXPath().
|
static |
Definition at line 65 of file SEDMLUtils.cpp.
References findIdByNameAndType(), removeCharactersFromString(), SEDML_TIME_URN, and splitStrings().
Referenced by CSEDMLExporter::createDataGenerators(), and getXPathForObject().
|
static |
Definition at line 284 of file SEDMLUtils.cpp.
References CCopasiDataModel::getModel(), CCopasiObject::getObjectDataModel(), CCopasiObject::getObjectDisplayName(), and getXPathAndName().
Referenced by CSEDMLExporter::createScanTask().
int SEDMLUtils::processArchive | ( | const std::string & | archiveFile, |
std::string & | fileName, | ||
std::string & | fileContent | ||
) |
Definition at line 300 of file SEDMLUtils.cpp.
|
static |
Definition at line 273 of file SEDMLUtils.cpp.
Referenced by CSEDMLExporter::createDataGenerators(), getXPathAndName(), and translateTargetXpathInSBMLId().
|
static |
Definition at line 203 of file SEDMLUtils.cpp.
References CCopasiContainer::getObject(), resolveXPath(), and SEDML_TIME_URN.
Referenced by SEDMLImporter::readListOfPlotsFromSedMLOutput().
|
static |
Definition at line 242 of file SEDMLUtils.cpp.
References CCopasiObject::getObject(), getObjectForSbmlId(), CCopasiObject::getObjectParent(), and translateTargetXpathInSBMLId().
Referenced by applyAttributeChange(), SEDMLImporter::importTasks(), and resolveDatagenerator().
|
static |
This is a hack at the moment better solution for processing XPath string may be developed in the future
Definition at line 344 of file SEDMLUtils.cpp.
Referenced by getXPathAndName(), and translateTargetXpathInSBMLId().
|
static |
Definition at line 219 of file SEDMLUtils.cpp.
References removeCharactersFromString(), and splitStrings().
Referenced by resolveXPath().