15 #ifndef niftkFileHelper_h
16 #define niftkFileHelper_h
158 const std::string& fullDirectoryName, std::vector<std::string> &fileNames);
std::vector< std::string > FindVideoData(const std::string &directory)
Definition: niftkFileHelper.cxx:443
std::string AddStringToImageFileSuffix(const std::string &fileName, std::string stringToAdd)
Definition: niftkFileHelper.cxx:610
GLsizei const GLchar ** path
Definition: glew.h:5384
std::string FindVideoFile(const std::string &directory, const std::string &mask)
Definition: niftkFileHelper.cxx:470
int FileSize(const std::string &fileName)
Definition: niftkFileHelper.cxx:249
bool FilenameHasPrefixAndExtension(const std::string &filename, const std::string &prefix, const std::string &extension)
Definition: niftkFileHelper.cxx:264
std::string Basename(const std::string &pathName)
Returns the basename.
Definition: niftkFileHelper.cxx:99
void GetRecursiveFilesInDirectory(const std::string &directoryName, std::vector< std::string > &fileNames)
Definition: niftkFileHelper.cxx:388
GLenum GLint GLuint mask
Definition: glew.h:1829
std::string CreateUniqueTempFileName(const std::string &prefix, const std::string &suffix)
Definition: niftkFileHelper.cxx:108
std::vector< std::string > FindFilesWithGivenExtension(const std::string &fullDirectoryName, const std::string &extension)
Definition: niftkFileHelper.cxx:512
std::string GetFileSeparator()
Definition: niftkFileHelper.cxx:52
bool FilenameMatches(const std::string &filename, const std::string &prefix, const std::string &middle, const std::string &extension)
Definition: niftkFileHelper.cxx:293
std::string ExtractImageFileSuffix(const std::string &fileName)
Definition: niftkFileHelper.cxx:533
std::vector< std::string > GetFilesInDirectory(const std::string &fullDirectoryName)
Definition: niftkFileHelper.cxx:330
std::vector< std::string > GetDirectoriesInDirectory(const std::string &fullDirectoryName)
Definition: niftkFileHelper.cxx:359
bool FileDelete(const std::string &fileName)
Definition: niftkFileHelper.cxx:241
bool CreateDirAndParents(const std::string &directoryPath)
Definition: niftkFileHelper.cxx:201
std::string ConcatenatePath(const std::string &path, const std::string &name)
Definition: niftkFileHelper.cxx:59
bool DirectoryExists(const std::string &directoryPath)
Definition: niftkFileHelper.cxx:193
std::string ModifyFileSuffix(const std::string &fileName, std::string newSuffix)
Definition: niftkFileHelper.cxx:639
bool FileIsEmpty(const std::string &fileName)
Definition: niftkFileHelper.cxx:257
GLuint const GLchar * name
Definition: glew.h:1798
bool NumericStringCompare(const std::string &string1, const std::string &string2)
Definition: niftkFileHelper.cxx:432
std::string ModifyImageFileSuffix(const std::string &fileName, std::string newSuffix)
Definition: niftkFileHelper.cxx:621
std::string ConvertToFullNativePath(const std::string &pathName)
Definition: niftkFileHelper.cxx:91
std::string GetImagesDirectory()
Definition: niftkFileHelper.cxx:323
bool FileExists(const std::string &fileName)
Definition: niftkFileHelper.cxx:233
Definition: niftkExceptionObject.h:21
GLsizei const GLcharARB ** string
Definition: glew.h:5194