class documentation
class Flags(Converter, dict, Mapping[
Known subclasses: tivars.models.model.TIFeature
, tivars.types.gdb.EquationFlags
, tivars.types.gdb.GraphMode
, tivars.types.gdb.SeqMode
Constructor: Flags(bitsets, width)
Base class for flag types
Flags are bitfields in a byte that are set or cleared using dict update notation.
Class Method | get |
Converts bytes -> Flags , splitting the byte into the corresponding bitfields |
Class Method | set |
Converts Flags -> bytes, packing the bitfields into the appropriate number of bytes |
Method | __contains__ |
Undocumented |
Method | __gt__ |
Undocumented |
Method | __init__ |
Creates an empty Flags instance with a given initial state and width |
Method | __int__ |
Undocumented |
Method | __str__ |
Undocumented |
Constant | _T |
Undocumented |