Functions
art::productstatus Namespace Reference

Functions

constexpr ProductStatus present () noexcept
 
constexpr ProductStatus neverCreated () noexcept
 
constexpr ProductStatus dropped () noexcept
 
constexpr ProductStatus unknown () noexcept
 
constexpr ProductStatus uninitialized () noexcept
 
constexpr bool present (ProductStatus const status) noexcept
 
constexpr bool neverCreated (ProductStatus const status) noexcept
 
constexpr bool dropped (ProductStatus const status) noexcept
 
constexpr bool unknown (ProductStatus const status) noexcept
 
constexpr bool uninitialized (ProductStatus const status) noexcept
 

Function Documentation

constexpr ProductStatus art::productstatus::dropped ( )
noexcept

Definition at line 20 of file ProductStatus.h.

Referenced by dropped().

21  {
22  return 0x2;
23  } // Product was not made successfully
constexpr bool art::productstatus::dropped ( ProductStatus const  status)
noexcept

Definition at line 46 of file ProductStatus.h.

References dropped(), and fabricate::status.

47  {
48  return status == dropped();
49  }
int status
Definition: fabricate.py:1613
constexpr bool dropped(ProductStatus const status) noexcept
Definition: ProductStatus.h:46
constexpr ProductStatus art::productstatus::neverCreated ( )
noexcept

Definition at line 15 of file ProductStatus.h.

Referenced by neverCreated().

16  {
17  return 0x1;
18  } // Product was not made successfully
constexpr bool art::productstatus::neverCreated ( ProductStatus const  status)
noexcept

Definition at line 41 of file ProductStatus.h.

References neverCreated(), and fabricate::status.

42  {
43  return status == neverCreated();
44  }
int status
Definition: fabricate.py:1613
constexpr bool neverCreated(ProductStatus const status) noexcept
Definition: ProductStatus.h:41
constexpr ProductStatus art::productstatus::present ( )
noexcept
constexpr bool art::productstatus::present ( ProductStatus const  status)
noexcept

Definition at line 36 of file ProductStatus.h.

References present(), and fabricate::status.

37  {
38  return status == present();
39  }
constexpr bool present(ProductStatus const status) noexcept
Definition: ProductStatus.h:36
int status
Definition: fabricate.py:1613
constexpr ProductStatus art::productstatus::uninitialized ( )
noexcept

Definition at line 30 of file ProductStatus.h.

Referenced by uninitialized().

31  {
32  return 0xff;
33  } // Status not set
constexpr bool art::productstatus::uninitialized ( ProductStatus const  status)
noexcept

Definition at line 56 of file ProductStatus.h.

References fabricate::status, and uninitialized().

57  {
58  return status == uninitialized();
59  }
int status
Definition: fabricate.py:1613
constexpr bool uninitialized(ProductStatus const status) noexcept
Definition: ProductStatus.h:56
constexpr ProductStatus art::productstatus::unknown ( )
noexcept

Definition at line 25 of file ProductStatus.h.

Referenced by unknown().

26  {
27  return 0xfe;
28  } // Status unknown (used for backward compatibility)
constexpr bool art::productstatus::unknown ( ProductStatus const  status)
noexcept

Definition at line 51 of file ProductStatus.h.

References fabricate::status, and unknown().

52  {
53  return status == unknown();
54  }
constexpr bool unknown(ProductStatus const status) noexcept
Definition: ProductStatus.h:51
int status
Definition: fabricate.py:1613