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
U get()
T get()

Get the value stored in the DBusAny object.

opEquals
bool opEquals(DBusAny b)
Undocumented in source. Be warned that the author may not have intended to support it.
to
T to()

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

toAA
deprecated DBusAny[DBusAny] toAA()

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

toString
string toString()
typeIsFloating
bool typeIsFloating()
typeIsIntegral
bool typeIsIntegral()
typeIsNumeric
bool typeIsNumeric()
typeSig
string typeSig()

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

Unions

__anonymous
union __anonymous
Undocumented in source.

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