Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DirectoryHelpers.h

Go to the documentation of this file.
00001 #ifndef DirectoryHelpers_h
00002 #define DirectoryHelpers_h
00003 
00004 #include "TDirectory.h"
00005 #include "TFile.h"
00006 #include <string>
00007 #include <vector>
00008 
00009 #include <sys/stat.h>
00010 #include <sys/types.h>
00011 
00012 using namespace std;
00013 
00014 
00015 namespace DirectoryHelpers
00016 {
00017 
00018 
00019 void Tokenize(const string& str,
00020                       vector<string>& tokens,
00021                       const string& delimiters);
00022 
00023 
00024 TDirectory * GetDirectory(TDirectory *f, string dir, int create=0);
00025 
00026 
00027 TDirectory * GetDirectory(TFile *f, string dir, int create=0);
00028 
00029 
00030 
00031 int MakeTrueDirectory(vector<string> paths, int pos=1);
00032 
00033 
00034 int MakeTrueDirectory(string dir);
00035 
00036 }
00037 
00038 #endif
00039 

Generated on Mon Feb 15 11:06:37 2010 for loon by  doxygen 1.3.9.1