|
| | __init__ (self, *args) |
| | init(self, _bte=BTE_ALWAYS|BTE_HEX) -> enum_type_data_t
|
| |
| "int" | get_enum_radix (self) |
| | get_enum_radix(self) -> int Get enum constant radix
|
| |
| "bool" | is_number_signed (self) |
| | is_number_signed(self) -> bool
|
| |
| "void" | set_enum_radix (self, "int" radix, "bool" sign) |
| | set_enum_radix(self, radix, sign) Set radix to display constants
|
| |
| "bool" | is_char (self) |
| | is_char(self) -> bool
|
| |
| "bool" | is_dec (self) |
| | is_dec(self) -> bool
|
| |
| "bool" | is_hex (self) |
| | is_hex(self) -> bool
|
| |
| "bool" | is_oct (self) |
| | is_oct(self) -> bool
|
| |
| "bool" | is_bin (self) |
| | is_bin(self) -> bool
|
| |
| "bool" | is_udec (self) |
| | is_udec(self) -> bool
|
| |
| "bool" | is_shex (self) |
| | is_shex(self) -> bool
|
| |
| "bool" | is_soct (self) |
| | is_soct(self) -> bool
|
| |
| "bool" | is_sbin (self) |
| | is_sbin(self) -> bool
|
| |
| "bool" | has_lzero (self) |
| | has_lzero(self) -> bool
|
| |
| "void" | set_lzero (self, "bool" on) |
| | set_lzero(self, on)
|
| |
| "uint64" | calc_mask (self) |
| | calc_mask(self) -> uint64
|
| |
| "bool" | store_64bit_values (self) |
| | store_64bit_values(self) -> bool
|
| |
| "bool" | is_bf (self) |
| | is_bf(self) -> bool is bitmask or ordinary enum?
|
| |
| "int" | calc_nbytes (self) |
| | calc_nbytes(self) -> int get the width of enum in bytes
|
| |
| "bool" | set_nbytes (self, "int" nbytes) |
| | set_nbytes(self, nbytes) -> bool set enum width (nbytes)
|
| |
| "bool" | is_group_mask_at (self, "size_t" idx) |
| | is_group_mask_at(self, idx) -> bool is the enum member at IDX a non-trivial group mask? a trivial group consist of one bit and has just one member, which can be considered as a mask or a bitfield constant
|
| |
| "bool" | is_valid_group_sizes (self) |
| | is_valid_group_sizes(self) -> bool is valid group sizes
|
| |
| "ssize_t" | find_member (self, *args) |
| | find_member(self, name, _from=0, to=size_t(-1)) -> ssize_t find member (constant or bmask) by value
|
| |
| "void" | swap (self, "enum_type_data_t" r) |
| | swap(self, r) swap two instances
|
| |
| "void" | add_constant (self, "char const *" name, "uint64" value, "char const *" cmt=None) |
| | add_constant(self, name, value, cmt=None) add constant for regular enum
|
| |
| "tinfo_code_t" | get_value_repr (self, "value_repr_t" repr) |
| | get_value_repr(self, repr) -> tinfo_code_t get enum radix and other representation info
|
| |
| "tinfo_code_t" | set_value_repr (self, "value_repr_t" repr) |
| | set_value_repr(self, repr) -> tinfo_code_t set enum radix and other representation info
|
| |
| "uchar" | get_serial (self, "size_t" index) |
| | get_serial(self, index) -> uchar returns serial for the constant
|
| |
| "uchar" | get_max_serial (self, "uint64" value) |
| | get_max_serial(self, value) -> uchar return the maximum serial for the value
|
| |
| "PyObject *" | get_constant_group (self, *args) |
| | get_constant_group(self, group_start_index, group_size, idx) -> bool get group parameters for the constant, valid for bitmask enum
|
| |
| | all_groups (self, skip_trivial=False) |
| | Generate tuples for bitmask enum groups.
|
| |
| | all_constants (self) |
| | Generate tupples of all constants except of bitmasks.
|
| |
| "edm_t &" | push_back (self, *args) |
| | push_back(self, x)
|
| |
| "void" | pop_back (self) |
| | pop_back(self)
|
| |
| "size_t" | size (self) |
| | size(self) -> size_t
|
| |
| "bool" | empty (self) |
| | empty(self) -> bool
|
| |
| "edm_t const &" | at (self, "size_t" _idx) |
| | at(self, _idx) -> edm_t
|
| |
| "void" | qclear (self) |
| | qclear(self)
|
| |
| "void" | clear (self) |
| | clear(self)
|
| |
| "void" | resize (self, *args) |
| | resize(self, _newsize, x)
|
| |
| "void" | grow (self, *args) |
| | grow(self, x=edm_t())
|
| |
| "size_t" | capacity (self) |
| | capacity(self) -> size_t
|
| |
| "void" | reserve (self, "size_t" cnt) |
| | reserve(self, cnt)
|
| |
| "void" | truncate (self) |
| | truncate(self)
|
| |
| "edm_t *" | extract (self) |
| | extract(self) -> edm_t
|
| |
| "void" | inject (self, "edm_t" s, "size_t" len) |
| | inject(self, s, len)
|
| |
| "bool" | __eq__ (self, "edmvec_t" r) |
| | eq(self, r) -> bool
|
| |
| "bool" | __ne__ (self, "edmvec_t" r) |
| | ne(self, r) -> bool
|
| |
| "qvector< edm_t >::const_iterator" | begin (self, *args) |
| | begin(self) -> edm_t
|
| |
| "qvector< edm_t >::const_iterator" | end (self, *args) |
| | end(self) -> edm_t
|
| |
| "qvector< edm_t >::iterator" | insert (self, "edm_t" it, "edm_t" x) |
| | insert(self, it, x) -> edm_t
|
| |
| "qvector< edm_t >::iterator" | erase (self, *args) |
| | erase(self, it) -> edm_t
|
| |
| "qvector< edm_t >::const_iterator" | find (self, *args) |
| | find(self, x) -> edm_t
|
| |
| "bool" | has (self, "edm_t" x) |
| | has(self, x) -> bool
|
| |
| "bool" | add_unique (self, "edm_t" x) |
| | add_unique(self, x) -> bool
|
| |
| "size_t" | __len__ (self) |
| | len(self) -> size_t
|
| |
| "edm_t const &" | __getitem__ (self, "size_t" i) |
| | getitem(self, i) -> edm_t
|
| |
| "void" | __setitem__ (self, "size_t" i, "edm_t" v) |
| | setitem(self, i, v)
|
| |
| "void" | append (self, "edm_t" x) |
| | append(self, x)
|
| |
| "void" | extend (self, "edmvec_t" x) |
| | extend(self, x)
|
| |