COPASI API  4.16.103
CCopasiStaticString.h
Go to the documentation of this file.
1 /* Begin CVS Header
2  $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/report/CCopasiStaticString.h,v $
3  $Revision: 1.10 $
4  $Name: $
5  $Author: gauges $
6  $Date: 2006/10/15 08:00:56 $
7  End CVS Header */
8 
9 // Copyright 2005 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc. and EML Research, gGmbH.
11 // All rights reserved.
12 
13 /**
14  * Class CCopasiStaticString
15  *
16  * This class is the class for storing Copasi Static String Names.
17  *
18  * Copyright Liang Xu 2002
19  */
20 
21 #ifndef COPASI_CCopasiStaticString
22 #define COPASI_CCopasiStaticString
23 
24 #include <string>
25 
26 #include "report/CCopasiObject.h"
27 
29  {
30  // Attributes
31  private:
32  std::string mStaticString;
33 
34  // Operations
35  public:
36  CCopasiStaticString(const std::string & name = "",
37  const CCopasiContainer * pParent = NULL,
38  const std::string & type = "String",
39  const unsigned C_INT32 & flag = CCopasiObject::StaticString);
40 
42  const CCopasiContainer * pParent = NULL);
43 
45 
46  virtual std::string getObjectDisplayName(bool regular = true, bool richtext = false) const;
47 
48  CCopasiStaticString & operator = (const std::string & rhs);
49 
50  virtual void print(std::ostream * ostream) const;
51 
52  const std::string & getStaticString() const;
53  };
54 
56  {
57  public:
58  CCopasiReportSeparator(const std::string & name = "",
59  const CCopasiContainer * pParent = NULL);
60 
62  const CCopasiContainer * pParent = NULL);
63 
65 
66  virtual std::string getObjectDisplayName(bool regular = true, bool richtext = false) const;
67 
68  CCopasiReportSeparator & operator = (const std::string & rhs);
69  };
70 #endif // COPASI_CCopasiStaticString
virtual std::string getObjectDisplayName(bool regular=true, bool richtext=false) const
virtual std::string getObjectDisplayName(bool regular=true, bool richtext=false) const
#define C_INT32
Definition: copasi.h:90
virtual void print(std::ostream *ostream) const
const std::string & getStaticString() const
CCopasiStaticString & operator=(const std::string &rhs)
CCopasiReportSeparator & operator=(const std::string &rhs)
CCopasiStaticString(const std::string &name="", const CCopasiContainer *pParent=NULL, const std::string &type="String", const unsigned C_INT32 &flag=CCopasiObject::StaticString)
long int flag
Definition: f2c.h:52
CCopasiReportSeparator(const std::string &name="", const CCopasiContainer *pParent=NULL)