class documentation
class Enum(Converter): (source)
Known subclasses: tivars.flash.DeviceType
, tivars.types.gdb.BorderColor
, tivars.types.gdb.GlobalLineStyle
, tivars.types.gdb.GraphColor
, tivars.types.gdb.GraphStyle
Base class for enum types
This implementation is used over Python's builtin solutions to permit interface with the Converter
system.
Class Method | get |
Converts bytes -> int, returning the first byte |
Class Method | get |
Finds the first name in this enum with a given value |
Class Method | set |
Converts int -> bytes, enforcing that the input is a recognized enum value |
Class Variable | _all |
Undocumented |
overridden in
tivars.flash.DeviceType
, tivars.types.gdb.BorderColor
, tivars.types.gdb.GlobalLineStyle
, tivars.types.gdb.GraphColor
, tivars.types.gdb.GraphStyle
Undocumented