1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#ifndef VERSION_H
#define VERSION_H
#include "bzrrev.h"
#include <string>
/*! \brief PTools version class
*
* This simple class is used to define unique
* revision numbers, now relying on bazaar.
* This unique number can be used to know exactly
* which version of the library was used to perform
* a simulation.
*/
struct Version
{
//public attributes
public:
int revnb;
std::string revstr;
std::string revdate;
std::string revid;
std::string branchnick;
//public methods
public:
Version(); //default constructor
};
#endif
|