COPASI API  4.16.103
CReportDefinitionVector.h
Go to the documentation of this file.
1 /* Begin CVS Header
2  $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/report/CReportDefinitionVector.h,v $
3  $Revision: 1.16 $
4  $Name: $
5  $Author: shoops $
6  $Date: 2011/09/16 12:12:08 $
7  End CVS Header */
8 
9 // Copyright (C) 2011 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 // Copyright (C) 2001 - 2007 by Pedro Mendes, Virginia Tech Intellectual
20 // Properties, Inc. and EML Research, gGmbH.
21 // All rights reserved.
22 
23 // ReportDefinitionVector.h: interface for the CReportDefinitionVector class.
24 //
25 //////////////////////////////////////////////////////////////////////
26 
27 #if !defined REPORT_DEFINITION_VECTOR
28 #define REPORT_DEFINITION_VECTOR
29 
30 #include <iostream>
31 #include <vector>
32 #include <string>
35 
36 class CReportDefinitionVector: public CCopasiVectorN< CReportDefinition >
37 {
38 private:
39  std::string mKey;
40 
41 public:
42  CReportDefinitionVector(const std::string & name = "ReportDefinitions",
43  const CCopasiContainer* pParent = NULL);
44 
46 
47  // const std::vector< CReportDefinition*>* getReportDefinitionsAddr();
48 
49  CReportDefinition* createReportDefinition(const std::string & name, const std::string & comment);
50  bool removeReportDefinition(const std::string & key);
51 
52  void cleanup();
53 
54  virtual const std::string & getKey() const;
55 };
56 
57 #endif // !defined(AFX_REPORTDEFINITIONVECTOR_H__172081F2_7BF6_49FA_8FC7_C890F2CB1974__INCLUDED_)
bool removeReportDefinition(const std::string &key)
CReportDefinitionVector(const std::string &name="ReportDefinitions", const CCopasiContainer *pParent=NULL)
virtual const std::string & getKey() const
CReportDefinition * createReportDefinition(const std::string &name, const std::string &comment)