Create a constant valued PossibleValueSet object. :param int value: Integer value of the constant :rtype: PossibleValueSet
(value: int)
| 503 | |
| 504 | @staticmethod |
| 505 | def constant(value: int) -> 'PossibleValueSet': |
| 506 | """ |
| 507 | Create a constant valued PossibleValueSet object. |
| 508 | |
| 509 | :param int value: Integer value of the constant |
| 510 | :rtype: PossibleValueSet |
| 511 | """ |
| 512 | result = PossibleValueSet() |
| 513 | result._type = RegisterValueType.ConstantValue |
| 514 | result._value = value |
| 515 | return result |
| 516 | |
| 517 | @staticmethod |
| 518 | def constant_ptr(value: int) -> 'PossibleValueSet': |
nothing calls this directly
no test coverage detected