Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MCGIDI_version.cc File Reference
#include "MCGIDI.h"
Include dependency graph for MCGIDI_version.cc:

Go to the source code of this file.

Functions

const char * MCGIDI_version (void)
 
int MCGIDI_versionMajor (void)
 
int MCGIDI_versionMinor (void)
 
int MCGIDI_versionPatchLevel (void)
 

Variables

static char versionStr [64] = ""
 

Function Documentation

const char* MCGIDI_version ( void  )

Definition at line 13 of file MCGIDI_version.cc.

13  {
14 
15  if( versionStr[0] == 0 ) sprintf( versionStr, "MCGIDI version %d.%d.%d", MCGIDI_VERSION_MAJOR, MCGIDI_VERSION_MINOR, MCGIDI_VERSION_PATCHLEVEL );
16  return( versionStr );
17 }
#define MCGIDI_VERSION_MINOR
Definition: MCGIDI.h:9
#define MCGIDI_VERSION_PATCHLEVEL
Definition: MCGIDI.h:10
#define MCGIDI_VERSION_MAJOR
Definition: MCGIDI.h:8
static char versionStr[64]
int MCGIDI_versionMajor ( void  )

Definition at line 21 of file MCGIDI_version.cc.

21 { return( MCGIDI_VERSION_MAJOR ); }
#define MCGIDI_VERSION_MAJOR
Definition: MCGIDI.h:8
int MCGIDI_versionMinor ( void  )

Definition at line 22 of file MCGIDI_version.cc.

22 { return( MCGIDI_VERSION_MINOR ); }
#define MCGIDI_VERSION_MINOR
Definition: MCGIDI.h:9
int MCGIDI_versionPatchLevel ( void  )

Definition at line 23 of file MCGIDI_version.cc.

23 { return( MCGIDI_VERSION_PATCHLEVEL ); }
#define MCGIDI_VERSION_PATCHLEVEL
Definition: MCGIDI.h:10

Variable Documentation

char versionStr[64] = ""
static

Definition at line 8 of file MCGIDI_version.cc.