DKVariant class documentation

Authors

Niels Grewe (niels.grewe@halbordnung.de)

Copyright: (C) 2014 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the DKVariant class
  2. Software documentation for the DKVariant protocol

Software documentation for the DKVariant class

DKVariant : NSProxy

Declared in:
DBusKit/DKVariant.h
Conforms to:
DKVariant
A lightweight proxy class to encapsulate objects that are supposed to be returned as variants.

Instance Variables

Method summary

variantWithObject: 

+ (id) variantWithObject: (id)object;
Description forthcoming.

initWithObject: 

- (id) initWithObject: (id)object;
Description forthcoming.



Instance Variables for DKVariant Class

object

@protected id object;
Description forthcoming.




Software documentation for the DKVariant protocol

DKVariant

Declared in:
DBusKit/DKVariant.h
This protocol can be adopted by classes which want to indicate to the serialisation logic that their instances need to be returned as variants in the D-Bus wire protocol. This only takes effect if they are members of arrays, structures or dictionaries that are passed inside variant-typed arguments.
Method summary

isDBusVariant 

- (BOOL) isDBusVariant;
Return YES from this method if the D-Bus representation of the receiver should be a variant.