COPASI API
4.16.103
Main Page
Namespaces
Classes
Files
File List
File Members
copasi
layout
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
17
#include "
copasi/layout/CLRenderInformationBase.h
"
18
#include "
copasi/layout/CLLocalStyle.h
"
19
20
class
CCopasiContainer
;
21
class
LocalRenderInformation;
22
23
class
CLLocalRenderInformation
:
public
CLRenderInformationBase
24
{
25
protected
:
26
CCopasiVector<CLLocalStyle>
mListOfStyles
;
27
28
public
:
29
/**
30
* Constructor.
31
*/
32
CLLocalRenderInformation
(
CCopasiContainer
* pParent = NULL);
33
34
/**
35
* Copy Constructor.
36
*/
37
CLLocalRenderInformation
(
const
CLLocalRenderInformation
& source,
CCopasiContainer
* pParent = NULL);
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
*/
58
CCopasiVector<CLLocalStyle>
*
getListOfStyles
();
59
60
/**
61
* Returns a pointer to the LitOfStyles object.
62
*/
63
const
CCopasiVector<CLLocalStyle>
*
getListOfStyles
()
const
;
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
77
CLLocalStyle
*
createStyle
();
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__ */
CLLocalStyle
Definition:
CLLocalStyle.h:24
CLRenderInformationBase.h
CLLocalRenderInformation::mListOfStyles
CCopasiVector< CLLocalStyle > mListOfStyles
Definition:
CLLocalRenderInformation.h:26
CLLocalRenderInformation::getStyle
CLLocalStyle * getStyle(size_t i)
Definition:
CLLocalRenderInformation.cpp:87
CLLocalRenderInformation::addStyle
void addStyle(const CLLocalStyle *pStyle)
Definition:
CLLocalRenderInformation.cpp:108
CLLocalRenderInformation::getListOfStyles
CCopasiVector< CLLocalStyle > * getListOfStyles()
Definition:
CLLocalRenderInformation.cpp:70
CLLocalRenderInformation::CLLocalRenderInformation
CLLocalRenderInformation(CCopasiContainer *pParent=NULL)
Definition:
CLLocalRenderInformation.cpp:21
CLLocalRenderInformation::toSBML
LocalRenderInformation * toSBML(unsigned int level, unsigned int version) const
Definition:
CLLocalRenderInformation.cpp:116
CLLocalRenderInformation::getNumStyles
size_t getNumStyles() const
Definition:
CLLocalRenderInformation.cpp:62
CLRenderInformationBase
Definition:
CLRenderInformationBase.h:30
CCopasiContainer
Definition:
CCopasiContainer.h:37
CLLocalRenderInformation::createStyle
CLLocalStyle * createStyle()
Definition:
CLLocalRenderInformation.cpp:101
CLLocalRenderInformation
Definition:
CLLocalRenderInformation.h:23
CLLocalStyle.h
CCopasiVector< CLLocalStyle >
Generated on Thu Jul 2 2015 14:50:16 for COPASI API by
1.8.6