utils.h

00001 //
00002 // C++ Interface: utils
00003 //
00004 // Description: 
00005 //
00006 //
00007 // Author:  Felix Bechstein <f@ub0r.de>, (C) 2007
00008 //
00009 // Copyright: See COPYING file that comes with this distribution
00010 //
00011 //
00012 
00013 #include <stdlib.h>
00014 #include <string>
00015 
00016 using namespace std;
00017 
00021 class utils
00022 {
00023         private:
00024                 static string strippath;
00025                 static bool verbose;
00026         public:
00031                 static bool setVerbose(const bool flag);
00032                 
00037                 static void vout(const char* s);
00038                 
00042                 static void vout(const string s);
00043                 
00048                 static string absPath(const char* path);
00049                 
00054                 static void setStripPath(const char* path);
00055                 
00061                 static string stripPath(const char* path);
00062 };

Generated on Fri Nov 9 09:57:22 2007 for mtag by  doxygen 1.5.2