ALBA
albaVersion.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaVersion
5 Authors: based on albaVersion (www.vtk.org), adapted by Marco Petrone
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16
17#ifndef __albaVersion_h
18#define __albaVersion_h
19
20
21#include "albaBase.h"
22#include "albaConfigure.h"
23
24#define ALBA_SOURCE_VERSION "alba version " ALBA_VERSION ", alba source $Revision: 1.4 $, $Date: 2005-02-20 23:33:19 $ (GMT)"
25
34class ALBA_EXPORT albaVersion : public albaBase
35{
36public:
39
44 static const char *GetALBAVersion() { return ALBA_VERSION; }
45 static int GetALBAMajorVersion() { return ALBA_MAJOR_VERSION; }
46 static int GetALBAMinorVersion() { return ALBA_MINOR_VERSION; }
47 static int GetALBABuildVersion() { return ALBA_BUILD_VERSION; }
48 static const char *GetALBASourceVersion() { return ALBA_SOURCE_VERSION; }
49
50private:
51 albaVersion(const albaVersion&); // Not implemented.
52 void operator=(const albaVersion&); // Not implemented.
53};
54
55#endif
56
#define ALBA_SOURCE_VERSION
Definition: albaVersion.h:24
albaBase - the pourpose of this class is just to groups utilities classes
Definition: albaBase.h:27
albaVersion - Versioning class for ALBA.
Definition: albaVersion.h:35
static int GetALBAMinorVersion()
Definition: albaVersion.h:46
static const char * GetALBAVersion()
Return the version of alba this object is a part of.
Definition: albaVersion.h:44
static int GetALBAMajorVersion()
Definition: albaVersion.h:45
static int GetALBABuildVersion()
Definition: albaVersion.h:47
static const char * GetALBASourceVersion()
Definition: albaVersion.h:48