COPASI API  4.16.103
CCreator.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/MIRIAM/CCreator.h,v $
3 // $Revision: 1.7 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2010/07/16 19:00:06 $
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  * CCreators: Stores author name, email and other (vCard) details.
21  *
22  *
23  */
24 
25 #ifndef COPASI_CCreator
26 #define COPASI_CCreator
27 
28 #include <string>
29 
32 
34 
35 class CCreator : public CCopasiContainer
36 {
37  // Attributes
38 private:
39  /**
40  * Triplet in the RDF graph representing the reference.
41  */
43 
44  /**
45  * The predicate path to the node.
46  */
48 
49  /**
50  * The key of the object needed for the COPASI tables.
51  */
52  std::string mKey;
53 
54  // Operations
55 public:
56  /**
57  * Default constructor
58  * @param const std::string & objectName
59  * @param const CCopasiContainer * pParent (default: NULL)
60  */
61  CCreator(const std::string & objectName,
62  const CCopasiContainer * pParent = NULL);
63 
64  /**
65  * Specific constructor
66  * @param const CRDFTriplet & triplet
67  * @param const std::string & objectName (default: "")
68  * @param const CCopasiContainer * pParent (default: NULL)
69  */
70  CCreator(const CRDFTriplet & triplet,
71  const std::string & objectName = "",
72  const CCopasiContainer * pParent = NULL);
73 
74  /**
75  * Copy constructor
76  * @param const CCreator & src
77  * @param const CCopasiContainer * pParent (default: NULL)
78  */
79  CCreator(const CCreator & src,
80  const CCopasiContainer * pParent = NULL);
81 
82  /**
83  * Destructor
84  */
85  ~CCreator();
86 
87  const CRDFTriplet & getTriplet() const;
88 
89  virtual const std::string & getKey() const;
90 
91  /**
92  * Add the given name to Last name to get the full Name.
93  */
94  const std::string & getFamilyName() const;
95 
96  const std::string & getGivenName() const;
97 
98  const std::string & getEmail() const;
99 
100  const std::string & getORG() const;
101 
102  void setFamilyName(const std::string & familyName);
103 
104  void setGivenName(const std::string & givenName);
105 
106  void setEmail(const std::string & Email);
107 
108  void setORG(const std::string & Orgname);
109 };
110 
111 #endif //COPASI_CCreator
const CRDFTriplet & getTriplet() const
Definition: CCreator.cpp:65
CCreator(const std::string &objectName, const CCopasiContainer *pParent=NULL)
Definition: CCreator.cpp:30
void setFamilyName(const std::string &familyName)
Definition: CCreator.cpp:83
~CCreator()
Definition: CCreator.cpp:60
CRDFTriplet mTriplet
Definition: CCreator.h:42
void setGivenName(const std::string &givenName)
Definition: CCreator.cpp:86
void setORG(const std::string &Orgname)
Definition: CCreator.cpp:92
std::string mKey
Definition: CCreator.h:52
void setEmail(const std::string &Email)
Definition: CCreator.cpp:89
const std::string & getEmail() const
Definition: CCreator.cpp:77
const std::string & getGivenName() const
Definition: CCreator.cpp:74
CRDFPredicate::Path mNodePath
Definition: CCreator.h:47
Header file of class CCopasiContainer.
virtual const std::string & getKey() const
Definition: CCreator.cpp:68
const std::string & getORG() const
Definition: CCreator.cpp:80
const std::string & getFamilyName() const
Definition: CCreator.cpp:71
std::vector< ePredicateType > Path
Definition: CRDFPredicate.h:91