COPASI API  4.16.103
CModified.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/MIRIAM/CModified.h,v $
3 // $Revision: 1.8 $
4 // $Name: $
5 // $Author: gauges $
6 // $Date: 2010/08/12 16:23:21 $
7 // End CVS Header
8 
9 // Copyright (C) 2010 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 /**
20  * CModified: Stores Modification dates.
21  */
22 
23 #ifndef COPASI_CMODIFIED
24 #define COPASI_CMODIFIED
25 
26 #include <string>
27 
30 
32 {
33  // Attributes
34 private:
35  /**
36  * Triplet in the RDF graph representing the reference.
37  */
39 
40  /**
41  * The predicate path to the node.
42  */
44 
45  /**
46  * The key of the object needed for the copasi tables.
47  */
48  std::string mKey;
49 
50  // Operations
51 public:
52  /**
53  * Default constructor
54  * @param const std::string & objectName
55  * @param const CCopasiContainer * pParent (default: NULL)
56  */
57  CModification(const std::string & objectName,
58  const CCopasiContainer * pParent = NULL);
59 
60  /**
61  * Specific constructor
62  * @param const CRDFTriplet & triplet
63  * @param const std::string & objectName (default: "")
64  * @param const CCopasiContainer * pParent (default: NULL)
65  */
66  CModification(const CRDFTriplet & triplet,
67  const std::string & objectName = "",
68  const CCopasiContainer * pParent = NULL);
69 
70  /**
71  * Copy constructor
72  * @param "const CModification &" src
73  * @param const CCopasiContainer * pParent (default: NULL)
74  */
75  CModification(const CModification & src,
76  const CCopasiContainer * pParent = NULL);
77 
78  /**
79  * Destructor
80  */
82 
83  const CRDFTriplet & getTriplet() const;
84 
85  virtual const std::string & getKey() const;
86 
87  void setDate(const std::string & date);
88 
89  const std::string & getDate() const;
90 };
91 
92 #endif //COPASI_CMODIFIED
std::string mKey
Definition: CModified.h:48
const CRDFTriplet & getTriplet() const
Definition: CModified.cpp:61
virtual const std::string & getKey() const
Definition: CModified.cpp:64
CRDFPredicate::Path mNodePath
Definition: CModified.h:43
const std::string & getDate() const
Definition: CModified.cpp:70
void setDate(const std::string &date)
Definition: CModified.cpp:67
CModification(const std::string &objectName, const CCopasiContainer *pParent=NULL)
Definition: CModified.cpp:26
CRDFTriplet mTriplet
Definition: CModified.h:38
std::vector< ePredicateType > Path
Definition: CRDFPredicate.h:91