std::vector<DataPoint> Analysis_Impl::getDataPoints(const std::string& tag) const { DataPointVector result; BOOST_FOREACH(const DataPoint& dataPoint,m_dataPoints) { if (dataPoint.isTag(tag)) { result.push_back(dataPoint); } } return result; }
std::vector<DataPoint> Analysis_Impl::failedDataPoints() const { DataPointVector result; BOOST_FOREACH(const DataPoint& dataPoint,m_dataPoints) { if (dataPoint.isComplete() && dataPoint.failed()) { result.push_back(dataPoint); } } return result; }
std::vector<DataPoint> Analysis_Impl::getDataPoints( const std::vector<QVariant>& variableValues) const { DataPointVector result; BOOST_FOREACH(const DataPoint& dataPoint, m_dataPoints) { if (dataPoint.matches(variableValues)) { result.push_back(dataPoint); } } return result; }
std::vector<DataPoint> Analysis_Impl::dataPointsNeedingDetails() const { DataPointVector result; BOOST_FOREACH(const DataPoint& dataPoint, m_dataPoints) { if (dataPoint.isComplete() && (dataPoint.runType() == DataPointRunType::CloudDetailed) && dataPoint.directory().empty()) { result.push_back(dataPoint); } } return result; }