COPASI API  4.16.103
Functions
CGraphNode.cpp File Reference
#include <cmath>
#include "copasi.h"
#include "CGraphNode.h"
#include "CVisParameters.h"
#include "layout/CLBase.h"
Include dependency graph for CGraphNode.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CGraphNode &gn)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CGraphNode gn 
)

Definition at line 67 of file CGraphNode.cpp.

References CLGraphicalObject::mBBox, CGraphNode::mLabelText, CGraphNode::mObjectKey, CGraphNode::morigNodeKey, and CGraphNode::msize.

68 {
69  os << "node key: " << gn.morigNodeKey << " size: " << gn.msize << std::endl;
70  os << "object key: " << gn.mObjectKey << std::endl;
71  os << "bounding box: " << gn.mBBox << std::endl;
72  os << "label: " << gn.mLabelText << std::endl;
73  //for (int i=0;i<gn.mConnectedCurveIndices.size();i++)
74  // os << gn.mConnectedCurveIndices[i] << std::endl;;
75 
76  return os;
77 }
std::string mLabelText
Definition: CGraphNode.h:35
CLBoundingBox mBBox
C_FLOAT64 msize
Definition: CGraphNode.h:31
std::string morigNodeKey
Definition: CGraphNode.h:32
std::string mObjectKey
Definition: CGraphNode.h:33