COPASI API  4.16.103
CCompartmentGraphNode.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/layoutUI/CCompartmentGraphNode.h,v $
3 // $Revision: 1.1 $
4 // $Name: $
5 // $Author: gauges $
6 // $Date: 2008/09/15 15:03:13 $
7 // End CVS Header
8 
9 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
11 // and The University of Manchester.
12 // All rights reserved.
13 
14 #ifndef CCOMPARTMENTGRAPHNODE_H_
15 #define CCOMPARTMENTGRAPHNODE_H_
16 
17 #include "layout/CLGlyphs.h"
18 
20  {
21  private:
22  std::string mOrigNodeKey;
23  std::string mObjectKey; // corresponding sbml object key
24 
25  public:
27  const CCopasiContainer * pParent = NULL);
28 
29  CCompartmentGraphNode(const std::string & name = "GraphNode",
30  const CCopasiContainer * pParent = NULL);
31 
33  const CCopasiContainer * pParent = NULL);
34 
35  std::string getObjectKey(){return this->mObjectKey;}
36  void setObjectKey(std::string key){mObjectKey = key;}
37 
38  std::string getOrigNodeKey(){return this->mOrigNodeKey;}
39 
40  friend std::ostream & operator<<(std::ostream &os, const CCompartmentGraphNode & gn);
41  };
42 
43 #endif // CCOMPARTMENTGRAPHNODE_H_
friend std::ostream & operator<<(std::ostream &os, const CCompartmentGraphNode &gn)
void setObjectKey(std::string key)
CCompartmentGraphNode(const CCompartmentGraphNode &src, const CCopasiContainer *pParent=NULL)