COPASI API  4.16.103
CReportBody.h
Go to the documentation of this file.
1 /* Begin CVS Header
2  $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/report/CReportBody.h,v $
3  $Revision: 1.8 $
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  *
15  * Created: Tue Aug 11 2003
16  * by: Liang Xu
17  *
18  * Created for Copasi by Liang Xu
19  ****************************************************************************/
20 
21 #ifndef COPASI_CREPORT_BODY
22 #define COPASI_CREPORT_BODY
23 
24 #include <string>
25 #include <vector>
27 
28 class CReportTable;
29 class CCopasiObjectName;
30 
32  {
33  private:
34  std::vector<CCopasiObjectName> mReportObjectName;
36 
37  public:
38  /**
39  * Default constructor.
40  */
41  CReportBody();
42 
43  /**
44  cleanup
45  */
46  void cleanup();
47 
48  /**
49  * Destructor.
50  */
51  ~CReportBody();
52 
53  /**
54  gets the Table tag in the Body Tag
55  */
57 
58  /**
59  sets the Table tag in the Body tag
60  */
61  void setTable(CReportTable *table);
62  };
63 
65  {
66  private:
67  std::vector<CCopasiObjectName>* mpObjectNameVector;
68  std::string mSeparator;
70 
71  public:
72  /**
73  * Default constructor.
74  */
75  CReportTable();
76 
77  /**
78  cleanup
79  */
80  void cleanup();
81 
82  /**
83  * Destructor.
84  */
85  ~CReportTable();
86 
87  /**
88  gets the Object tag of the Table tag
89  */
90  inline std::vector<CCopasiObjectName>* getObjectNameVector()
91  {
92  return mpObjectNameVector;
93  }
94 
95  /**
96  sets the Object tag of the Table tag
97  */
98  inline void setObjectNameVector(std::vector<CCopasiObjectName> *objectVector)
99  {
100  mpObjectNameVector = objectVector;
101  }
102 
103  /**
104  gets the Separator attribute of the Table tag
105  */
106  inline const std::string& getSeparator()
107  {
108  return mSeparator;
109  }
110 
111  /**
112  sets the separator attribute of the Table tag
113  */
114  inline void setSeparator(const std::string separator)
115  {
116  mSeparator = separator;
117  }
118 
119  /**
120  gets the printTitle of the Table tag
121  */
122  bool printTitle()
123  {
124  return mPrintTitle;
125  }
126 
127  /**
128  sets the print Title of the Table tag
129  */
131  {
133  }
134  };
135 
136 #endif
bool mPrintTitle
Definition: CReportBody.h:69
std::vector< CCopasiObjectName > mReportObjectName
Definition: CReportBody.h:34
bool printTitle()
Definition: CReportBody.h:122
const std::string & getSeparator()
Definition: CReportBody.h:106
std::vector< CCopasiObjectName > * mpObjectNameVector
Definition: CReportBody.h:67
void setTable(CReportTable *table)
Definition: CReportBody.cpp:37
void cleanup()
Definition: CReportBody.cpp:54
CReportTable * getTable()
Definition: CReportBody.cpp:34
void setObjectNameVector(std::vector< CCopasiObjectName > *objectVector)
Definition: CReportBody.h:98
void setSeparator(const std::string separator)
Definition: CReportBody.h:114
void cleanup()
Definition: CReportBody.cpp:28
std::string mSeparator
Definition: CReportBody.h:68
void setPrintTitle(bool printTitle)
Definition: CReportBody.h:130
std::vector< CCopasiObjectName > * getObjectNameVector()
Definition: CReportBody.h:90
CReportTable * mpReportTable
Definition: CReportBody.h:35