Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00029 #ifndef _CONSTS_H
00030 #define _CONSTS_H
00031
00032 #ifdef HAVE_CONFIG_H
00033 # include <config.h>
00034 #endif
00035
00036 #ifdef HAVE_SYS_TYPES_H
00037 # include <sys/types.h>
00038 #endif
00039
00040 #ifdef HAVE_STRING
00041 # include <string>
00042 #endif
00043
00044 namespace YAPET {
00045 namespace CONSTS {
00046
00047 class Consts {
00048 private:
00050 static const std::string default_suffix;
00052 static const std::string default_rcfilename;
00054 static const size_t max_pwlen;
00055 inline Consts() {}
00056 inline ~Consts() {}
00057 inline Consts (const Consts&) {}
00058 inline const Consts& operator= (const Consts&) {
00059 return *this;
00060 }
00061
00062 public:
00063 static const std::string& getDefaultSuffix();
00064 static const std::string& getDefaultRCFilename();
00065 static size_t getMaxPWLength();
00066 };
00067
00068 }
00069 }
00070 #endif // _CONSTS_H