FEDRA emulsion software from the OPERA Collaboration
VERTEX::VtIni Class Reference

#include <VtIni.hh>

Collaboration diagram for VERTEX::VtIni:

Classes

class  initializer
 not available in CINT More...
 

Public Member Functions

 VtIni ()
 constructor More...
 

Static Public Member Functions

static const char *const date ()
 get birthday & time of package version More...
 
static const bool debug ()
 toggle debug flag More...
 
static const bool isDebug ()
 return debug flag More...
 
static const char *const name ()
 get string with package name More...
 
static const char *const version ()
 get string with version number More...
 

— Expert functions —

static initializer doIni
 constructor call for initalization More...
 
static const char * Version = xcvsVERSION_vt
 
static const char * Name = xcvsMODULE_vt
 
static const char * Date = xcvsDAYTIME_vt
 
static bool Debug = false
 
void print (std::ostream &os) const
 

Detailed Description

The initialization of the package is done automatically when the shared library is loaded into memory. An instance should only be created to obtain the information provided by the member functions. @memo Initialization of Vt++ package

Author
T. Glebe

Constructor & Destructor Documentation

◆ VtIni()

VERTEX::VtIni::VtIni ( )

constructor

42{}

Member Function Documentation

◆ date()

static const char *const VERTEX::VtIni::date ( )
inlinestatic

get birthday & time of package version

52{ return Date; }
static const char * Date
Definition: VtIni.hh:75

◆ debug()

const bool VERTEX::VtIni::debug ( )
static

toggle debug flag

68 {
69 Debug = ((Debug==true) ? false : true);
70 return Debug;
71 }
static bool Debug
Definition: VtIni.hh:76

◆ isDebug()

static const bool VERTEX::VtIni::isDebug ( )
inlinestatic

return debug flag

56{ return Debug; }

◆ name()

static const char *const VERTEX::VtIni::name ( )
inlinestatic

get string with package name

50{ return Name; }
static const char * Name
Definition: VtIni.hh:74

◆ print()

void VERTEX::VtIni::print ( std::ostream &  os) const
58 {
59 cout << name()
60 << " version " << version()
61 << " loaded (" << date() << ")."
62 << endl;
63 }
static const char *const name()
get string with package name
Definition: VtIni.hh:50
static const char *const date()
get birthday & time of package version
Definition: VtIni.hh:52
static const char *const version()
get string with version number
Definition: VtIni.hh:48

◆ version()

static const char *const VERTEX::VtIni::version ( )
inlinestatic

get string with version number

48{ return Version; }
static const char * Version
Definition: VtIni.hh:73

Member Data Documentation

◆ Date

const char * VERTEX::VtIni::Date = xcvsDAYTIME_vt
staticprivate

◆ Debug

bool VERTEX::VtIni::Debug = false
staticprivate

◆ doIni

VtIni::initializer VERTEX::VtIni::doIni
staticprivate

constructor call for initalization

◆ Name

const char * VERTEX::VtIni::Name = xcvsMODULE_vt
staticprivate

◆ Version

const char * VERTEX::VtIni::Version = xcvsVERSION_vt
staticprivate

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