copasi API  0.1
Signals | Public Member Functions | Protected Member Functions
DataModelGUI Class Reference

#include <DataModelGUI.h>

List of all members.

Signals

void updateCompleteView ()
void notifyView (ListViews::ObjectType objectType, ListViews::Action action, const std::string &key="")

Public Member Functions

 DataModelGUI (QObject *parent)
void populateData ()
void updateCompartments ()
void updateMetabolites ()
void updateReactions ()
void updateModelValues ()
void updateFunctions ()
void updateEvents ()
void updateReportDefinitions ()
void updatePlots ()
void updateAllEntities ()
const IndexedNodegetRootNode () const
const IndexedNodegetNode (int id)
bool loadModel (const std::string &fileName)
bool createModel ()
bool saveModel (const std::string &fileName, bool overwriteFile=false)
bool updateMIRIAM (CMIRIAMResources &miriamResources)
bool importSBMLFromString (const std::string &sbmlDocumentText)
bool importSBML (const std::string &fileName)
std::string exportSBMLToString ()
bool exportSBML (const std::string &fileName, bool overwriteFile, int sbmlLevel, int sbmlVersion, bool exportIncomplete, bool exportCOPASIMIRIAM=true)
bool exportMathModel (const std::string &fileName, const std::string &filter, bool overwriteFile=false)
COutputDefinitionVectorgetPlotDefinitionList ()
void setQApp (QApplication *app)
QApplication * getQApp () const
QVariant data (const QModelIndex &index, int role) const
Qt::ItemFlags flags (const QModelIndex &index) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
QModelIndex parent (const QModelIndex &index) const
int rowCount (const QModelIndex &parent=QModelIndex()) const
int columnCount (const QModelIndex &parent=QModelIndex()) const
QModelIndex findIndexFromId (int id)
QModelIndex findIndexFromKey (const std::string &key)
int getId (const QModelIndex &index) const
std::string getKey (const QModelIndex &index) const
bool notify (ListViews::ObjectType objectType, ListViews::Action action, const std::string &key="")
void registerListView (ListViews *pListView)
void deregisterListView (ListViews *pListView)
void refreshInitialValues ()
void buildChangedObjects ()
void setFramework (int framework)
void updateMIRIAMResourceContents ()
void commit ()

Protected Member Functions

bool insertRow (int parentId, const std::string &key)
bool removeRow (const std::string &key)
void changeRow (const std::string &key)

Constructor & Destructor Documentation

DataModelGUI::DataModelGUI ( QObject *  parent)

Member Function Documentation

void DataModelGUI::buildChangedObjects ( )
void DataModelGUI::changeRow ( const std::string &  key) [protected]
int DataModelGUI::columnCount ( const QModelIndex &  parent = QModelIndex()) const
void DataModelGUI::commit ( )
bool DataModelGUI::createModel ( )
QVariant DataModelGUI::data ( const QModelIndex &  index,
int  role 
) const
void DataModelGUI::deregisterListView ( ListViews pListView)
bool DataModelGUI::exportMathModel ( const std::string &  fileName,
const std::string &  filter,
bool  overwriteFile = false 
)
bool DataModelGUI::exportSBML ( const std::string &  fileName,
bool  overwriteFile,
int  sbmlLevel,
int  sbmlVersion,
bool  exportIncomplete,
bool  exportCOPASIMIRIAM = true 
)
std::string DataModelGUI::exportSBMLToString ( )
QModelIndex DataModelGUI::findIndexFromId ( int  id)
QModelIndex DataModelGUI::findIndexFromKey ( const std::string &  key)
Qt::ItemFlags DataModelGUI::flags ( const QModelIndex &  index) const
int DataModelGUI::getId ( const QModelIndex &  index) const
std::string DataModelGUI::getKey ( const QModelIndex &  index) const
const IndexedNode * DataModelGUI::getNode ( int  id)
COutputDefinitionVector& DataModelGUI::getPlotDefinitionList ( )
QApplication * DataModelGUI::getQApp ( ) const
const IndexedNode * DataModelGUI::getRootNode ( ) const
QVariant DataModelGUI::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
bool DataModelGUI::importSBML ( const std::string &  fileName)
bool DataModelGUI::importSBMLFromString ( const std::string &  sbmlDocumentText)
QModelIndex DataModelGUI::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
bool DataModelGUI::insertRow ( int  parentId,
const std::string &  key 
) [protected]
bool DataModelGUI::loadModel ( const std::string &  fileName)
bool DataModelGUI::notify ( ListViews::ObjectType  objectType,
ListViews::Action  action,
const std::string &  key = "" 
)
void DataModelGUI::notifyView ( ListViews::ObjectType  objectType,
ListViews::Action  action,
const std::string &  key = "" 
) [signal]
QModelIndex DataModelGUI::parent ( const QModelIndex &  index) const
void DataModelGUI::populateData ( )
void DataModelGUI::refreshInitialValues ( )
void DataModelGUI::registerListView ( ListViews pListView)
bool DataModelGUI::removeRow ( const std::string &  key) [protected]
int DataModelGUI::rowCount ( const QModelIndex &  parent = QModelIndex()) const
bool DataModelGUI::saveModel ( const std::string &  fileName,
bool  overwriteFile = false 
)
void DataModelGUI::setFramework ( int  framework)
void DataModelGUI::setQApp ( QApplication *  app)
void DataModelGUI::updateAllEntities ( )
void DataModelGUI::updateCompartments ( )
void DataModelGUI::updateCompleteView ( ) [signal]
void DataModelGUI::updateEvents ( )
void DataModelGUI::updateFunctions ( )
void DataModelGUI::updateMetabolites ( )
bool DataModelGUI::updateMIRIAM ( CMIRIAMResources miriamResources)
void DataModelGUI::updateMIRIAMResourceContents ( )
void DataModelGUI::updateModelValues ( )
void DataModelGUI::updatePlots ( )
void DataModelGUI::updateReactions ( )
void DataModelGUI::updateReportDefinitions ( )

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines