Namespace podio::version

namespace version

Functions

inline std::ostream &operator<<(std::ostream &os, const Version &v)
static constexpr Version decode_version(unsigned long version) noexcept

Decode a version from a 64 bit unsigned.

Variables

static constexpr Version build_version = {podio_VERSION_MAJOR, podio_VERSION_MINOR, podio_VERSION_PATCH}

The current build version.

struct Version
#include <podio/podioVersion.h>

Version class consisting of 3 16 bit unsigned integers to hold the major, minor and patch version.

Provides constexpr comparison operators that allow to use this class in constexpr-if clauses.

Public Members

uint16_t major = {0}
uint16_t minor = {0}
uint16_t patch = {0}

Friends

friend std::ostream &operator<<(std::ostream&, const Version &v)