Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
VersionAndContext Class Reference

#include <VersionAndContext.hh>

Public Member Functions

 VersionAndContext (VersionAndContext const &)
 
VersionAndContextoperator= (VersionAndContext const &)
 
void SetGitDescription (std::string &val)
 
std::string GetGitDescription () const
 
void SetG4lbnfDir (std::string &val)
 
std::string GetG4lbnfDir () const
 
void SetBuildTimeStamp (std::string &val)
 
std::string GetBuildTimeStamp () const
 
void SetPhysicsList (std::string &val)
 
std::string GetPhysicsList () const
 
void SetMacroFileName (std::string &val)
 
std::string GetMacroFileName ()
 

Static Public Member Functions

static VersionAndContextInstance ()
 

Private Member Functions

 VersionAndContext ()
 

Private Attributes

std::string gitDescription
 
std::string g4lbnfDir
 
std::string buildTimeStamp
 
std::string physicsList
 
std::string macroFileName
 

Static Private Attributes

static VersionAndContextfInstance = 0
 

Detailed Description

Definition at line 14 of file VersionAndContext.hh.

Constructor & Destructor Documentation

VersionAndContext::VersionAndContext ( )
private

Definition at line 9 of file VersionAndContext.cc.

9  :
10  gitDescription("heads/master"),
11  g4lbnfDir("/dune/app/users/bashyal8/g4lbne_dev/v3r5p4_stash/g4lbne"),
12  buildTimeStamp("2018-10-09.16:15:18")
13  { ; }
std::string gitDescription
std::string buildTimeStamp
VersionAndContext::VersionAndContext ( VersionAndContext const &  )

Member Function Documentation

std::string VersionAndContext::GetBuildTimeStamp ( ) const
inline

Definition at line 40 of file VersionAndContext.hh.

40 {return buildTimeStamp;}
std::string buildTimeStamp
std::string VersionAndContext::GetG4lbnfDir ( ) const
inline

Definition at line 37 of file VersionAndContext.hh.

37 {return g4lbnfDir; }
std::string VersionAndContext::GetGitDescription ( ) const
inline

Definition at line 34 of file VersionAndContext.hh.

34 {return gitDescription; }
std::string gitDescription
std::string VersionAndContext::GetMacroFileName ( )
inline

Definition at line 46 of file VersionAndContext.hh.

46 { return macroFileName;}
std::string macroFileName
std::string VersionAndContext::GetPhysicsList ( ) const
inline

Definition at line 43 of file VersionAndContext.hh.

43 { return physicsList; }
VersionAndContext * VersionAndContext::Instance ( )
static

Definition at line 17 of file VersionAndContext.cc.

17  {
18  if (fInstance == 0) fInstance = new VersionAndContext();
19  return fInstance; }
static VersionAndContext * fInstance
VersionAndContext& VersionAndContext::operator= ( VersionAndContext const &  )
void VersionAndContext::SetBuildTimeStamp ( std::string val)
inline

Definition at line 39 of file VersionAndContext.hh.

39 { buildTimeStamp = val;}
std::string buildTimeStamp
void VersionAndContext::SetG4lbnfDir ( std::string val)
inline

Definition at line 36 of file VersionAndContext.hh.

36 { g4lbnfDir = val;}
void VersionAndContext::SetGitDescription ( std::string val)
inline

Definition at line 33 of file VersionAndContext.hh.

std::string gitDescription
void VersionAndContext::SetMacroFileName ( std::string val)
inline

Definition at line 45 of file VersionAndContext.hh.

45 { macroFileName = val;}
std::string macroFileName
void VersionAndContext::SetPhysicsList ( std::string val)
inline

Definition at line 42 of file VersionAndContext.hh.

42 { physicsList = val; }

Member Data Documentation

std::string VersionAndContext::buildTimeStamp
private

Definition at line 22 of file VersionAndContext.hh.

VersionAndContext * VersionAndContext::fInstance = 0
staticprivate

Definition at line 19 of file VersionAndContext.hh.

std::string VersionAndContext::g4lbnfDir
private

Definition at line 21 of file VersionAndContext.hh.

std::string VersionAndContext::gitDescription
private

Definition at line 20 of file VersionAndContext.hh.

std::string VersionAndContext::macroFileName
private

Definition at line 25 of file VersionAndContext.hh.

std::string VersionAndContext::physicsList
private

Definition at line 24 of file VersionAndContext.hh.


The documentation for this class was generated from the following files: