copasi API  0.1
Public Member Functions | Friends
CLCompartmentGlyph Class Reference

#include <CLGlyphs.h>

Inheritance diagram for CLCompartmentGlyph:
CLGraphicalObject CLBase CCopasiContainer CCopasiObject CCompartmentGraphNode

List of all members.

Public Member Functions

 CLCompartmentGlyph (const std::string &name="CompartmentGlyph", const CCopasiContainer *pParent=NULL)
 CLCompartmentGlyph (const CLCompartmentGlyph &src, const CCopasiContainer *pParent=NULL)
 CLCompartmentGlyph (const CompartmentGlyph &sbml, const std::map< std::string, std::string > &modelmap, std::map< std::string, std::string > &layoutmap, const CCopasiContainer *pParent=NULL)
CLCompartmentGlyphoperator= (const CLCompartmentGlyph &rhs)
void print (std::ostream *ostream) const
virtual void exportToSBML (CompartmentGlyph *cg, const std::map< CCopasiObject *, SBase * > &copasimodelmap, std::map< std::string, const SBase * > &sbmlIDs) const

Friends

std::ostream & operator<< (std::ostream &os, const CLCompartmentGlyph &g)

Detailed Description

Graphical representation of a compartment


Constructor & Destructor Documentation

CLCompartmentGlyph::CLCompartmentGlyph ( const std::string &  name = "CompartmentGlyph",
const CCopasiContainer pParent = NULL 
)
CLCompartmentGlyph::CLCompartmentGlyph ( const CLCompartmentGlyph src,
const CCopasiContainer pParent = NULL 
)
CLCompartmentGlyph::CLCompartmentGlyph ( const CompartmentGlyph &  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 CLCompartmentGlyph::exportToSBML ( CompartmentGlyph *  cg,
const std::map< CCopasiObject *, SBase * > &  copasimodelmap,
std::map< std::string, const SBase * > &  sbmlIDs 
) const [virtual]

This method writes the information of the copasi layout object into the corresponding sbml object

CLCompartmentGlyph & CLCompartmentGlyph::operator= ( const CLCompartmentGlyph rhs)

assignment operator

void CLCompartmentGlyph::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.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CLCompartmentGlyph 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