SCIRun
5.0
|
#include <map>
#include <string>
#include <vector>
#include <boost/filesystem.hpp>
#include <Core/Utils/Legacy/share.h>
Go to the source code of this file.
Namespaces | |
SCIRun | |
STL datatypes needed. | |
Functions | |
SCISHARE void | InsertStringInFile (char *filename, const char *match, const char *insert) |
SCISHARE std::map< int, char * > * | GetFilenamesEndingWith (const char *dir, const char *ext) |
SCISHARE std::vector< std::string > | GetFilenamesStartingWith (const std::string &dir, const std::string &prefix) |
SCISHARE std::vector< std::string > | GetFilenamesInSequence (const std::string &dir, const std::string &ref) |
SCISHARE std::pair < std::string, std::string > | split_filename (std::string fname) |
SCISHARE std::string | findFileInPath (const std::string &filename, const std::string &path) |
SCISHARE bool | validFile (const std::string &filename) |
SCISHARE bool | validFile (const boost::filesystem::path &filename) |
SCISHARE bool | validDir (const std::string &dirname) |
SCISHARE bool | validDir (const boost::filesystem::path &dirname) |
SCISHARE bool | isSymLink (const boost::filesystem::path &filename) |
SCISHARE bool | testFilesystem (std::string directoryPath) |
SCISHARE std::string | autocomplete (const std::string &) |
SCISHARE std::string | canonicalize (std::string) |
SCISHARE std::string | substituteTilde (const std::string &dirstr) |
SCISHARE void | convertToWindowsPath (std::string &unixPath) |
void | convertToUnixPath (std::string &winPath) |
SCISHARE int | copyFile (const boost::filesystem::path &src, const boost::filesystem::path &dest) |
SCISHARE int | moveFile (const boost::filesystem::path &src, const boost::filesystem::path &dest) |
SCISHARE int | deleteFile (const boost::filesystem::path &filename) |
SCISHARE int | copyDir (std::string src, std::string dest) |
SCISHARE int | deleteDir (const boost::filesystem::path &filename) |
SCISHARE int | getNumNonEmptyLines (char *filename) |