##// END OF EJS Templates
Add mofif for clang format
perrinel -
r554:7644bba62054
parent child
Show More
@@ -56,7 +56,8 void setAxesProperties(const DataSeries<Dim> &dataSeries, QCustomPlot &plot) noe
56 }
56 }
57
57
58 /**
58 /**
59 * Struct used to create plottables, depending on the type of the data series from which to create them
59 * Struct used to create plottables, depending on the type of the data series from which to create
60 * them
60 * @tparam T the data series' type
61 * @tparam T the data series' type
61 * @remarks Default implementation can't create plottables
62 * @remarks Default implementation can't create plottables
62 */
63 */
@@ -106,7 +107,8 struct PlottablesCreator<T,
106 };
107 };
107
108
108 /**
109 /**
109 * Struct used to update plottables, depending on the type of the data series from which to update them
110 * Struct used to update plottables, depending on the type of the data series from which to update
111 * them
110 * @tparam T the data series' type
112 * @tparam T the data series' type
111 * @remarks Default implementation can't update plottables
113 * @remarks Default implementation can't update plottables
112 */
114 */
@@ -145,7 +147,8 struct PlottablesUpdater<T,
145 }
147 }
146
148
147 // - Gets the data of the series included in the current range
149 // - Gets the data of the series included in the current range
148 // - Updates each plottable by adding, for each data item, a point that takes x-axis data and value data. The correct value is retrieved according to the index of the component
150 // - Updates each plottable by adding, for each data item, a point that takes x-axis data
151 // and value data. The correct value is retrieved according to the index of the component
149 auto subDataIts = dataSeries.subData(range.m_TStart, range.m_TEnd);
152 auto subDataIts = dataSeries.subData(range.m_TStart, range.m_TEnd);
150 for (auto it = subDataIts.first; it != subDataIts.second; ++it) {
153 for (auto it = subDataIts.first; it != subDataIts.second; ++it) {
151 for (const auto &dataContainer : dataContainers) {
154 for (const auto &dataContainer : dataContainers) {
General Comments 1
Under Review
author

Auto status change to "Under Review"

You need to be logged in to leave comments. Login now