Mapper for physics :class:`Model` values.
Definition at line 258 of file Mapper.py.
◆ __init__()
| pyhyperiso.core.Common.Mapper.ModelMapper.__init__ |
( |
|
self | ) |
|
◆ get_enum()
| pyhyperiso.core.Common.Mapper.ModelMapper.get_enum |
( |
|
self | ) |
|
Return enum values known to the C++ mapper.
Definition at line 280 of file Mapper.py.
◆ get_str()
| pyhyperiso.core.Common.Mapper.ModelMapper.get_str |
( |
|
self | ) |
|
Return the C++ mapper's primary string table.
Definition at line 272 of file Mapper.py.
◆ get_str_all()
| pyhyperiso.core.Common.Mapper.ModelMapper.get_str_all |
( |
|
self | ) |
|
Return all string aliases known to the C++ mapper.
Definition at line 276 of file Mapper.py.
◆ id_of()
| pyhyperiso.core.Common.Mapper.ModelMapper.id_of |
( |
|
self, |
|
|
Model |
obs_id |
|
) |
| |
Return the C++ id associated with a model.
Definition at line 268 of file Mapper.py.
◆ str()
| pyhyperiso.core.Common.Mapper.ModelMapper.str |
( |
|
self, |
|
|
Model |
obs_id |
|
) |
| |
Return the canonical model name.
Definition at line 264 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