15 #ifndef niftkIGIDataSourceUtils_h
16 #define niftkIGIDataSourceUtils_h
18 #include <niftkIGIDataSourcesExports.h>
36 NIFTKIGIDATASOURCES_EXPORT
43 NIFTKIGIDATASOURCES_EXPORT
45 const QString& suffix,
46 std::set<niftk::IGIDataType::IGITimeType>& timeStamps,
47 QHash<niftk::IGIDataType::IGITimeType, QString>& timeStampToFileName);
53 NIFTKIGIDATASOURCES_EXPORT
55 const QString& suffix,
56 std::set<niftk::IGIDataType::IGITimeType>& timeStamps
62 NIFTKIGIDATASOURCES_EXPORT
64 const QString& directory,
65 const QString& fileExtension,
66 QMap<QString, std::set<niftk::IGIDataType::IGITimeType> >& bufferToTimeStamp,
67 QMap<QString, QHash<niftk::IGIDataType::IGITimeType, QStringList> >& bufferToTimeStampToFileNames
74 NIFTKIGIDATASOURCES_EXPORT
76 const QString& fileExtension,
void ProbeTimeStampFiles(QDir path, const QString &suffix, std::set< niftk::IGIDataType::IGITimeType > &timeStamps)
Scans the path for individual files that match a timestamp pattern and suffix.
Definition: niftkIGIDataSourceUtils.cxx:28
GLsizei const GLchar ** path
Definition: glew.h:5384
SystemTimeServiceI::TimeType IGITimeType
Definition: niftkIGIDataType.h:39
void GetPlaybackIndex(const QString &directory, const QString &fileExtension, QMap< QString, std::set< niftk::IGIDataType::IGITimeType > > &bufferToTimeStamp, QMap< QString, QHash< niftk::IGIDataType::IGITimeType, QStringList > > &bufferToTimeStampToFileNames)
Returns the list of timestamps, by source name.
Definition: niftkIGIDataSourceUtils.cxx:77
QString GetPreferredSlash()
Returns the platform specific directory separator.
Definition: niftkIGIDataSourceUtils.cxx:21
bool ProbeRecordedData(const QString &path, const QString &fileExtension, niftk::IGIDataType::IGITimeType *firstTimeStampInStore, niftk::IGIDataType::IGITimeType *lastTimeStampInStore)
Returns the minimum and maximum timestamped of all files under the specified path, with the specified fileExtension, that look like they are timestamped.
Definition: niftkIGIDataSourceUtils.cxx:194
Definition: niftkExceptionObject.h:21