#include <ir_sock.h>
Link against: irda.lib
| class TIASResponse : public TBuf8< KMaxQueryStringLength > |
| Public Member Functions | |
|---|---|
| TIASResponse() | |
| IMPORT_C TInt | GetCharString(TDes8 &, TInt) |
| IMPORT_C TInt | GetCharString(TDes16 &, TInt) |
| IMPORT_C const TPtrC16 | GetCharString16(TInt) |
| IMPORT_C const TPtrC8 | GetCharString8(TInt) |
| IMPORT_C TInt | GetInteger(TInt &, TInt) |
| IMPORT_C TInt | GetOctetSeq(TDes8 &, TInt) |
| IMPORT_C TBool | IsList() |
| IMPORT_C TInt | NumItems() |
| void | SetToCharString(const TDesC8 &) |
| void | SetToCharString(const TDesC16 &) |
| void | SetToInteger(TUint) |
| void | SetToOctetSeq(const TDesC8 &) |
| IMPORT_C TIASDataType | Type() |
| Inherited Attributes | |
|---|---|
| TBuf8< KMaxQueryStringLength >::iBuf | |
| TDes8::__DECLARE_TEST | |
| TDes8::iMaxLength | |
Response from an Information Access Service (IAS) query to another device's IAS server.
See also: TIASQuery
Returns the response string.
This is called if the response type indicates a string.
See also: TIASResponse::Type()
| Parameters | |
|---|---|
| aResult | On return, an 8 bit modifiable descriptor containing the response string. The length of the response string can never be greater than the value of (KMaxQueryStringLength - 3). |
| anIndex | Reserved for future use. This argument must be allowed to default to 0 and must not be overriden. |
Gets the response string.
This is called if the response type indicates a string.
See also: TIASResponse::Type()
Gets a TDes16 string of unicode characters from the TIASResponse object.
| Parameters | |
|---|---|
| aResult | On return, an 8 bit modifiable descriptor containing the response string. The length of the response string can never be greater than the value of (KMaxQueryStringLength - 3). |
| anIndex | Reserved for future use. This argument must be allowed to default to 0 and must not be overriden. |
Gets a TPtrC16 string of unicode characters from the TIASResponse object.
Returns a non-modifiable pointer descriptor representing the response string.
This is called if the response type indicates a string.
See also: TIASResponse::Type()
| Parameters | |
|---|---|
| anIndex | Reserved for future use. This argument must be allowed to default to 0 and must not be overriden. |
Returns the response integer.
This is called if the response type indicates an integer.
| Parameters | |
|---|---|
| aResult | On return, contains the 32-bit response integer value. |
| anIndex | Reserved for future use. This argument must be allowed to default to 0 and must not be overriden. |
Returns the response binary data.
| Parameters | |
|---|---|
| aResult | On return, contains the the binary data. The number of bytes returned can never be greater than (KMaxQueryStringLength - 3). |
| anIndex | Reserved for future use. |
| void | SetToCharString | ( | const TDesC8 & | aCharString | ) |
| void | SetToCharString | ( | const TDesC16 & | aWideString | ) |
| void | SetToInteger | ( | TUint | anInteger | ) |
| void | SetToOctetSeq | ( | const TDesC8 & | aData | ) |
| IMPORT_C TIASDataType | Type | ( | ) | const |
Reimplemented from TDesC8::Type()const
Returns the type of the response.