COPASI API  4.16.103
CLayoutState.h
Go to the documentation of this file.
1 // Copyright (C) 2013 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 #ifndef C_LAYOUT_STATE_H
7 #define C_LAYOUT_STATE_H
8 
9 #include <map>
10 #include <string>
11 
12 class CLayout;
13 class CLBoundingBox;
14 class CLCurve;
15 
17 {
18 public:
19  CLayoutState(const CLayout* layout);
20  virtual ~CLayoutState();
21 
22  void applyTo(CLayout *layout) const;
23 
24  static void tagLayout(CLayout* layout);
25 
26 protected:
27  typedef std::map<const std::string, CLBoundingBox*> StringBoundMap;
28  typedef std::map<const std::string, CLCurve*> StringCurveMap;
29  std::map<const std::string, CLBoundingBox*> mAdditionalState;
30  std::map<const std::string, CLBoundingBox*> mCompartmentState;
31  std::map<const std::string, CLBoundingBox*> mReactionState;
32  std::map<const std::string, CLBoundingBox*> mSpeciesState;
33  std::map<const std::string, CLBoundingBox*> mTextState;
34  std::map<const std::string, CLCurve*> mCurves;
35 };
36 
37 #endif //C_LAYOUT_STATE_H
std::map< const std::string, CLCurve * > mCurves
Definition: CLayoutState.h:34
static void tagLayout(CLayout *layout)
std::map< const std::string, CLBoundingBox * > StringBoundMap
Definition: CLayoutState.h:27
void applyTo(CLayout *layout) const
std::map< const std::string, CLBoundingBox * > mCompartmentState
Definition: CLayoutState.h:30
std::map< const std::string, CLCurve * > StringCurveMap
Definition: CLayoutState.h:28
CLayoutState(const CLayout *layout)
virtual ~CLayoutState()
std::map< const std::string, CLBoundingBox * > mSpeciesState
Definition: CLayoutState.h:32
std::map< const std::string, CLBoundingBox * > mAdditionalState
Definition: CLayoutState.h:29
std::map< const std::string, CLBoundingBox * > mTextState
Definition: CLayoutState.h:33
std::map< const std::string, CLBoundingBox * > mReactionState
Definition: CLayoutState.h:31