Location:
ir_sock.h
Link against: irda.lib
TIASResponse
Support
Supported from 5.0
Description
Response from an Information Access Service (IAS) query to another
device's IAS server.
Derivation
TBuf8 | This is a descriptor class which provides a buffer of fixed length for containing, accessing and manipulating TUint8 data |
TBufBase8 | Base class used in the derivation of TBuf8 |
TDes8 | Modifiable 8-bit descriptor; abstract class |
TDesC8 | Abstract base class for 8 bit non-modifiable descriptors |
TIASResponse | Response from an Information Access Service (IAS) query to another device's IAS server |
|
Defined in TIASResponse:
GetCharString(), GetCharString8(), GetInteger(), GetOctetSeq(), TIASResponse(), Type()
Inherited from TBuf8:
operator=()
Inherited from TDes8:
Append(),
AppendFill(),
AppendFormat(),
AppendFormatList(),
AppendJustify(),
AppendNum(),
AppendNumFixedWidth(),
AppendNumFixedWidthUC(),
AppendNumUC(),
Capitalize(),
Collate(),
Copy(),
CopyC(),
CopyCP(),
CopyF(),
CopyLC(),
CopyUC(),
Delete(),
Fill(),
FillZ(),
Fold(),
Format(),
FormatList(),
Insert(),
Justify(),
LowerCase(),
MaxLength(),
MaxSize(),
Num(),
NumFixedWidth(),
NumFixedWidthUC(),
NumUC(),
PtrZ(),
Repeat(),
Replace(),
SetLength(),
SetMax(),
Swap(),
Trim(),
TrimAll(),
TrimLeft(),
TrimRight(),
UpperCase(),
Zero(),
ZeroTerminate(),
operator+=(),
operator=,
operator[]()
Inherited from TDesC8:
Alloc(),
AllocL(),
AllocLC(),
Compare(),
CompareC(),
CompareF(),
Find(),
FindC(),
FindF(),
Left(),
Length(),
Locate(),
LocateF(),
LocateReverse(),
LocateReverseF(),
Match(),
MatchC(),
MatchF(),
Mid(),
Ptr(),
Right(),
Size(),
operator!=(),
operator<(),
operator<=(),
operator==(),
operator>(),
operator>=()
See also:
TIASResponse();
Description
Default constructor. Marks the response type as missing.
See also:
TIASDataType Type() const;
Description
Returns the type of the response.
Return value
TIASDataType |
An enumeration identifying the type of response. |
|
TInt GetCharString(TDes8& aResult,TInt anIndex=0) const;
Description
Returns the response string.
This is called if the response type indicates a string.
Parameters
TDes8& 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). |
TInt anIndex=0 |
Reserved for future use. This argument must be allowed to default
to 0 and must not be overriden. |
|
Return value
TInt |
If successful, one of the TIASCharSet enumerator
values defining the character set encoding of the response string.
KErrNotSupported, if a non-zero value has been specified for
anIndex. KErrCorrupt, if the response type is not a
string. |
|
See also:
const TPtrC8 GetCharString8(TInt anIndex=0) const;
Description
Returns a non-modifiable pointer descriptor representing the response
string.
This is called if the response type indicates a string.
Parameters
TInt anIndex=0 |
Reserved for future use. This argument must be allowed to default to
0 and must not be overriden. |
|
Return value
TPtrC8 |
A non-modifiable pointer descriptor representing the response
string. If the response type is not a string or the string is flagged as being
UNICODE, then this pointer descriptor is empty, i.e. it has zero length.
|
|
See also:
TInt GetInteger(TInt& aResult,TInt anIndex=0) const;
Description
Returns the response integer.
This is called if the response type indicates an integer.
Parameters
TInt& aResult |
On return, contains the 32-bit response integer value. |
TInt anIndex=0 |
Reserved for future use. This argument must be allowed to default to 0
and must not be overriden. |
|
Return value
TInt |
KErrNone, if successful. KErrCorrupt, if the
response type is not an integer. |
|
TInt GetOctetSeq(TDes8& aResult,TInt anIndex=0) const;
Description
Returns the response binary data.
Parameters
TDes8& aResult |
On return, contains the the binary data. The number of bytes returned
can never be greater than (KMaxQueryStringLength - 3). |
TInt anIndex=0 |
Reserved for future use. |
|
Return value
TInt |
KErrNone, if successful. KErrCorrupt, if the
response type is not binary data. KErrNotSupported, if a non-zero
value has been specified for anIndex. |
|