| Jpp test-rotations-new
    the software that should make you happy | 
Auxiliary data structure for general purpose version number. More...
#include <JVersion.hh>
 
  
| Public Types | |
| typedef unsigned int | version_type | 
| Type definition of [sub-]versions. | |
| Public Member Functions | |
| JVersion () | |
| Default constructor. | |
| JVersion (const version_type major, const version_type minor, const version_type patch) | |
| Constructor. | |
| JVersion (const std::string &version) | |
| Constructor. | |
| version_type | getMajorVersion () const | 
| Get major version. | |
| version_type | getMinorVersion () const | 
| Get minor version. | |
| version_type | getPatchVersion () const | 
| Get patch version. | |
| bool | less (const JVersion &version) const | 
| Compare version. | |
| std::string | toString () const | 
| Convert version to string. | |
| Static Public Attributes | |
| static const char | SEPARATOR = '.' | 
| Separator between [sub-]versions. | |
| Protected Attributes | |
| version_type | majorVersion | 
| major version | |
| version_type | minorVersion | 
| minor version | |
| version_type | patchVersion | 
| patch version | |
| Friends | |
| std::istream & | operator>> (std::istream &in, JVersion &object) | 
| Read version from input stream. | |
| std::ostream & | operator<< (std::ostream &out, const JVersion &object) | 
| Write version to output stream. | |
Auxiliary data structure for general purpose version number.
A version consists of a major, minor and patch number.
The I/O format is <major>.<minor>.<patch>. 
Definition at line 28 of file Jeep/JVersion.hh.
| unsigned int JEEP::JVersion::version_type | 
Type definition of [sub-]versions.
Definition at line 34 of file Jeep/JVersion.hh.
| 
 | inline | 
Default constructor.
Definition at line 46 of file Jeep/JVersion.hh.
| 
 | inline | 
Constructor.
| major | major version | 
| minor | minor version | 
| patch | patch version | 
Definition at line 60 of file Jeep/JVersion.hh.
| 
 | inline | 
Constructor.
| version | version | 
Definition at line 74 of file Jeep/JVersion.hh.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Compare version.
| version | version | 
Definition at line 124 of file Jeep/JVersion.hh.
| 
 | inline | 
Convert version to string.
Definition at line 149 of file Jeep/JVersion.hh.
| 
 | friend | 
Read version from input stream.
| in | input stream | 
| object | version | 
Definition at line 166 of file Jeep/JVersion.hh.
| 
 | friend | 
Write version to output stream.
| out | output stream | 
| object | version | 
Definition at line 201 of file Jeep/JVersion.hh.
| 
 | static | 
Separator between [sub-]versions.
Definition at line 40 of file Jeep/JVersion.hh.
| 
 | protected | 
major version
Definition at line 211 of file Jeep/JVersion.hh.
| 
 | protected | 
minor version
Definition at line 212 of file Jeep/JVersion.hh.
| 
 | protected | 
patch version
Definition at line 213 of file Jeep/JVersion.hh.