COPASI API  4.16.103
CLayoutInitializer.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/layout/CLayoutInitializer.h,v $
3 // $Revision: 1.2 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2007/02/16 16:56:07 $
7 // End CVS Header
8 
9 // Copyright (C) 2007 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc. and EML Research, gGmbH.
11 // All rights reserved.
12 
13 #ifndef LAYOUTINI_H
14 #define LAYOUTINI_H
15 
16 #include <map>
17 #include <string>
18 
19 class CLayout;
20 class CModel;
21 
22 class CLCompartmentGlyph;
23 class CCompartment;
24 
25 class CLMetabGlyph;
26 class CMetab;
27 
28 class CLReactionGlyph;
29 class CReaction;
30 
31 /**
32  * This class contains (static) methods that initialize
33  * the layout data structure from a copasi model.
34  * A proper layout is not generated, this is rather a
35  * starting point for the layout algorithms
36  */
38  {
39  public:
40 
41  /**
42  * one layout element is created for every model element.
43  * This acts as a pseudo constructor for a CLayout.
44  */
45  //static CLayout* createLayoutFromCModel(const CModel* model);
46 
47  protected:
49  static CLMetabGlyph * createMetabGlyph(const CMetab * m);
50 
52  const std::map<std::string, std::string> & mm);
53  };
54 
55 #endif
static CLCompartmentGlyph * createCompartmentGlyph(const CCompartment *c)
Definition: CMetab.h:178
static CLReactionGlyph * createReactionGlyph(const CReaction *r, const std::map< std::string, std::string > &mm)
Definition: CModel.h:50
static CLMetabGlyph * createMetabGlyph(const CMetab *m)