Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <IR_SOCK.H>
Link against: irda.lib

Class TIASDatabaseEntry

class TIASDatabaseEntry : public TPckgBuf< TIASDatabaseEntryV001 >;

Description

An Information Access Service (IAS) record in the network database.

The record data is contained in an object of type TIASDatabaseEntryV001 packaged in a modifiable buffer descriptor.

Derivation

Members

Defined in TIASDatabaseEntry:


Member functions


SetClassName(const TDesC8 &)

IMPORT_C void SetClassName(const TDesC8 &aClassName);

Description

Sets the class name in the IAS entry.

Parameters

const TDesC8 &aClassName

The class name. The maximum length of this descriptor is the value of the constant KIASClassNameMax.


SetAttributeName(const TDesC8 &)

IMPORT_C void SetAttributeName(const TDesC8 &anAttributeName);

Description

Sets the attribute in the IAS entry.

Parameters

const TDesC8 &anAttributeName

The attribute. The maximum length of this descriptor is the value of the constant KIASAttributeNameMax.


SetToInteger(const TUint)

IMPORT_C void SetToInteger(const TUint anInteger);

Description

Sets the response type corresponding to the class and attribute defined in this record, as an integer.

Parameters

const TUint anInteger

The response integer.


SetToCharString(const TDesC8 &)

IMPORT_C void SetToCharString(const TDesC8 &aCharString);

Description

Sets the response type corresponding to the class and attribute defined in this record, as a character string.

Parameters

const TDesC8 &aCharString

The response string. The length of this string can never be greater than (KMaxQueryStringLength - 3).


SetToOctetSeq(const TDesC8 &)

IMPORT_C void SetToOctetSeq(const TDesC8 &aData);

Description

Sets the response type corresponding to the class and attribute defined in this record, as binary data.

Parameters

const TDesC8 &aData

The response binary data. The length of this data can never be greater than (KMaxQueryStringLength - 3).


SetToCharString(const TDesC16 &)

IMPORT_C void SetToCharString(const TDesC16 &aWideString);

Description

Sets the response type corresponding to the class and attribute defined in this record, as a wide character string.

Parameters

const TDesC16 &aWideString

The response string.