LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::IDNumber< Level::Run > 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::Run >

Definition at line 79 of file IDNumber.h.

Member Typedef Documentation

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

Definition at line 80 of file IDNumber.h.

Member Function Documentation

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

Definition at line 102 of file IDNumber.h.

103  {
104  return 1u;
105  }
static constexpr type art::IDNumber< Level::Run >::flush_value ( )
inlinestaticnoexcept

Definition at line 92 of file IDNumber.h.

93  {
94  return max_valid();
95  }
static constexpr type max_valid() noexcept
Definition: IDNumber.h:87
static constexpr type art::IDNumber< Level::Run >::invalid ( )
inlinestaticnoexcept

Definition at line 82 of file IDNumber.h.

83  {
84  return -1u;
85  }
static constexpr type art::IDNumber< Level::Run >::max_natural ( )
inlinestaticnoexcept

Definition at line 97 of file IDNumber.h.

98  {
99  return flush_value() - 1u;
100  }
static constexpr type flush_value() noexcept
Definition: IDNumber.h:92
static constexpr type art::IDNumber< Level::Run >::max_valid ( )
inlinestaticnoexcept

Definition at line 87 of file IDNumber.h.

88  {
89  return invalid() - 1u;
90  }
static constexpr type invalid() noexcept
Definition: IDNumber.h:82

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