00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef XRDMONDECARGPARSER_HH
00014 #define XRDMONDECARGPARSER_HH
00015
00016 #include "XProtocol/XPtypes.hh"
00017 #include <string>
00018 using std::string;
00019 #include <sys/time.h>
00020
00021 class XrdMonDecArgParser {
00022 public:
00023 static void parseArguments(int argc, char* argv[]);
00024 static bool _forceCloseOnly;
00025 static kXR_int32 _upToTime;
00026 static kXR_int32 _ignoreIfBefore;
00027 static string _fPath;
00028 static string _hostPort;
00029 static string _baseDir;
00030 static bool _saveTraces;
00031 static int _maxTraceLogSize;
00032
00033
00034 static kXR_int64 _offset2Dump;
00035
00036 private:
00037 static void convertTime(int nr, char* argv[]);
00038 static string parsePath();
00039 };
00040
00041 #endif