D-Bus 1.16.0
|
The type writer is an iterator for writing to a block of values. More...
#include <dbus-marshal-recursive.h>
Data Fields | ||
DBusString * | type_str | |
where to write typecodes (or read type expectations) | ||
DBusString * | value_str | |
where to write values | ||
dbus_uint32_t | byte_order: 8 | |
byte order to write values with | ||
dbus_uint32_t | container_type: 8 | |
what are we inside? (e.g. | ||
dbus_uint32_t | type_pos_is_expectation: 1 | |
type_pos can be either an insertion point for or an expected next type | ||
dbus_uint32_t | enabled: 1 | |
whether to write values | ||
int | type_pos | |
current pos in type_str | ||
int | value_pos | |
next position to write | ||
union { | ||
struct { | ||
int start_pos | ||
position of first element in the array More... | ||
int len_pos | ||
position of length of the array More... | ||
int element_type_pos | ||
position of array element type in type_str More... | ||
} array | ||
} | u | |
class-specific data | ||
The type writer is an iterator for writing to a block of values.
Definition at line 67 of file dbus-marshal-recursive.h.
dbus_uint32_t DBusTypeWriter::byte_order |
byte order to write values with
Definition at line 71 of file dbus-marshal-recursive.h.
Referenced by _dbus_type_writer_init(), _dbus_type_writer_unrecurse(), and _dbus_type_writer_write_fixed_multi().
dbus_uint32_t DBusTypeWriter::container_type |
what are we inside? (e.g.
struct, variant, array)
Definition at line 73 of file dbus-marshal-recursive.h.
Referenced by _dbus_type_writer_init(), _dbus_type_writer_unrecurse(), _dbus_type_writer_write_fixed_multi(), and dbus_message_iter_append_fixed_array().
int DBusTypeWriter::element_type_pos |
position of array element type in type_str
Definition at line 87 of file dbus-marshal-recursive.h.
dbus_uint32_t DBusTypeWriter::enabled |
whether to write values
Definition at line 77 of file dbus-marshal-recursive.h.
Referenced by _dbus_type_writer_init(), _dbus_type_writer_write_basic(), and _dbus_type_writer_write_fixed_multi().
int DBusTypeWriter::len_pos |
position of length of the array
Definition at line 86 of file dbus-marshal-recursive.h.
Referenced by _dbus_header_set_field_basic(), and _dbus_type_writer_unrecurse().
int DBusTypeWriter::start_pos |
position of first element in the array
Definition at line 85 of file dbus-marshal-recursive.h.
Referenced by _dbus_header_set_field_basic().
int DBusTypeWriter::type_pos |
current pos in type_str
Definition at line 79 of file dbus-marshal-recursive.h.
Referenced by _dbus_type_writer_add_types(), _dbus_type_writer_init(), _dbus_type_writer_remove_types(), _dbus_type_writer_unrecurse(), _dbus_type_writer_write_basic(), and _dbus_type_writer_write_fixed_multi().
dbus_uint32_t DBusTypeWriter::type_pos_is_expectation |
type_pos can be either an insertion point for or an expected next type
Definition at line 75 of file dbus-marshal-recursive.h.
Referenced by _dbus_type_writer_init(), _dbus_type_writer_init_values_only(), _dbus_type_writer_unrecurse(), _dbus_type_writer_write_basic(), and _dbus_type_writer_write_fixed_multi().
DBusString* DBusTypeWriter::type_str |
where to write typecodes (or read type expectations)
Definition at line 69 of file dbus-marshal-recursive.h.
Referenced by _dbus_type_writer_add_types(), _dbus_type_writer_init(), _dbus_type_writer_remove_types(), _dbus_type_writer_unrecurse(), and _dbus_type_writer_write_basic().
int DBusTypeWriter::value_pos |
next position to write
Definition at line 80 of file dbus-marshal-recursive.h.
Referenced by _dbus_header_set_field_basic(), _dbus_type_writer_init(), _dbus_type_writer_unrecurse(), _dbus_type_writer_write_basic(), and _dbus_type_writer_write_fixed_multi().
DBusString* DBusTypeWriter::value_str |
where to write values
Definition at line 70 of file dbus-marshal-recursive.h.
Referenced by _dbus_type_writer_init(), _dbus_type_writer_unrecurse(), and _dbus_type_writer_write_fixed_multi().