Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: capcodec.h
Link against: CapCodec.dll

Class TAliasAddress

TAliasAddress

Support

Supported from 6.0

Description

Alias Address. Use this class to handle Alias Address capabilities.

Defined in TAliasAddress:
Address(), Bearer(), HasBearer(), HasPort(), Port(), Reset(), SetAddress(), SetBearer(), SetPort(), TAliasAddress(), ~TAliasAddress()

See also:


Construction and destruction


TAliasAddress()

TAliasAddress();

Description

Default constructor.


~TAliasAddress()

~TAliasAddress();

Description

Destructor.

[Top]


Member functions


Address()

const TDesC8& Address() const;

Description

Gets the Address field.

Return value

TDesC8&


Bearer()

TUint8 Bearer() const;

Description

Gets the Bearer field.

Return value

TUint8


HasBearer()

TUint8 HasBearer() const;

Description

Tests if Bearer field set.

Return value

TUint8

TRUE or FALSE


HasPort()

TUint8 HasPort() const;

Description

Tests if Port field set.

Return value

TUint8

TRUE or FALSE


Port()

TUint16 Port() const;

Description

Gets the Port field.

Return value

TUint16


Reset()

void Reset();

Description

Resets fields to default values.


SetAddress()

TInt SetAddress(const TDesC8& aAddress);

Description

Sets the Address field.

Parameters

const TDesC8& aAddress

Return value

TInt

KErrNone if successful, or KErrTooBig if aAddress is too large.


SetBearer()

void SetBearer(const TUint8 aBearer);

Description

Set the Bearer field.

Parameters

const TUint8 aBearer


SetPort()

void SetPort(const TUint16 aPort);

Description

Sets the Port field.

Parameters

const TUint16 aPort