COPASI API
4.40.278
|
#include <SEDMLUtils.h>
Public Member Functions | |
std::string | getFirstModel (const std::string &taskId="") |
std::string | getFirstReport (const std::string &taskId) |
std::string | getFirstTaskWithOutput () |
std::set< std::string > | getModelForDataGen (SedDataGenerator *dg) |
std::set< std::string > | getModelForTask (const std::string &taskId) |
std::set< std::string > | getModelForTask (SedAbstractTask *task) |
std::vector< std::pair< std::string, std::string > > | getPlotsForTask (const std::string &taskId) |
std::string | getReportFileName (const std::string &reportId) |
std::vector< std::pair< std::string, std::string > > | getReportsForTask (const std::string &taskId) |
std::vector< std::pair< std::string, std::string > > | getTaskNames () |
std::set< std::string > | getTasks (const std::string &dgId) |
std::set< std::string > | getTasks (SedAbstractCurve *curve) |
std::set< std::string > | getTasks (SedDataGenerator *dg) |
std::set< std::string > | getTasks (SedOutput *output) |
std::set< std::string > | getTasks (SedSurface *surface) |
bool | hasOutputs (const std::string &taskId) |
bool | isComplex () |
bool | isRecursiveWithoutOutputs (SedAbstractTask *task) |
bool | isSupported () |
SedmlInfo (SedDocument *pDocument, bool ownDocument=false) | |
void | setReportFileName (const std::string &reportId, const std::string &fileName) |
~SedmlInfo () | |
Static Public Member Functions | |
static void | addSets (std::set< std::string > &target, const std::set< std::string > &source) |
static SedmlInfo | forArchive (const std::string &fileName) |
static SedmlInfo | forFile (const std::string &fileName) |
Private Attributes | |
bool | mComplex |
std::map< std::string, std::string > | mFileNames |
std::vector< std::string > | mMessages |
std::map< std::string, std::set< std::string > > | mOutputMap |
bool | mOwnDocument |
SedDocument * | mpDocument |
std::map< std::string, std::vector< std::pair< std::string, std::string > > > | mPlots |
std::map< std::string, std::vector< std::pair< std::string, std::string > > > | mReports |
bool | mSupported |
std::map< std::string, std::set< std::string > > | mTaskMap |
std::vector< std::pair< std::string, std::string > > | mTaskNames |
Utility class describing the SEDML document
SedmlInfo::SedmlInfo | ( | SedDocument * | pDocument, |
bool | ownDocument = false |
||
) |
References getModelForTask(), getTasks(), isRecursiveWithoutOutputs(), mComplex, mOutputMap, mPlots, mReports, mTaskMap, and mTaskNames.
Referenced by forArchive(), and forFile().
SedmlInfo::~SedmlInfo | ( | ) |
References mOwnDocument, mpDocument, and pdelete.
|
static |
Referenced by getModelForDataGen(), getModelForTask(), and getTasks().
|
static |
References SEDMLUtils::getSedMLStringForArchive(), and SedmlInfo().
|
static |
References SedmlInfo().
std::string SedmlInfo::getFirstModel | ( | const std::string & | taskId = "" | ) |
References mTaskMap.
std::string SedmlInfo::getFirstReport | ( | const std::string & | taskId | ) |
References mReports.
std::string SedmlInfo::getFirstTaskWithOutput | ( | ) |
References mOutputMap.
std::set< std::string > SedmlInfo::getModelForDataGen | ( | SedDataGenerator * | dg | ) |
References addSets(), and getModelForTask().
std::set< std::string > SedmlInfo::getModelForTask | ( | const std::string & | taskId | ) |
References getModelForTask(), and mpDocument.
std::set< std::string > SedmlInfo::getModelForTask | ( | SedAbstractTask * | task | ) |
References addSets(), and mTaskMap.
Referenced by getModelForDataGen(), getModelForTask(), and SedmlInfo().
std::vector< std::pair< std::string, std::string > > SedmlInfo::getPlotsForTask | ( | const std::string & | taskId | ) |
References mPlots.
std::string SedmlInfo::getReportFileName | ( | const std::string & | reportId | ) |
References mFileNames.
std::vector< std::pair< std::string, std::string > > SedmlInfo::getReportsForTask | ( | const std::string & | taskId | ) |
References mReports.
std::vector< std::pair< std::string, std::string > > SedmlInfo::getTaskNames | ( | ) |
References mTaskNames.
std::set< std::string > SedmlInfo::getTasks | ( | const std::string & | dgId | ) |
References mpDocument.
Referenced by getTasks(), and SedmlInfo().
std::set< std::string > SedmlInfo::getTasks | ( | SedAbstractCurve * | curve | ) |
References addSets(), and getTasks().
std::set< std::string > SedmlInfo::getTasks | ( | SedDataGenerator * | dg | ) |
std::set< std::string > SedmlInfo::getTasks | ( | SedOutput * | output | ) |
References addSets(), and getTasks().
std::set< std::string > SedmlInfo::getTasks | ( | SedSurface * | surface | ) |
References addSets(), and getTasks().
bool SedmlInfo::hasOutputs | ( | const std::string & | taskId | ) |
References mPlots, and mReports.
Referenced by isRecursiveWithoutOutputs().
bool SedmlInfo::isComplex | ( | ) |
References mComplex.
bool SedmlInfo::isRecursiveWithoutOutputs | ( | SedAbstractTask * | task | ) |
References hasOutputs().
Referenced by SedmlInfo().
bool SedmlInfo::isSupported | ( | ) |
References mSupported.
void SedmlInfo::setReportFileName | ( | const std::string & | reportId, |
const std::string & | fileName | ||
) |
References mFileNames.
|
private |
Referenced by isComplex(), and SedmlInfo().
|
private |
Referenced by getReportFileName(), and setReportFileName().
|
private |
|
private |
Referenced by getFirstTaskWithOutput(), and SedmlInfo().
|
private |
Referenced by ~SedmlInfo().
|
private |
Referenced by getModelForTask(), getTasks(), and ~SedmlInfo().
|
private |
Referenced by getPlotsForTask(), hasOutputs(), and SedmlInfo().
|
private |
Referenced by getFirstReport(), getReportsForTask(), hasOutputs(), and SedmlInfo().
|
private |
Referenced by isSupported().
|
private |
Referenced by getFirstModel(), getModelForTask(), and SedmlInfo().
|
private |
Referenced by getTaskNames(), and SedmlInfo().