コード例 #1
0
bool TrajectoryAnalysisModuleData::Impl::isInitialized(
        const AnalysisData &data) const
{
    for (int i = 0; i < data.dataSetCount(); ++i)
    {
        if (data.columnCount(i) > 0)
        {
            // If not all of the column counts are set, startData() in the
            // constructor asserts, so that does not need to be checked here.
            return true;
        }
    }
    return false;
}