D-Bus 1.16.2
DBusTypeWriter Struct Reference

The type writer is an iterator for writing to a block of values. More...

#include <dbus-marshal-recursive.h>

Data Structures

union  [union].u

Data Fields

DBusStringtype_str
 where to write typecodes (or read type expectations)
DBusStringvalue_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?
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  u
 class-specific data

Detailed Description

The type writer is an iterator for writing to a block of values.

Definition at line 67 of file dbus-marshal-recursive.h.

Field Documentation

◆ byte_order

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().

◆ container_type

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(), and _dbus_type_writer_write_fixed_multi().

◆ enabled

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().

◆ type_pos

◆ type_pos_is_expectation

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().

◆ type_str

DBusString* DBusTypeWriter::type_str

◆ u

union DBusTypeWriter::[union].u DBusTypeWriter::u

class-specific data

Referenced by _dbus_header_set_field_basic(), and _dbus_type_writer_unrecurse().

◆ value_pos

◆ value_str

DBusString* DBusTypeWriter::value_str

The documentation for this struct was generated from the following file: