Mapper for :class:`QCDOrder` values.
Definition at line 190 of file Mapper.py.
◆ __init__()
| pyhyperiso.core.Common.Mapper.OrderMapper.__init__ |
( |
|
self | ) |
|
◆ get_enum()
| pyhyperiso.core.Common.Mapper.OrderMapper.get_enum |
( |
|
self | ) |
|
Return enum values known to the C++ mapper.
Definition at line 226 of file Mapper.py.
◆ get_str()
| pyhyperiso.core.Common.Mapper.OrderMapper.get_str |
( |
|
self | ) |
|
Return the C++ mapper's primary string table.
Definition at line 218 of file Mapper.py.
◆ get_str_all()
| pyhyperiso.core.Common.Mapper.OrderMapper.get_str_all |
( |
|
self | ) |
|
Return all string aliases known to the C++ mapper.
Definition at line 222 of file Mapper.py.
◆ id_of()
| pyhyperiso.core.Common.Mapper.OrderMapper.id_of |
( |
|
self, |
|
|
QCDOrder |
obs_id |
|
) |
| |
Round-trip a QCD order through its canonical string.
Args:
obs_id: Python ``QCDOrder`` enum value.
Returns:
Any: Bound C++ enum/id returned by the mapper.
Definition at line 207 of file Mapper.py.
◆ str()
| pyhyperiso.core.Common.Mapper.OrderMapper.str |
( |
|
self, |
|
|
QCDOrder |
obs_id |
|
) |
| |
Return the canonical C++ string for a QCD order.
Args:
obs_id: Python ``QCDOrder`` enum value.
Returns:
str: Canonical name stored by the C++ mapper.
Definition at line 196 of file Mapper.py.
The documentation for this class was generated from the following file:
- /home/runner/work/Hyperiso/Hyperiso/Hyperiso/Hyperiso/pyhyperiso/core/Common/Mapper.py