Commit 138fa8f606aee04bc56c3bc9481657e15cfa6100
1 parent
5caaacca
Exists in
8295
reste à connecter
Showing
2 changed files
with
12 additions
and
4 deletions
Show diff stats
src/ParamOutputImpl/Plot/InstantPlot/InstantSeriesNode.hh
... | ... | @@ -90,6 +90,7 @@ protected: |
90 | 90 | ((InstantSeriesProperties&) props_).setId(atoi ((const char*)value)); |
91 | 91 | xmlFree(value); |
92 | 92 | } |
93 | + | |
93 | 94 | |
94 | 95 | // read index definition |
95 | 96 | value = xmlGetProp(pNode_, (const xmlChar*) "index"); |
... | ... | @@ -97,7 +98,6 @@ protected: |
97 | 98 | ((InstantSeriesProperties&) props_).setIndexDef((const char*) value); |
98 | 99 | xmlFree(value); |
99 | 100 | } |
100 | - | |
101 | 101 | } |
102 | 102 | }; |
103 | 103 | ... | ... |
src/ParamOutputImpl/Plot/SeriesProperties.hh
... | ... | @@ -193,10 +193,13 @@ public: |
193 | 193 | |
194 | 194 | std::vector<AMDA::Common::ParameterIndexComponent> getIndexList(std::map<std::string, ParameterData> *pParameterValues); |
195 | 195 | |
196 | - virtual std::string getIndexDef(); | |
197 | - | |
198 | - virtual void setIndexDef(std::string indexDef); | |
196 | + std::string getIndexDef() const { | |
197 | + return _indexDef; | |
198 | + } | |
199 | 199 | |
200 | + void setIndexDef(std::string indexDef) { | |
201 | + _indexDef = indexDef; | |
202 | + } | |
200 | 203 | private: |
201 | 204 | |
202 | 205 | /** |
... | ... | @@ -255,6 +258,11 @@ private: |
255 | 258 | * Used for legend axis |
256 | 259 | */ |
257 | 260 | std::string _computeExpressionName; |
261 | + | |
262 | + /** | |
263 | + * @brief Index definition (give by the request) | |
264 | + */ | |
265 | + std::string _indexDef; | |
258 | 266 | }; |
259 | 267 | |
260 | 268 | } /* namespace plot */ | ... | ... |