GENIEGenerator
Loading...
Searching...
No Matches
SystemUtils.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\namespace genie::utils::system
5
6\brief System utilities
7
8\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
9 University of Liverpool
10
11\created Oct 08, 2009
12
13\cpright Copyright (c) 2003-2025, The GENIE Collaboration
14 For the full text of the license visit http://copyright.genie-mc.org
15*/
16//____________________________________________________________________________
17
18#ifndef _SYST_UTILS_H_
19#define _SYST_UTILS_H_
20
21#include <vector>
22#include <string>
23
24using std::vector;
25using std::string;
26
27namespace genie {
28namespace utils {
29
30namespace system
31{
32
33 vector<string> GetAllFilesInPath (string path, string extension="");
34
35 int GenieMajorVrsNum (string tag);
36 int GenieMinorVrsNum (string tag);
37 int GenieRevisVrsNum (string tag);
38
39 bool FileExists(string filename);
40 bool DirectoryExists( const char * path ) ;
41
42 string LocalTimeAsString(string format);
43
44} // system namespace
45} // utils namespace
46} // genie namespace
47
48#endif // _SYST_UTILS_H_
System utilities.
int GenieMajorVrsNum(string tag)
string LocalTimeAsString(string format)
int GenieRevisVrsNum(string tag)
vector< string > GetAllFilesInPath(string path, string extension="")
bool DirectoryExists(const char *path)
int GenieMinorVrsNum(string tag)
bool FileExists(string filename)
Root of GENIE utility namespaces.
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25