D-Bus 1.14.10
Data Fields
DBusTypeReader Struct Reference

The type reader is an iterator for reading values from a block of values. More...

#include <dbus-marshal-recursive.h>

Data Fields

dbus_uint32_t byte_order: 8
 byte order of the block More...
 
dbus_uint32_t finished: 1
 marks we're at end iterator for cases where we don't have another way to tell More...
 
dbus_uint32_t array_len_offset: 3
 bytes back from start_pos that len ends More...
 
const DBusStringtype_str
 string containing signature of block More...
 
int type_pos
 current position in signature More...
 
const DBusStringvalue_str
 string containing values of block More...
 
int value_pos
 current position in values More...
 
const DBusTypeReaderClassklass
 the vtable for the reader More...
 
union {
   struct {
      int   start_pos
 for array readers, the start of the array values More...
 
   }   array
 
u
 class-specific data
 

Detailed Description

The type reader is an iterator for reading values from a block of values.

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

Field Documentation

◆ array_len_offset

dbus_uint32_t DBusTypeReader::array_len_offset

bytes back from start_pos that len ends

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

◆ byte_order

dbus_uint32_t DBusTypeReader::byte_order

byte order of the block

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

Referenced by _dbus_type_reader_read_basic().

◆ finished

dbus_uint32_t DBusTypeReader::finished

marks we're at end iterator for cases where we don't have another way to tell

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

Referenced by _dbus_type_reader_get_current_type().

◆ klass

const DBusTypeReaderClass* DBusTypeReader::klass

◆ start_pos

int DBusTypeReader::start_pos

for array readers, the start of the array values

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

◆ type_pos

int DBusTypeReader::type_pos

◆ type_str

const DBusString* DBusTypeReader::type_str

◆ value_pos

int DBusTypeReader::value_pos

◆ value_str

const DBusString* DBusTypeReader::value_str

string containing values of block

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

Referenced by _dbus_type_reader_read_basic(), _dbus_type_reader_read_raw(), and _dbus_type_reader_set_basic().


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