Public Types | Static Public Member Functions | List of all members
art::IDNumber< Level::Event > Struct Template Reference

#include <IDNumber.h>

Public Types

using type = std::uint32_t
 

Static Public Member Functions

static constexpr type invalid () noexcept
 
static constexpr type max_valid () noexcept
 
static constexpr type flush_value () noexcept
 
static constexpr type max_natural () noexcept
 
static constexpr type first () noexcept
 
static type next (type const n) noexcept
 

Detailed Description

template<>
struct art::IDNumber< Level::Event >

Definition at line 14 of file IDNumber.h.

Member Typedef Documentation

using art::IDNumber< Level::Event >::type = std::uint32_t

Definition at line 15 of file IDNumber.h.

Member Function Documentation

static constexpr type art::IDNumber< Level::Event >::first ( )
inlinestaticnoexcept

Definition at line 37 of file IDNumber.h.

38  {
39  return 1u;
40  }
static constexpr type art::IDNumber< Level::Event >::flush_value ( )
inlinestaticnoexcept

Definition at line 27 of file IDNumber.h.

28  {
29  return max_valid();
30  }
static constexpr type max_valid() noexcept
Definition: IDNumber.h:22
static constexpr type art::IDNumber< Level::Event >::invalid ( )
inlinestaticnoexcept

Definition at line 17 of file IDNumber.h.

18  {
19  return -1u;
20  }
static constexpr type art::IDNumber< Level::Event >::max_natural ( )
inlinestaticnoexcept

Definition at line 32 of file IDNumber.h.

33  {
34  return flush_value() - 1u;
35  }
static constexpr type flush_value() noexcept
Definition: IDNumber.h:27
static constexpr type art::IDNumber< Level::Event >::max_valid ( )
inlinestaticnoexcept

Definition at line 22 of file IDNumber.h.

23  {
24  return invalid() - 1u;
25  }
static constexpr type invalid() noexcept
Definition: IDNumber.h:17
static type art::IDNumber< Level::Event >::next ( type const  n)
inlinestaticnoexcept

Definition at line 42 of file IDNumber.h.

43  {
44  return n + 1u;
45  }
std::void_t< T > n

The documentation for this struct was generated from the following file: