copasi API
0.1
|
#include <CLReactionGlyph.h>
Public Member Functions | |
CLReactionGlyph (const std::string &name="ReactionGlyph", const CCopasiContainer *pParent=NULL) | |
CLReactionGlyph (const CLReactionGlyph &src, const CCopasiContainer *pParent=NULL) | |
CLReactionGlyph (const ReactionGlyph &sbml, const std::map< std::string, std::string > &modelmap, std::map< std::string, std::string > &layoutmap, const CCopasiContainer *pParent=NULL) | |
CLReactionGlyph & | operator= (const CLReactionGlyph &rhs) |
const CCopasiVector < CLMetabReferenceGlyph > & | getListOfMetabReferenceGlyphs () const |
void | addMetabReferenceGlyph (CLMetabReferenceGlyph *glyph) |
const CLCurve & | getCurve () const |
CLCurve & | getCurve () |
void | setCurve (const CLCurve &c) |
virtual void | exportToSBML (ReactionGlyph *g, const std::map< CCopasiObject *, SBase * > &copasimodelmap, std::map< std::string, const SBase * > &sbmlIDs, std::map< const CLBase *, const SBase * > &layoutmap) const |
void | print (std::ostream *ostream) const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CLReactionGlyph &g) |
Graphical representation of a reaction
CLReactionGlyph::CLReactionGlyph | ( | const std::string & | name = "ReactionGlyph" , |
const CCopasiContainer * | pParent = NULL |
||
) |
CLReactionGlyph::CLReactionGlyph | ( | const CLReactionGlyph & | src, |
const CCopasiContainer * | pParent = NULL |
||
) |
CLReactionGlyph::CLReactionGlyph | ( | const ReactionGlyph & | sbml, |
const std::map< std::string, std::string > & | modelmap, | ||
std::map< std::string, std::string > & | layoutmap, | ||
const CCopasiContainer * | pParent = NULL |
||
) |
constructor from libsbml object
void CLReactionGlyph::addMetabReferenceGlyph | ( | CLMetabReferenceGlyph * | glyph | ) |
add Glyph to reaction glyph. The reaction glyph takes ownership of the glyph.
void CLReactionGlyph::exportToSBML | ( | ReactionGlyph * | g, |
const std::map< CCopasiObject *, SBase * > & | copasimodelmap, | ||
std::map< std::string, const SBase * > & | sbmlIDs, | ||
std::map< const CLBase *, const SBase * > & | layoutmap | ||
) | const [virtual] |
This method writes the information of the copasi layout object into the corresponding sbml object layoutmap contains a map from copasi layout objects to libsbml layout objects. the exported metab reference glyphs will be added.
const CLCurve& CLReactionGlyph::getCurve | ( | ) | const [inline] |
CLCurve& CLReactionGlyph::getCurve | ( | ) | [inline] |
const CCopasiVector<CLMetabReferenceGlyph>& CLReactionGlyph::getListOfMetabReferenceGlyphs | ( | ) | const [inline] |
CLReactionGlyph & CLReactionGlyph::operator= | ( | const CLReactionGlyph & | rhs | ) |
assignment operator. makes a deep copy
void CLReactionGlyph::print | ( | std::ostream * | ostream | ) | const [virtual] |
This is the output method for any object. The default implementation provided with CCopasiObject uses the ostream operator<< of the object to print the object.To override this default behavior one needs to reimplement the virtual print function.
std::ostream | * ostream |
Reimplemented from CLGraphicalObject.
void CLReactionGlyph::setCurve | ( | const CLCurve & | c | ) | [inline] |
std::ostream& operator<< | ( | std::ostream & | os, |
const CLReactionGlyph & | g | ||
) | [friend] |
insert operator