copasi API
0.1
|
#include <COutputAssistant.h>
Static Public Member Functions | |
static std::vector< C_INT32 > | getListOfDefaultOutputDescriptions (const CCopasiProblem *problem=NULL) |
static C_INT32 | getDefaultReportIndex (const CCopasiProblem *problem) |
static C_INT32 | getDefaultPlotIndex (const CCopasiProblem *problem) |
static const std::string & | getItemName (C_INT32 id) |
static const CDefaultOutputDescription & | getItem (C_INT32 id) |
static CCopasiObject * | createDefaultOutput (C_INT32 id, CCopasiTask *task, CCopasiDataModel *pDataModel, bool activate=true) |
CCopasiObject * COutputAssistant::createDefaultOutput | ( | C_INT32 | id, |
CCopasiTask * | task, | ||
CCopasiDataModel * | pDataModel, | ||
bool | activate = true |
||
) | [static] |
create a plot or report from template with index id. returns a pointer to the plot or report definition (or NULL) if activate==true and the ouput is a report the report is set as the current report for the task (possibly replacing an already set report)
C_INT32 COutputAssistant::getDefaultPlotIndex | ( | const CCopasiProblem * | problem | ) | [static] |
get an index of a default plot that is recommended for the given problem. If no such plot exists, -1 is returned
C_INT32 COutputAssistant::getDefaultReportIndex | ( | const CCopasiProblem * | problem | ) | [static] |
get an index of a default output report that is recommended for the given problem. If no such report exists, -1 is returned
const CDefaultOutputDescription & COutputAssistant::getItem | ( | C_INT32 | id | ) | [static] |
get complete description of output definition with index id.
const std::string & COutputAssistant::getItemName | ( | C_INT32 | id | ) | [static] |
get title of output definition with index id.
std::vector< C_INT32 > COutputAssistant::getListOfDefaultOutputDescriptions | ( | const CCopasiProblem * | problem = NULL | ) | [static] |
get a list of indices of output definitions that are suitable for the problem. If problem=NULL (default) all indices in the map are returned.