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

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_06_01/source/canvas/Persistency/Provenance/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.

References submit_hadd::u.

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.

References submit_hadd::u.

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

Definition at line 31 of file IDNumber.h.

References submit_hadd::u.

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.

References PandAna.reco_validation.prod5_pid_validation::invalid, and submit_hadd::u.

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.

References submit_hadd::u.

42  {
43  return n + 1u;
44  }

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