TVwsViewId Class Reference

class TVwsViewId

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.

Public Member Functions
TVwsViewId()
TVwsViewId(const TVwsViewId &)
TVwsViewId(TUid, TUid)
TBool operator!=(const TVwsViewId &)
TBool operator==(const TVwsViewId &)
Public Attributes
TUid iAppUid
TUid iViewUid

Constructor & Destructor Documentation

TVwsViewId()

TVwsViewId()[inline]

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

TVwsViewId(const TVwsViewId &)

TVwsViewId(const TVwsViewId &aUid)[inline]

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 & aUidA reference to the TVwsViewId object to be copied.

TVwsViewId(TUid, TUid)

TVwsViewId(TUidaAppUid,
TUidaViewUid
)[inline]

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

Parameters

TUid aAppUidThe application UID.
TUid aViewUidThe view UID.

Member Functions Documentation

operator!=(const TVwsViewId &)

TBool operator!=(const TVwsViewId &aUid)const [inline]

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 & aUidA reference to a TVwsViewId object.

operator==(const TVwsViewId &)

TBool operator==(const TVwsViewId &aUid)const [inline]

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 & aUidA reference to a TVwsViewId object.

Member Data Documentation

TUid iAppUid

TUid iAppUid

A unique application ID (or application UID).

Uniquely identifies the application associated with the view.

TUid iViewUid

TUid iViewUid

A unique view ID (or view UID).

Uniquely identifies the view.