Parent Directory
|
Revision Log
Initial revision
| 1 | #ifndef YFILE_H |
| 2 | #define YFILE_H |
| 3 | |
| 4 | #include <YException.h> |
| 5 | #include <TFile.h> |
| 6 | |
| 7 | using namespace yngn::YException; |
| 8 | |
| 9 | namespace yngn { |
| 10 | namespace util { |
| 11 | class YFile { |
| 12 | private: |
| 13 | YFile() {} |
| 14 | public: |
| 15 | static TFile *yfile; |
| 16 | static TFile* Open(const char* url, const char* options = "", bool copy = false, const char* path = "./.") throw (YNotExistingFileException, YSystemCommandException); |
| 17 | }; |
| 18 | } |
| 19 | } |
| 20 | #endif /* YFILE_H */ |
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |