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

Detailed Description

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

Definition at line 13 of file IDNumber.h.

Member Typedef Documentation

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

Definition at line 14 of file IDNumber.h.

Member Function Documentation

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

Definition at line 36 of file IDNumber.h.

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

Definition at line 26 of file IDNumber.h.

27  {
28  return max_valid();
29  }
static constexpr type max_valid()
Definition: IDNumber.h:21
static constexpr type art::IDNumber< Level::Event >::invalid ( )
inlinestatic

Definition at line 16 of file IDNumber.h.

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

Definition at line 31 of file IDNumber.h.

32  {
33  return flush_value() - 1u;
34  }
static constexpr type flush_value()
Definition: IDNumber.h:26
static constexpr type art::IDNumber< Level::Event >::max_valid ( )
inlinestatic

Definition at line 21 of file IDNumber.h.

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

Definition at line 41 of file IDNumber.h.

42  {
43  return n + 1u;
44  }
Char_t n[5]

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