COPASI API  4.16.103
CObjectLists.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/model/CObjectLists.h,v $
3 // $Revision: 1.15 $
4 // $Name: $
5 // $Author: ssahle $
6 // $Date: 2011/09/16 13:56:03 $
7 // End CVS Header
8 
9 // Copyright (C) 2011 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., University of Heidelberg, and The University
11 // of Manchester.
12 // All rights reserved.
13 
14 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
15 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
16 // and The University of Manchester.
17 // All rights reserved.
18 
19 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
20 // Properties, Inc. and EML Research, gGmbH.
21 // All rights reserved.
22 
23 #ifndef COPASI_CObjectLists
24 #define COPASI_CObjectLists
25 
26 #include <vector>
27 #include <set>
28 
29 class CCopasiObject;
30 class CModel;
31 class CModelEntity;
32 class CMetab;
33 
35 {
36 public:
37 
38  enum ListType
39  {
42 
61 
65 
74 
83 
86 
89 
92 
95 
96  };
97 
98  static const std::string ListTypeName[];
99 
100  static
101  std::vector< CCopasiObject * > getListOfObjects(ListType t, const CModel* model);
102 
103  static
104  std::vector< const CCopasiObject * > getListOfConstObjects(ListType t, const CModel* model);
105 
106  static
107  bool existsFixedMetab(const CModel* model);
108 
109  /**
110  * Create a set of all entities which are event targets
111  * @return std::set< const CModelEntity * > eventTargets
112  */
113  static
114  std::set< const CModelEntity * > getEventTargets(const CModel* pModel);
115  //TODO: display names
116 
117 private:
118  typedef std::vector< const CCopasiObject * > ObjectList;
119 };
120 
121 #endif
static std::vector< const CCopasiObject * > getListOfConstObjects(ListType t, const CModel *model)
static bool existsFixedMetab(const CModel *model)
Definition: CMetab.h:178
std::vector< const CCopasiObject * > ObjectList
Definition: CObjectLists.h:118
static const std::string ListTypeName[]
Definition: CObjectLists.h:98
static std::vector< CCopasiObject * > getListOfObjects(ListType t, const CModel *model)
Definition: CModel.h:50
static std::set< const CModelEntity * > getEventTargets(const CModel *pModel)