Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }