COPASI API  4.16.103
Macros | Functions
CLGlyphs.cpp File Reference
#include <sbml/packages/layout/sbml/SpeciesGlyph.h>
#include <sbml/packages/layout/sbml/CompartmentGlyph.h>
#include <sbml/packages/layout/sbml/TextGlyph.h>
#include "CLGlyphs.h"
#include "report/CKeyFactory.h"
#include "copasi/report/CCopasiRootContainer.h"
Include dependency graph for CLGlyphs.cpp:

Go to the source code of this file.

Macros

#define USE_LAYOUT   1
 

Functions

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

Macro Definition Documentation

#define USE_LAYOUT   1

Definition at line 25 of file CLGlyphs.cpp.

Function Documentation

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

insert operator

Definition at line 97 of file CLGlyphs.cpp.

98 {
99  os << "MetabGlyph: " << dynamic_cast<const CLGraphicalObject&>(g);
100  return os;
101 }
std::ostream& operator<< ( std::ostream &  os,
const CLCompartmentGlyph g 
)

insert operator

Definition at line 169 of file CLGlyphs.cpp.

170 {
171  os << "CompartmentGlyph: " << dynamic_cast<const CLGraphicalObject&>(g);
172  return os;
173 }
std::ostream& operator<< ( std::ostream &  os,
const CLTextGlyph g 
)

insert operator

Definition at line 320 of file CLGlyphs.cpp.

References CLTextGlyph::getGraphicalObject(), CCopasiObject::getObjectName(), CLTextGlyph::mIsTextSet, and CLTextGlyph::mText.

321 {
322  os << "TextGlyph: " << dynamic_cast<const CLGraphicalObject&>(g);
323 
324  if (g.mIsTextSet)
325  os << " Explicit text is: \"" << g.mText << "\"\n";
326 
328 
329  if (tmp)
330  os << " Label for: \"" << tmp->getObjectName() << "\"\n";
331 
332  return os;
333 }
const std::string & getObjectName() const
bool mIsTextSet
Definition: CLGlyphs.h:126
CLGraphicalObject * getGraphicalObject() const
Definition: CLGlyphs.cpp:262
std::string mText
Definition: CLGlyphs.h:127