AnalysisDataFrameRef AnalysisDataProxy::tryGetDataFrameInternal(int index) const { AnalysisDataFrameRef frame = source_.tryGetDataFrame(index); if (!frame.isValid()) { return AnalysisDataFrameRef(); } return AnalysisDataFrameRef(frame, firstColumn_, columnSpan_); }
AnalysisDataFrameRef AbstractAnalysisArrayData::tryGetDataFrameInternal(int index) const { if (!isAllocated()) { return AnalysisDataFrameRef(); } std::vector<AnalysisDataValue>::const_iterator begin = value_.begin() + index * columnCount(); return AnalysisDataFrameRef( AnalysisDataFrameHeader(index, xvalue(index), 0.0), constArrayRefFromVector<AnalysisDataValue>(begin, begin + columnCount()), constArrayRefFromArray(&pointSetInfo_, 1)); }
AnalysisDataFrameRef AbstractAnalysisData::tryGetDataFrame(int index) const { if (index < 0 || index >= frameCount()) { return AnalysisDataFrameRef(); } return tryGetDataFrameInternal(index); }
AnalysisDataFrameRef AnalysisDataDisplacementModule::tryGetDataFrameInternal(int /*index*/) const { return AnalysisDataFrameRef(); }