fw4spl
|
Holds version information for libraries and bundles. More...
#include <Version.hpp>
Public Member Functions | |
FWRUNTIME_API | Version () |
Constructor. More... | |
FWRUNTIME_API | Version (const std::string &version) |
Constructor. More... | |
FWRUNTIME_API | Version (const int major, const int minor=0, const int patch=-1) |
Constructor. More... | |
FWRUNTIME_API bool | operator== (const Version &version) const |
Equality test. | |
FWRUNTIME_API const std::string | string () const |
String converter. | |
Friends | |
FWRUNTIME_API friend std::ostream & | operator<< (std::ostream &os, const Version &version) |
Return an ostream representation of a version. | |
Holds version information for libraries and bundles.
Definition at line 21 of file fwRuntime/include/fwRuntime/Version.hpp.
fwRuntime::Version::Version | ( | ) |
fwRuntime::Version::Version | ( | const std::string & | version | ) |
Constructor.
[in] | version | a string representing the version number. |
Definition at line 30 of file fwRuntime/src/Version.cpp.
fwRuntime::Version::Version | ( | const int | major, |
const int | minor = 0 , |
||
const int | patch = -1 |
||
) |
Constructor.
[in] | major | the version major number |
[in] | minor | the version minor number (0 by default) |
[in] | patch | the version patch number (-1 by default) |
Definition at line 74 of file fwRuntime/src/Version.cpp.