class DCOPReply

# class DCOPReply | Represents the return value of a DCOPRef:call() or DCOPRef:send() invokation. More...
Definition | `#include <dcopref.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- template operator T ()
- template bool get ( T& t, const char* tname )
- template bool get ( T& t )
- inline bool isValid () const

#### Public Members

- QByteArray data
- QCString type

## Detailed Description

Represents the return value of a DCOPRef:call() or DCOPRef:send() invokation.

See also: DCOPRef, DCOPArg, DCOPArg

template operator T () | ### T

Casts the value to the type `T`. Requires that the type `T` suppports QDataStream deserialisation and has a function dcopTypeName(T). This is true for most basic types.

template bool get ( T& t, const char* tname ) | ### get

Retrieves the value from the type `T`. Requires that the type `T` suppports QDataStream deserialisation.

Parameters:

t | the type will be written here, if successful
tname | the signature type name

Returns: true if successful, false otherwise

template bool get ( T& t ) | ### get

Retrieves the value from the type `T`. Requires that the type `T` suppports QDataStream deserialisation and has a function dcopTypeName(T). This is true for most basic types.

Parameters:

t | the type will be written here, if successful
tname | the signature type name

Returns: true if successful, false otherwise

inline bool isValid () | ### isValid

[const]

Checks whether the type is valid.

Returns: true if valid, false otherwise

QByteArray data | ### data

QCString type | ### type

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:00 2003, using kdoc 2.0a54.