Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: vwsdef.h
Link against: N/A

Class TVwsViewId

TVwsViewId

Support

Supported from 6.0

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.

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


Construction and destruction


TVwsViewId()

TVwsViewId();

Description

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


TVwsViewId()

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()

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==()

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!=()

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]


Data members


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.