Exemple #1
0
 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;
 }
Exemple #2
0
 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;
 }
Exemple #3
0
 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;
 }
Exemple #4
0
 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;
 }