Definition at line 68 of file Enums.py.
◆ __eq__()
def python.Enums.FlagEnum.__eq__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
|
inherited |
Definition at line 7 of file Enums.py.
7 def __eq__(self, other):
8 if not isinstance(other, self.__class__):
9 raise TypeError(f
"Invalid comparison of {self.__class__} with {type(other)}")
◆ __le__()
def python.Enums.LHCPeriod.__le__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Definition at line 74 of file Enums.py.
74 def __le__(self, other):
75 if not isinstance(other, self.__class__):
76 raise TypeError(f
"Invalid comparison of {self.__class__} with {type(other)}")
78 return self.value <= other.value
◆ __lt__()
def python.Enums.LHCPeriod.__lt__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Definition at line 69 of file Enums.py.
69 def __lt__(self, other):
70 if not isinstance(other, self.__class__):
71 raise TypeError(f
"Invalid comparison of {self.__class__} with {type(other)}")
73 return self.value < other.value
◆ __hash__
python.Enums.FlagEnum.__hash__ |
|
staticprivateinherited |
◆ Run1
python.Enums.LHCPeriod.Run1 |
|
static |
◆ Run2
python.Enums.LHCPeriod.Run2 |
|
static |
◆ Run3
python.Enums.LHCPeriod.Run3 |
|
static |
◆ Run4
python.Enums.LHCPeriod.Run4 |
|
static |
The documentation for this class was generated from the following file: