38 #include <OpenMS/config.h> 61 static String getExecutablePath();
64 static bool exists(
const String& file);
67 static bool empty(
const String& file);
83 static bool rename(
const String& from,
const String& to,
bool overwrite_existing =
true,
bool verbose =
true);
90 static bool remove(
const String& file);
93 static bool removeDirRecursively(
const String& dir_name);
96 static bool removeDir(
const QString& dir_name);
117 static bool readable(
const String& file);
120 static bool writable(
const String& file);
123 static bool isDirectory(
const String& path);
143 static bool fileList(
const String& dir,
const String& file_pattern,
StringList& output,
bool full_path =
false);
169 static String getUniqueName(
bool include_hostname =
true);
172 static String getOpenMSDataPath();
175 static String getOpenMSHomePath();
178 static String getTempDirectory();
185 static String getUserDirectory();
192 static Param getSystemParameters();
223 static const String& getTemporaryFile(
const String& alternative_file =
"");
228 static Param getSystemParameterDefaults_();
231 static bool isOpenMSDataPath_(
const String& path);
A more convenient string class.
Definition: String.h:57
StringList filenames_
Definition: File.h:248
static TemporaryFiles_ temporary_files_
private list of temporary filenames, which are deleted upon program exit
Definition: File.h:253
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Base class for TOPP applications.
Definition: TOPPBase.h:150
bool find(TFinder &finder, const Pattern< TNeedle, FuzzyAC > &me, PatternAuxData< TNeedle > &dh)
Definition: AhoCorasickAmbiguous.h:884
Internal helper class, which holds temporary filenames and deletes these files at program exit...
Definition: File.h:237
Basic file handling operations.
Definition: File.h:51
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:73
Management and storage of parameters / INI files.
Definition: Param.h:74
int verbose
Verbosity level ( "-v" is 1 and "-V" is 2 )