copasi API  0.1
Public Member Functions
CListOfLayouts Class Reference

#include <CListOfLayouts.h>

Inheritance diagram for CListOfLayouts:
CCopasiVector< CLayout > vector CCopasiContainer CCopasiObject

List of all members.

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

Detailed Description

this class stores a list of layouts. It should also keep the maps that translate from sbml IDs to copas keys


Constructor & Destructor Documentation

CListOfLayouts::CListOfLayouts ( const std::string &  name = "ListOfLayouts",
const CCopasiContainer pParent = NULL 
)
CListOfLayouts::~CListOfLayouts ( )

Member Function Documentation

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 ( )

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