copasi API  0.1
Public Member Functions | Friends
CLReactionGlyph Class Reference

#include <CLReactionGlyph.h>

Inheritance diagram for CLReactionGlyph:
CLGraphicalObject CLBase CCopasiContainer CCopasiObject

List of all members.

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)
CLReactionGlyphoperator= (const CLReactionGlyph &rhs)
const CCopasiVector
< CLMetabReferenceGlyph > & 
getListOfMetabReferenceGlyphs () const
void addMetabReferenceGlyph (CLMetabReferenceGlyph *glyph)
const CLCurvegetCurve () const
CLCurvegetCurve ()
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)

Detailed Description

Graphical representation of a reaction


Constructor & Destructor Documentation

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


Member Function Documentation

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.

Parameters:
std::ostream* ostream

Reimplemented from CLGraphicalObject.

void CLReactionGlyph::setCurve ( const CLCurve c) [inline]

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CLReactionGlyph g 
) [friend]

insert operator


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