COPASI API  4.16.103
CModelMIRIAMInfo.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/MIRIAM/CModelMIRIAMInfo.h,v $
3 // $Revision: 1.17 $
4 // $Name: $
5 // $Author: aekamal $
6 // $Date: 2009/02/23 05:12:35 $
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 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
15 // Properties, Inc. and EML Research, gGmbH.
16 // All rights reserved.
17 
18 /**
19  * CMIRIAMInfo: Stores all MIRIAM info for a Model.
20  *
21  */
22 
23 #ifndef COPASI_CMODELMIRIAMINFO
24 #define COPASI_CMODELMIRIAMINFO
25 
26 #include <map>
27 
28 #include "copasi/MIRIAM/CCreator.h"
34 
37 
39  {
40  // Attributes
41  private:
42  std::string mKey;
51 
52  // Operations
53  public:
54  CMIRIAMInfo();
55  ~CMIRIAMInfo();
56  void load(const std::string& key = "");
57  bool save();
59 
60  const CCopasiVector <CCreator> & getCreators() const;
61  CCreator* createCreator(const std::string& objectName);
62  bool removeCreator(int position);
63  void loadCreators();
64 
66  CReference* createReference(const std::string& objectName);
67  bool removeReference(int position);
68  void loadReferences();
69 
70  const std::string getCreatedDT() const;
71  void setCreatedDT(const std::string& dt);
72 
74  CModification* createModification(const std::string& objectName);
75  bool removeModification(int position);
76  void loadModifications();
77 
80  bool removeBiologicalDescription(int position);
82 
83  virtual const std::string & getKey() const;
84  };
85 
86 #endif //COPASI_CMODELMIRIAMINFO
const CCopasiVector< CCreator > & getCreators() const
void load(const std::string &key="")
const CCopasiVector< CBiologicalDescription > & getBiologicalDescriptions() const
CCopasiVector< CCreator > mCreators
CCopasiVector< CBiologicalDescription > mBiologicalDescriptions
bool removeModification(int position)
CReference * createReference(const std::string &objectName)
void loadBiologicalDescriptions()
virtual const std::string & getKey() const
CRDFTriplet mTriplet
bool removeReference(int position)
CRDFTriplet mCreated
const std::string getCreatedDT() const
CCreator * createCreator(const std::string &objectName)
CRDFGraph * getRDFGraph()
const CCopasiVector< CReference > & getReferences() const
CCopasiVector< CModification > mModifications
bool removeCreator(int position)
Header file of class CCopasiContainer.
CCopasiVector< CReference > mReferences
std::string mKey
CRDFObject mCreatedObj
CRDFGraph * mpRDFGraph
CModification * createModification(const std::string &objectName)
bool removeBiologicalDescription(int position)
void loadModifications()
void setCreatedDT(const std::string &dt)
CBiologicalDescription * createBiologicalDescription()
const CCopasiVector< CModification > & getModifications() const