COPASI API  4.16.103
Macros | Functions
CLGraphicalObject.cpp File Reference
#include <sbml/packages/render/extension/RenderGraphicalObjectPlugin.h>
#include <sbml/packages/layout/sbml/GraphicalObject.h>
#include "CLGraphicalObject.h"
#include "report/CKeyFactory.h"
#include "sbml/CSBMLExporter.h"
#include "copasi/report/CCopasiRootContainer.h"
Include dependency graph for CLGraphicalObject.cpp:

Go to the source code of this file.

Macros

#define USE_LAYOUT   1
 
#define USE_RENDER   1
 

Functions

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

Macro Definition Documentation

#define USE_LAYOUT   1

Definition at line 15 of file CLGraphicalObject.cpp.

#define USE_RENDER   1

Definition at line 16 of file CLGraphicalObject.cpp.

Function Documentation

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

insert operator

Definition at line 157 of file CLGraphicalObject.cpp.

References CLGraphicalObject::getModelObjectDisplayName(), CCopasiObject::getObjectName(), and CLGraphicalObject::mBBox.

158 {
159  os << "GraphicalObject \"" << g.getObjectName() << "\" " << g.mBBox << std::endl;
160  std::string tmp = g.getModelObjectDisplayName();
161 
162  if (tmp != "")
163  os << " refers to " << tmp << std::endl;
164 
165  return os;
166 }
std::string getModelObjectDisplayName(bool regular=true, bool richtext=false) const
const std::string & getObjectName() const
CLBoundingBox mBBox