COPASI API  4.16.103
CCreator.cpp
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/MIRIAM/CCreator.cpp,v $
3 // $Revision: 1.10 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2009/02/19 19:50:46 $
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 #include "copasi.h"
19 
20 #include "CRDFGraph.h"
21 #include "CCreator.h"
22 #include "CRDFLiteral.h"
23 #include "CModelMIRIAMInfo.h"
24 
26 #include "model/CModel.h"
27 #include "report/CKeyFactory.h"
29 
30 CCreator::CCreator(const std::string & objectName,
31  const CCopasiContainer * pParent):
32  CCopasiContainer(objectName, pParent, "Creator"),
33  mTriplet(),
34  mNodePath(),
35  mKey(CCopasiRootContainer::getKeyFactory()->add("Creator", this))
36 {}
37 
39  const std::string & objectName,
40  const CCopasiContainer * pParent):
41  CCopasiContainer(objectName, pParent, "Creator"),
42  mTriplet(triplet),
43  mNodePath(),
44  mKey(CCopasiRootContainer::getKeyFactory()->add("Creator", this))
45 {
46  if (!mTriplet)
47  return;
48 
50 }
51 
53  const CCopasiContainer * pParent):
54  CCopasiContainer(src, pParent),
55  mTriplet(src.mTriplet),
56  mNodePath(src.mNodePath),
57  mKey(CCopasiRootContainer::getKeyFactory()->add("Creator", this))
58 {}
59 
61 {
63 }
64 
66  {return mTriplet;}
67 
68 const std::string & CCreator::getKey() const
69  {return mKey;}
70 
71 const std::string & CCreator::getFamilyName() const
73 
74 const std::string & CCreator::getGivenName() const
76 
77 const std::string & CCreator::getEmail() const
79 
80 const std::string & CCreator::getORG() const
82 
83 void CCreator::setFamilyName(const std::string & familyName)
85 
86 void CCreator::setGivenName(const std::string & givenName)
88 
89 void CCreator::setEmail(const std::string & Email)
91 
92 void CCreator::setORG(const std::string & Orgname)
bool remove(const std::string &key)
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
bool setFieldValue(const CMIRIAMResourceObject &value, const CRDFPredicate::ePredicateType &predicate, const CRDFPredicate::Path &nodePath)
Definition: CRDFNode.cpp:142
CRDFPredicate::Path getPath() const
Definition: CRDFNode.cpp:110
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
virtual const std::string & getKey() const
Definition: CCreator.cpp:68
static CKeyFactory * getKeyFactory()
const std::string & getORG() const
Definition: CCreator.cpp:80
const std::string & getFamilyName() const
Definition: CCreator.cpp:71
const std::string & getFieldValue(const CRDFPredicate::ePredicateType &predicate) const
Definition: CRDFNode.cpp:113
CRDFNode * pObject
Definition: CRDFTriplet.h:42