Public Types | Static Public Member Functions | List of all members
art::IDNumber< Level::SubRun > 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
 

Detailed Description

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

Definition at line 49 of file IDNumber.h.

Member Typedef Documentation

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

Definition at line 50 of file IDNumber.h.

Member Function Documentation

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

Definition at line 72 of file IDNumber.h.

73  {
74  return 0u;
75  }
static constexpr type art::IDNumber< Level::SubRun >::flush_value ( )
inlinestaticnoexcept

Definition at line 62 of file IDNumber.h.

63  {
64  return max_valid();
65  }
static constexpr type max_valid() noexcept
Definition: IDNumber.h:57
static constexpr type art::IDNumber< Level::SubRun >::invalid ( )
inlinestaticnoexcept

Definition at line 52 of file IDNumber.h.

53  {
54  return -1u;
55  }
static constexpr type art::IDNumber< Level::SubRun >::max_natural ( )
inlinestaticnoexcept

Definition at line 67 of file IDNumber.h.

68  {
69  return flush_value() - 1u;
70  }
static constexpr type flush_value() noexcept
Definition: IDNumber.h:62
static constexpr type art::IDNumber< Level::SubRun >::max_valid ( )
inlinestaticnoexcept

Definition at line 57 of file IDNumber.h.

58  {
59  return invalid() - 1u;
60  }
static constexpr type invalid() noexcept
Definition: IDNumber.h:52

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