7 #ifndef __FWRUNTIME_VERSION_HPP__ 8 #define __FWRUNTIME_VERSION_HPP__ 10 #include "fwRuntime/config.hpp" 36 FWRUNTIME_API
Version(
const std::string& version);
45 FWRUNTIME_API
Version(
const int major,
const int minor = 0,
const int patch = -1);
50 FWRUNTIME_API
bool operator==(
const Version& version)
const;
55 FWRUNTIME_API
const std::string
string()
const;
60 FWRUNTIME_API
friend std::ostream&
operator<<(std::ostream& os,
const Version& version);
FWRUNTIME_API Version()
Constructor.
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
FWRUNTIME_API friend std::ostream & operator<<(std::ostream &os, const Version &version)
Return an ostream representation of a version.
FWRUNTIME_API bool operator==(const Version &version) const
Equality test.
Holds version information for libraries and bundles.
FWRUNTIME_API const std::string string() const
String converter.