LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 ()
 
static constexpr type max_valid ()
 
static constexpr type flush_value ()
 
static constexpr type max_natural ()
 
static constexpr type first ()
 

Detailed Description

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

Definition at line 78 of file IDNumber.h.

Member Typedef Documentation

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

Definition at line 79 of file IDNumber.h.

Member Function Documentation

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

Definition at line 101 of file IDNumber.h.

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

Definition at line 91 of file IDNumber.h.

92  {
93  return max_valid();
94  }
static constexpr type max_valid()
Definition: IDNumber.h:86
static constexpr type art::IDNumber< Level::Run >::invalid ( )
inlinestatic

Definition at line 81 of file IDNumber.h.

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

Definition at line 96 of file IDNumber.h.

97  {
98  return flush_value() - 1u;
99  }
static constexpr type flush_value()
Definition: IDNumber.h:91
static constexpr type art::IDNumber< Level::Run >::max_valid ( )
inlinestatic

Definition at line 86 of file IDNumber.h.

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

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