COPASI API  4.16.103
CLLocalRenderInformation.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/layout/CLLocalRenderInformation.h,v $
3 // $Revision: 1.5 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2011/09/30 16:35:20 $
7 // End CVS Header
8 
9 // Copyright (C) 2011 - 2010 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., University of Heidelberg, and The University
11 // of Manchester.
12 // All rights reserved.
13 
14 #ifndef CLLocalRenderInformation_H__
15 #define CLLocalRenderInformation_H__
16 
19 
20 class CCopasiContainer;
21 class LocalRenderInformation;
22 
24 {
25 protected:
27 
28 public:
29  /**
30  * Constructor.
31  */
33 
34  /**
35  * Copy Constructor.
36  */
38 
39  /**
40  * Constructor to generate object from the corresponding SBML object.
41  */
42  CLLocalRenderInformation(const LocalRenderInformation& source,
43  /*
44  std::map<std::string,std::string>& colorIdToKeyMap,
45  std::map<std::string,std::string>& gradientIdToKeyMap,
46  std::map<std::string,std::string>& lineEndingIdToKeyMap,
47  */
48  CCopasiContainer* pParent = NULL);
49 
50  /**
51  * Returns the number of styles.
52  */
53  size_t getNumStyles() const;
54 
55  /**
56  * Returns a pointer to the LitOfStyles object.
57  */
59 
60  /**
61  * Returns a pointer to the LitOfStyles object.
62  */
64 
65  /**
66  * Returns a pointer to the style with the given index.
67  * If the index is invalid, NULL is returned.
68  */
69  CLLocalStyle* getStyle(size_t i);
70 
71  /**
72  * Returns a pointer to the style with the given index.
73  * If the index is invalid, NULL is returned.
74  */
75  const CLLocalStyle* getStyle(size_t i) const;
76 
78 
79  void addStyle(const CLLocalStyle* pStyle);
80 
81  /**
82  * Converts this object to the corresponding SBML object.
83  */
84  LocalRenderInformation* toSBML(unsigned int level, unsigned int version) const;
85 };
86 
87 #endif /* CLLocalRenderInformation_H__ */
CCopasiVector< CLLocalStyle > mListOfStyles
CLLocalStyle * getStyle(size_t i)
void addStyle(const CLLocalStyle *pStyle)
CCopasiVector< CLLocalStyle > * getListOfStyles()
CLLocalRenderInformation(CCopasiContainer *pParent=NULL)
LocalRenderInformation * toSBML(unsigned int level, unsigned int version) const