COPASI API  4.16.103
Public Member Functions | Private Attributes | List of all members
CReportTable Class Reference

#include <CReportBody.h>

Collaboration diagram for CReportTable:
Collaboration graph
[legend]

Public Member Functions

void cleanup ()
 
 CReportTable ()
 
std::vector< CCopasiObjectName > * getObjectNameVector ()
 
const std::string & getSeparator ()
 
bool printTitle ()
 
void setObjectNameVector (std::vector< CCopasiObjectName > *objectVector)
 
void setPrintTitle (bool printTitle)
 
void setSeparator (const std::string separator)
 
 ~CReportTable ()
 

Private Attributes

std::vector< CCopasiObjectName > * mpObjectNameVector
 
bool mPrintTitle
 
std::string mSeparator
 

Detailed Description

Definition at line 64 of file CReportBody.h.

Constructor & Destructor Documentation

CReportTable::CReportTable ( )

Default constructor.

Definition at line 45 of file CReportBody.cpp.

45  :
46  mpObjectNameVector(NULL),
47  mSeparator(" "),
48  mPrintTitle(true)
49 {}
bool mPrintTitle
Definition: CReportBody.h:69
std::vector< CCopasiObjectName > * mpObjectNameVector
Definition: CReportBody.h:67
std::string mSeparator
Definition: CReportBody.h:68
CReportTable::~CReportTable ( )

Destructor.

Definition at line 51 of file CReportBody.cpp.

References cleanup().

52 {cleanup();}
void cleanup()
Definition: CReportBody.cpp:54

Member Function Documentation

void CReportTable::cleanup ( )

cleanup

Definition at line 54 of file CReportBody.cpp.

References mpObjectNameVector, and pdelete.

Referenced by ~CReportTable().

55 {
56  // this pointer is created outsid
58 }
#define pdelete(p)
Definition: copasi.h:215
std::vector< CCopasiObjectName > * mpObjectNameVector
Definition: CReportBody.h:67
std::vector<CCopasiObjectName>* CReportTable::getObjectNameVector ( )
inline

gets the Object tag of the Table tag

Definition at line 90 of file CReportBody.h.

References mpObjectNameVector.

91  {
92  return mpObjectNameVector;
93  }
std::vector< CCopasiObjectName > * mpObjectNameVector
Definition: CReportBody.h:67
const std::string& CReportTable::getSeparator ( )
inline

gets the Separator attribute of the Table tag

Definition at line 106 of file CReportBody.h.

References mSeparator.

107  {
108  return mSeparator;
109  }
std::string mSeparator
Definition: CReportBody.h:68
bool CReportTable::printTitle ( )
inline

gets the printTitle of the Table tag

Definition at line 122 of file CReportBody.h.

References mPrintTitle.

Referenced by setPrintTitle().

123  {
124  return mPrintTitle;
125  }
bool mPrintTitle
Definition: CReportBody.h:69
void CReportTable::setObjectNameVector ( std::vector< CCopasiObjectName > *  objectVector)
inline

sets the Object tag of the Table tag

Definition at line 98 of file CReportBody.h.

References mpObjectNameVector.

99  {
100  mpObjectNameVector = objectVector;
101  }
std::vector< CCopasiObjectName > * mpObjectNameVector
Definition: CReportBody.h:67
void CReportTable::setPrintTitle ( bool  printTitle)
inline

sets the print Title of the Table tag

Definition at line 130 of file CReportBody.h.

References mPrintTitle, and printTitle().

131  {
133  }
bool mPrintTitle
Definition: CReportBody.h:69
bool printTitle()
Definition: CReportBody.h:122
void CReportTable::setSeparator ( const std::string  separator)
inline

sets the separator attribute of the Table tag

Definition at line 114 of file CReportBody.h.

References mSeparator.

115  {
116  mSeparator = separator;
117  }
std::string mSeparator
Definition: CReportBody.h:68

Member Data Documentation

std::vector<CCopasiObjectName>* CReportTable::mpObjectNameVector
private

Definition at line 67 of file CReportBody.h.

Referenced by cleanup(), getObjectNameVector(), and setObjectNameVector().

bool CReportTable::mPrintTitle
private

Definition at line 69 of file CReportBody.h.

Referenced by printTitle(), and setPrintTitle().

std::string CReportTable::mSeparator
private

Definition at line 68 of file CReportBody.h.

Referenced by getSeparator(), and setSeparator().


The documentation for this class was generated from the following files: