#include <config.h>
|
template<class T , std::enable_if_t< std::is_integral_v< T >, bool > = true> |
static constexpr size_t | gnuradio_version_num (T major, T minor, T patch, T tweak) |
| Returns a numerical representation of a given version in the form major.minor.patch. This can be used to compare easily different versions. More...
|
|
◆ gnuradio_version_num()
template<class T , std::enable_if_t< std::is_integral_v< T >, bool > = true>
static constexpr size_t gr::satnogs::config::gnuradio_version_num |
( |
T |
major, |
|
|
T |
minor, |
|
|
T |
patch, |
|
|
T |
tweak |
|
) |
| |
|
inlinestaticconstexpr |
Returns a numerical representation of a given version in the form major.minor.patch. This can be used to compare easily different versions.
- Parameters
-
T | an integral type |
major | the major version |
minor | the minor version |
patch | the patch version |
tweak | the tweak version |
- Returns
- constexpr size_t a numerical representation of a version
◆ gnuradio_major
constexpr short int gr::satnogs::config::gnuradio_major = 3 |
|
staticconstexpr |
◆ gnuradio_minor
constexpr short int gr::satnogs::config::gnuradio_minor = 10 |
|
staticconstexpr |
◆ gnuradio_patch
constexpr short int gr::satnogs::config::gnuradio_patch = 5 |
|
staticconstexpr |
◆ gnuradio_tweak
constexpr short int gr::satnogs::config::gnuradio_tweak = 1 |
|
staticconstexpr |
The documentation for this class was generated from the following file: