TWsGraphicId Class Reference

class TWsGraphicId

Identifies an abstract artwork

This is a piece of artwork that might be owned and authored by another process. A client can draw a piece of artwork, but that doesn't confer the ability to access the pixel representation of that artwork directly.

Constructor & Destructor Documentation

TWsGraphicId(TUninitialized)

TWsGraphicId ( TUninitialized ) [inline]

Parameters

TUninitialized

TWsGraphicId(TUid)

IMPORT_C TWsGraphicId ( TUid aUid )

Construct a UID

Parameters

TUid aUid UID of the graphic artwork.

TWsGraphicId(TInt)

IMPORT_C TWsGraphicId ( TInt aId )

Construct a transient Id

Parameters

TInt aId

TWsGraphicId(const TWsGraphicId &)

IMPORT_C TWsGraphicId ( const TWsGraphicId & aCopy )

Copy constructor.

Parameters

const TWsGraphicId & aCopy Graphic artwork Id.

Member Functions Documentation

Compare(const TWsGraphicId &)

IMPORT_C TInt Compare ( const TWsGraphicId & aOther ) const

Compares another Id with this one.

Parameters

const TWsGraphicId & aOther

Id()

IMPORT_C TInt Id ( ) const

Returns the transient Id.

IsId()

IMPORT_C TBool IsId ( ) const

Identifies whether graphic artwork is transient.

IsUid()

IMPORT_C TBool IsUid ( ) const

Identifies whether graphic artwork is non-transient.

Set(TUid)

IMPORT_C void Set ( TUid aUid )

Set to be a UID

Parameters

TUid aUid

Set(TInt)

IMPORT_C void Set ( TInt aId )

Set to be a transient Id

Parameters

TInt aId

Uid()

IMPORT_C TUid Uid ( ) const

Returns UID.

Member Enumerations Documentation

Enum TUninitialized

Enumerators

EUninitialized

Member Data Documentation

TUint iFlags

TUint iFlags [private]

TInt iId

TInt iId [private]

TInt iWsGraphicIdSpare

TInt iWsGraphicIdSpare [private]