diff --git a/src/ParamOutputImpl/Plot/InstantPlot/InstantSeriesNode.hh b/src/ParamOutputImpl/Plot/InstantPlot/InstantSeriesNode.hh index 90f29d9..952c583 100644 --- a/src/ParamOutputImpl/Plot/InstantPlot/InstantSeriesNode.hh +++ b/src/ParamOutputImpl/Plot/InstantPlot/InstantSeriesNode.hh @@ -90,6 +90,7 @@ protected: ((InstantSeriesProperties&) props_).setId(atoi ((const char*)value)); xmlFree(value); } + // read index definition value = xmlGetProp(pNode_, (const xmlChar*) "index"); @@ -97,7 +98,6 @@ protected: ((InstantSeriesProperties&) props_).setIndexDef((const char*) value); xmlFree(value); } - } }; diff --git a/src/ParamOutputImpl/Plot/SeriesProperties.hh b/src/ParamOutputImpl/Plot/SeriesProperties.hh index 89669ba..5ad539c 100644 --- a/src/ParamOutputImpl/Plot/SeriesProperties.hh +++ b/src/ParamOutputImpl/Plot/SeriesProperties.hh @@ -193,10 +193,13 @@ public: std::vector getIndexList(std::map *pParameterValues); - virtual std::string getIndexDef(); - - virtual void setIndexDef(std::string indexDef); + std::string getIndexDef() const { + return _indexDef; + } + void setIndexDef(std::string indexDef) { + _indexDef = indexDef; + } private: /** @@ -255,6 +258,11 @@ private: * Used for legend axis */ std::string _computeExpressionName; + + /** + * @brief Index definition (give by the request) + */ + std::string _indexDef; }; } /* namespace plot */ -- libgit2 0.21.2