D-Bus 1.15.12
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

const DBusTypeReaderClassklass
 the vtable for the reader
 
const DBusStringtype_str
 string containing signature of block
 
const DBusStringvalue_str
 string containing values of block
 
dbus_uint32_t byte_order: 8
 byte order of the block
 
dbus_uint32_t finished: 1
 marks we're at end iterator for cases where we don't have another way to tell
 
dbus_uint32_t array_len_offset: 3
 bytes back from start_pos that len ends
 
int type_pos
 current position in signature
 
int value_pos
 current position in values
 
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 41 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 52 of file dbus-marshal-recursive.h.

◆ byte_order

dbus_uint32_t DBusTypeReader::byte_order

byte order of the block

Definition at line 47 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 49 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 59 of file dbus-marshal-recursive.h.

Referenced by _dbus_type_reader_read_fixed_multi().

◆ 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

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