Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: VWSDEF.H

Class TVwsViewId

class TVwsViewId;

Description

Identifies an application view using two unique identifiers (UIDs): a view UID and an application UID.

The application UID is required so that the application associated with the view can be started if it is not already running.

Members

Defined in TVwsViewId:
TVwsViewId(), TVwsViewId(), TVwsViewId(), iAppUid, iViewUid, operator!=(), operator==()


Construction and destruction


TVwsViewId()

inline TVwsViewId();

Description

Constructs a TVwsViewId object, and initialises both the application UID and the view UID to NULL.


TVwsViewId()

inline TVwsViewId(const TVwsViewId &aUid);

Description

Constructs a new TVwsViewId object from an existing one. This simply performs a member-wise copy, each member variable of the passed in object is individually copied to the corresponding member variable of the new object.

Parameters

const TVwsViewId &aUid

A reference to the TVwsViewId object to be copied.


TVwsViewId()

inline TVwsViewId(TUid aAppUid, TUid aViewUid);

Description

Constructs a TVwsViewId object with the specified application UID and view UID.

Parameters

TUid aAppUid

The application UID.

TUid aViewUid

The view UID.

[Top]


Member functions


operator==()

inline TBool operator==(const TVwsViewId &aUid) const;

Description

Checks whether the TVwsViewId object being operated upon and the TVwsViewId object specified are the same.

Returns true if both application UIDs and both view UIDs are the same, otherwise returns false.

Parameters

const TVwsViewId &aUid

A reference to a TVwsViewId object.

Return value

TBool

ETrue if objects are the same, EFalse otherwise.


operator!=()

inline TBool operator!=(const TVwsViewId &aUid) const;

Description

Checks whether the TVwsViewId object being operated upon and the TVwsViewId object specified are different.

Returns true if either the application UIDs or view UIDs are different, otherwise returns false.

Parameters

const TVwsViewId &aUid

A reference to a TVwsViewId object.

Return value

TBool

ETrue if objects are different, EFalse otherwise.

[Top]


Member data


iAppUid

TUid iAppUid;

Description

A unique application ID (or application UID).

Uniquely identifies the application associated with the view.


iViewUid

TUid iViewUid;

Description

A unique view ID (or view UID).

Uniquely identifies the view.