copasi API
0.1
|
#include <CSensProblem.h>
Public Member Functions | |
CSensItem () | |
bool | isSingleObject () const |
void | setSingleObjectCN (const CCopasiObjectName &cn) |
const CCopasiObjectName & | getSingleObjectCN () const |
std::string | getSingleObjectDisplayName (const CCopasiDataModel *pDataModel) const |
void | setListType (CObjectLists::ListType lt) |
const CObjectLists::ListType & | getListType () const |
std::string | getListTypeDisplayName () const |
std::vector< CCopasiObject * > | getVariablesPointerList (CCopasiDataModel *pDataModel) |
bool | operator== (const CSensItem &rhs) const |
bool | operator!= (const CSensItem &rhs) const |
std::string | print (const CCopasiDataModel *pDataModel) const |
This class describes either one specific copasi object (represented by a registered object CN internally) or a list of objects (see CObjectLists class).
CSensItem::CSensItem | ( | ) |
const CObjectLists::ListType & CSensItem::getListType | ( | ) | const |
std::string CSensItem::getListTypeDisplayName | ( | ) | const |
const CCopasiObjectName & CSensItem::getSingleObjectCN | ( | ) | const |
std::string CSensItem::getSingleObjectDisplayName | ( | const CCopasiDataModel * | pDataModel | ) | const |
std::vector< CCopasiObject * > CSensItem::getVariablesPointerList | ( | CCopasiDataModel * | pDataModel | ) |
bool CSensItem::isSingleObject | ( | ) | const |
bool CSensItem::operator!= | ( | const CSensItem & | rhs | ) | const |
bool CSensItem::operator== | ( | const CSensItem & | rhs | ) | const |
std::string CSensItem::print | ( | const CCopasiDataModel * | pDataModel | ) | const |
Had to disable the output operator because the datamodel is needed to print a sensitivity item. std::ostream &operator<<(std::ostream &os, const CSensItem & si) { if (si.isSingleObject()) os << si.getSingleObjectDisplayName(); else os << si.getListTypeDisplayName();
return os; }
void CSensItem::setListType | ( | CObjectLists::ListType | lt | ) |
void CSensItem::setSingleObjectCN | ( | const CCopasiObjectName & | cn | ) |