Geant4
10.03.p03
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
MCGIDI_version.cc
Go to the documentation of this file.
1
/*
2
# <<BEGIN-copyright>>
3
# <<END-copyright>>
4
*/
5
6
#include "
MCGIDI.h
"
7
8
static
char
versionStr
[64] =
""
;
9
10
/*
11
========================================================================
12
*/
13
const
char
*
MCGIDI_version
(
void
) {
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
}
18
/*
19
========================================================================
20
*/
21
int
MCGIDI_versionMajor
(
void
) {
return
(
MCGIDI_VERSION_MAJOR
); }
22
int
MCGIDI_versionMinor
(
void
) {
return
(
MCGIDI_VERSION_MINOR
); }
23
int
MCGIDI_versionPatchLevel
(
void
) {
return
(
MCGIDI_VERSION_PATCHLEVEL
); }
MCGIDI_version
char const * MCGIDI_version(void)
Definition:
MCGIDI_version.cc:13
MCGIDI_VERSION_MINOR
#define MCGIDI_VERSION_MINOR
Definition:
MCGIDI.h:9
MCGIDI_VERSION_PATCHLEVEL
#define MCGIDI_VERSION_PATCHLEVEL
Definition:
MCGIDI.h:10
MCGIDI_versionMinor
int MCGIDI_versionMinor(void)
Definition:
MCGIDI_version.cc:22
MCGIDI.h
MCGIDI_versionPatchLevel
int MCGIDI_versionPatchLevel(void)
Definition:
MCGIDI_version.cc:23
MCGIDI_VERSION_MAJOR
#define MCGIDI_VERSION_MAJOR
Definition:
MCGIDI.h:8
versionStr
static char versionStr[64]
Definition:
MCGIDI_version.cc:8
MCGIDI_versionMajor
int MCGIDI_versionMajor(void)
Definition:
MCGIDI_version.cc:21
source
geant4.10.03.p03
source
processes
hadronic
models
lend
src
MCGIDI_version.cc
Generated on Tue Nov 28 2017 21:44:15 for Geant4 by
1.8.5