ProSHADE  0.6.5 (NOV 2018)
Protein Shape Descriptors and Symmetry Detection
ProSHADE_files.h
Go to the documentation of this file.
1 
24 #ifndef __FILES_PROSHADE__
25 #define __FILES_PROSHADE__
26 
27 #include <iostream>
28 #include <cstring>
29 #include <dirent.h>
30 #include <vector>
31 
32 
33 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
34  static const std::string systemDirectorySeparator = "\\";
35 #else
36  static const std::string systemDirectorySeparator = "/";
37 #endif
38 
47 {
65  bool findFiles ( std::vector <std::string>* saveFiles, const char* path, const char* ext );
66 }
67 
68 #endif
bool findFiles(std::vector< std::string > *saveFiles, const char *path, const char *ext)
Function to recursively search for files with given extension in the file path supplied.