TVwsViewId Class Reference

#include <mw/vwsdef.h>

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

Detailed 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.

Member Attribute Documentation

iAppUid

TUid iAppUid

A unique application ID (or application UID).

Uniquely identifies the application associated with the view.

iViewUid

TUid iViewUid

A unique view ID (or view UID).

Uniquely identifies the view.

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
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
aAppUidThe application UID.
aViewUidThe view UID.

Member Function 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
aUidA reference to a TVwsViewId object.
Return Value
ETrue if objects are different, EFalse otherwise.

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
aUidA reference to a TVwsViewId object.
Return Value
ETrue if objects are the same, EFalse otherwise.