COPASI API
4.16.103
Main Page
Namespaces
Classes
Files
File List
File Members
copasi
layout
CLGlobalRenderInformation.h
Go to the documentation of this file.
1
// Begin CVS Header
2
// $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/layout/CLGlobalRenderInformation.h,v $
3
// $Revision: 1.6 $
4
// $Name: $
5
// $Author: shoops $
6
// $Date: 2011/09/30 16:35:21 $
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 CLGlobalRenderInformation_H__
15
#define CLGlobalRenderInformation_H__
16
17
#include <string>
18
19
#include "
copasi/layout/CLRenderInformationBase.h
"
20
#include "
copasi/layout/CLGlobalStyle.h
"
21
22
#include "
copasi/utilities/CCopasiVector.h
"
23
24
class
CCopasiContainer
;
25
class
GlobalRenderInformation;
26
27
class
CLGlobalRenderInformation
:
public
CLRenderInformationBase
28
{
29
protected
:
30
CCopasiVector<CLGlobalStyle>
mListOfStyles
;
31
32
public
:
33
/**
34
* Constructor.
35
*/
36
CLGlobalRenderInformation
(
CCopasiContainer
* pParent = NULL);
37
38
/**
39
* Copy Constructor.
40
*/
41
CLGlobalRenderInformation
(
const
CLGlobalRenderInformation
& source,
CCopasiContainer
* pParent = NULL);
42
43
/**
44
* Constructor to generate object from the corresponding SBML object.
45
*/
46
CLGlobalRenderInformation
(
const
GlobalRenderInformation& source,
47
/*
48
std::map<std::string,std::string>& colorIdToKeyMap,
49
std::map<std::string,std::string>& gradientIdToKeyMap,
50
std::map<std::string,std::string>& lineEndingIdToKeyMap,
51
*/
52
CCopasiContainer
* pParent = NULL);
53
54
/**
55
* Returns the number of styles.
56
*/
57
size_t
getNumStyles
()
const
;
58
59
/**
60
* Returns a pointer to the LitOfStyles object.
61
*/
62
CCopasiVector<CLGlobalStyle>
*
getListOfStyles
();
63
64
/**
65
* Returns a pointer to the LitOfStyles object.
66
*/
67
const
CCopasiVector<CLGlobalStyle>
*
getListOfStyles
()
const
;
68
69
/**
70
* Returns a pointer to the style with the given index.
71
* If the index is invalid, NULL is returned.
72
*/
73
CLStyle
*
getStyle
(
size_t
i);
74
75
/**
76
* Returns a pointer to the style with the given index.
77
* If the index is invalid, NULL is returned.
78
*/
79
const
CLStyle
*
getStyle
(
size_t
i)
const
;
80
81
CLGlobalStyle
*
createStyle
();
82
83
void
addStyle
(
const
CLGlobalStyle
* pStyle);
84
85
/**
86
* Converts this object to the corresponding SBML object.
87
*/
88
bool
toSBML
(GlobalRenderInformation* pGRI,
unsigned
int
level,
unsigned
int
version)
const
;
89
};
90
91
#endif
/* CLGlobalRenderInformation_H__ */
CLGlobalRenderInformation::CLGlobalRenderInformation
CLGlobalRenderInformation(CCopasiContainer *pParent=NULL)
Definition:
CLGlobalRenderInformation.cpp:22
CLRenderInformationBase.h
CLGlobalRenderInformation::addStyle
void addStyle(const CLGlobalStyle *pStyle)
Definition:
CLGlobalRenderInformation.cpp:109
CLGlobalRenderInformation::getListOfStyles
CCopasiVector< CLGlobalStyle > * getListOfStyles()
Definition:
CLGlobalRenderInformation.cpp:71
CLGlobalRenderInformation::getStyle
CLStyle * getStyle(size_t i)
Definition:
CLGlobalRenderInformation.cpp:88
CCopasiVector.h
CLGlobalRenderInformation
Definition:
CLGlobalRenderInformation.h:27
CLGlobalRenderInformation::toSBML
bool toSBML(GlobalRenderInformation *pGRI, unsigned int level, unsigned int version) const
Definition:
CLGlobalRenderInformation.cpp:118
CLStyle
Definition:
CLStyle.h:27
CLGlobalRenderInformation::mListOfStyles
CCopasiVector< CLGlobalStyle > mListOfStyles
Definition:
CLGlobalRenderInformation.h:30
CLGlobalRenderInformation::createStyle
CLGlobalStyle * createStyle()
Definition:
CLGlobalRenderInformation.cpp:102
CLRenderInformationBase
Definition:
CLRenderInformationBase.h:30
CLGlobalRenderInformation::getNumStyles
size_t getNumStyles() const
Definition:
CLGlobalRenderInformation.cpp:63
CCopasiContainer
Definition:
CCopasiContainer.h:37
CLGlobalStyle
Definition:
CLGlobalStyle.h:22
CLGlobalStyle.h
CCopasiVector< CLGlobalStyle >
Generated on Thu Jul 2 2015 14:50:15 for COPASI API by
1.8.6