Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
MCGIDI_version.cc
이 파일의 문서화 페이지로 가기
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 ); }
char const * MCGIDI_version(void)
#define MCGIDI_VERSION_MINOR
Definition: MCGIDI.h:9
int MCGIDI_versionMinor(void)
#define MCGIDI_VERSION_MAJOR
Definition: MCGIDI.h:8
int MCGIDI_versionMajor(void)
int MCGIDI_versionPatchLevel(void)
static char versionStr[64]
#define MCGIDI_VERSION_PATCHLEVEL
Definition: MCGIDI.h:10