def encoding(self, encoding): utils._check_int(encoding) ret = native_bt.field_class_string_set_encoding(self._ptr, encoding) utils._handle_ret(ret, "cannot set string field class object's encoding")
def native_byte_order(self, native_byte_order): utils._check_int(native_byte_order) ret = native_bt.trace_set_native_byte_order(self._ptr, native_byte_order) utils._handle_ret(ret, "cannot set trace class object's native byte order")
def byte_order(self, byte_order): utils._check_int(byte_order) ret = native_bt.field_class_set_byte_order(self._ptr, byte_order) utils._handle_ret(ret, "cannot set field class object's byte order")
def base(self, base): utils._check_int(base) ret = native_bt.field_class_integer_set_base(self._ptr, base) utils._handle_ret(ret, "cannot set integer field class object's base")
def encoding(self, encoding): utils._check_int(encoding) ret = native_bt.field_type_integer_set_encoding(self._ptr, encoding) utils._handle_ret(ret, "cannot set integer field type object's encoding")
def encoding(self, encoding): utils._check_int(encoding) ret = native_bt.ctf_field_type_string_set_encoding(self._ptr, encoding) utils._handle_ret(ret, "cannot set string field type object's encoding")
def base(self, base): utils._check_int(base) ret = native_bt.ctf_field_type_integer_set_base(self._ptr, base) utils._handle_ret(ret, "cannot set integer field type object's base")
def byte_order(self, byte_order): utils._check_int(byte_order) ret = native_bt.ctf_field_type_set_byte_order(self._ptr, byte_order) utils._handle_ret(ret, "cannot set field type object's byte order")