clientGetAttribute()

Get an attribute's value and encoding from the simulated PPS object.

Synopsis:

#include <qpps/simulator.h>

bool clientGetAttribute( QObject *client, 
                         const QString &name, 
                         QByteArray &value, 
                         QByteArray &encoding ) const;

Arguments:

client
The client representing the PPS object being read.
name
The name of the attribute being read.
value
A QByteArray for storing the attribute's value.
encoding
A QByteArray for storing the attribute's encoding.

Description:

Get the value and encoding of the name attribute from the PPS object represented by client.

Returns:

Returns true if the attribute was read successfully, false otherwise.