DBusAny

Structure allowing typeless parameters

Constructors

this
this(int type, string signature, bool explicit)

Manually creates a DBusAny object using a type, signature and explicit variant specifier.

this
this(T value)

Automatically creates a DBusAny object with fitting parameters from a D type or Variant!T.

Members

Functions

get
T get()
T get()
T get()

Get the value stored in the DBusAny object.

to
T to()

Converts a basic type, a tuple or an array to the D type with type checking.

toAA
DBusAny[DBusAny] toAA()

If the value is an array of DictionaryEntries this will return a HashMap

toString
string toString()
typeSig
string typeSig()

Get the DBus type signature of the value stored in the DBusAny object.

Unions

__anonymous
union __anonymous

Variables

explicitVariant
bool explicitVariant;

If true, this value will get serialized as variant value, otherwise it is serialized like it wasn't in a DBusAny wrapper. Same functionality as Variant!T but with dynamic types if true.

signature
string signature;

Child signature for Arrays & Tuples

type
int type;

DBus type of the value (never 'v'), see typeSig!T

Meta