copasi API
0.1
|
#include <CListOfLayouts.h>
Public Member Functions | |
CListOfLayouts (const std::string &name="ListOfLayouts", const CCopasiContainer *pParent=NULL) | |
~CListOfLayouts () | |
const std::string & | getKey () |
void | addLayout (CLayout *layout, const std::map< std::string, std::string > &m) |
void | exportToSBML (ListOf *lol, std::map< CCopasiObject *, SBase * > &copasimodelmap, const std::map< std::string, const SBase * > &idMap) const |
this class stores a list of layouts. It should also keep the maps that translate from sbml IDs to copas keys
CListOfLayouts::CListOfLayouts | ( | const std::string & | name = "ListOfLayouts" , |
const CCopasiContainer * | pParent = NULL |
||
) |
CListOfLayouts::~CListOfLayouts | ( | ) |
void CListOfLayouts::addLayout | ( | CLayout * | layout, |
const std::map< std::string, std::string > & | m | ||
) |
Add a layout to the list. At the moment the map is just ignored. Later it should be stored somewhere
void CListOfLayouts::exportToSBML | ( | ListOf * | lol, |
std::map< CCopasiObject *, SBase * > & | copasimodelmap, | ||
const std::map< std::string, const SBase * > & | idMap | ||
) | const |
This method writes the information of the copasi layout object into the corresponding sbml object. copasimodelmap maps the copasi model objects to libsbml objects. At the moment we don“t assume layout objects are in the copasimodelmap. idSet should contain all sbml IDs that are used in the currently exported model (including the layouts, but not the objects inside the layout).
const std::string & CListOfLayouts::getKey | ( | ) |