00001
00002 #ifndef SLIC_PACKAGE_INFO_HH
00003 #define SLIC_PACKAGE_INFO_HH 1
00004
00005 namespace slic
00006 {
00007
00008 class PackageInfo
00009 {
00010
00011 public:
00012
00013 static std::string& getVersionString()
00014 {
00015 static std::string ver_str = "v2r3p9";
00016 return ver_str;
00017 }
00018
00019 static std::string& getAuthorString()
00020 {
00021 static std::string auth_str = "Jeremy McCormick and Ron Cassell";
00022 return auth_str;
00023 }
00024
00025 static std::string& getNameString()
00026 {
00027 static std::string name_str = "Simulator for the Linear Collider";
00028 return name_str;
00029 }
00030
00031 static std::string& getAbbrevString()
00032 {
00033 static std::string abbrev_str = "SLIC";
00034 return abbrev_str;
00035 }
00036
00037 static std::string& getInstitutionString()
00038 {
00039 static std::string inst_str = "SLAC";
00040 return inst_str;
00041 }
00042
00043 static std::string& getChangeDateString()
00044 {
00045 static std::string inst_str = "Thu Oct 25 10:09:19 PDT 2007";
00046 return inst_str;
00047 }
00048
00049 static std::string& getWWW()
00050 {
00051 static std::string www_str = "http://www.lcsim.org/software/slic";
00052 return www_str;
00053 }
00054
00055 static std::string& getEmail()
00056 {
00057 static std::string email_str = "jeremym@slac.stanford.edu";
00058 return email_str;
00059 }
00060
00061 static std::string getFullApplicationString()
00062 {
00063 static std::string fullVerStr =
00064 getNameString() + "; "
00065 + getAbbrevString() + "; "
00066 + getVersionString() + "; "
00067 + getAuthorString() + "; "
00068 + getInstitutionString() + "; "
00069 + getChangeDateString();
00070 return fullVerStr;
00071 }
00072 };
00073 }
00074
00075 #endif
00076