Print

Print


Commit in slic/include on MAIN
PackageInfo.hh+69added 1.1
Current package info

slic/include
PackageInfo.hh added at 1.1
diff -N PackageInfo.hh
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ PackageInfo.hh	21 Sep 2005 21:15:33 -0000	1.1
@@ -0,0 +1,69 @@
+namespace slic
+{
+
+  class PackageInfo
+  {
+
+  public:
+
+    static std::string& getVersionString()
+    {
+      static std::string ver_str = "v1r10p1";
+      return ver_str;
+    }
+
+    static std::string& getAuthorString()
+    {
+      static std::string auth_str = "Jeremy McCormick and Ron Cassell";
+      return auth_str;
+    }
+
+    static std::string& getNameString()
+    {
+      static std::string name_str = "Simulator for the Linear Collider";
+      return name_str;
+    }
+
+    static std::string& getAbbrevString()
+    {
+      static std::string abbrev_str = "SLIC";
+      return abbrev_str;
+    }
+
+    static std::string& getInstitutionString()
+    {
+      static std::string inst_str = "SLAC";
+      return inst_str;
+    }
+
+    static std::string& getChangeDateString()
+    {
+      static std::string inst_str = "Wed Sep 21 14:15:21 PDT 2005";
+      return inst_str;
+    }
+
+    static std::string& getWWW()
+    {
+      static std::string www_str = "http://www.lcsim.org/software/slic";
+      return www_str;
+    }
+
+    static std::string& getEmail()
+    {
+      static std::string email_str = "[log in to unmask]";
+      return email_str;
+    }
+
+    static std::string getFullApplicationString()
+    {
+      static std::string fullVerStr =
+	getNameString() + "; "
+	+ getAbbrevString() + "; "
+	+ getVersionString() + "; "
+	+ getAuthorString() + "; "
+	+ getInstitutionString() + "; "
+	+ getChangeDateString();
+      return fullVerStr;
+    }
+  };
+}
CVSspam 0.2.8