Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: s32page.h
Link against: estor.lib

Class TPageRef

TPageRef

Support

Supported from 5.0

Description

Encapsulates a page reference.

A page reference is an integer value that can be used to identify a page.

Defined in TPageRef:
ExternalizeL(), InternalizeL(), TPageRef(), Value(), operator!=(), operator==()


TPageRef()

TPageRef()

Description

Default constructor.

[Top]


TPageRef()

TPageRef(TUint32 aValue);

Description

Constructor that initialises the object to a page reference value.

Parameters

TUint32 aValue

Page reference value

[Top]


ExternalizeL()

void ExternalizeL(RWriteStream& aStream) const;

Description

Externalises a TPageRef object to a write stream.

Parameters

RWriteStream& aStream

Stream to which the object should be externalised.

[Top]


InternalizeL()

void InternalizeL(RReadStream& aStream);

Description

Internalises a TPageRef object from a read stream.

Parameters

RReadStream& aStream

Stream from which the object should be internalised.

[Top]


Value()

TUint32 Value() const;

Description

Gets the page reference value.

Return value

TUint32

Page reference value

[Top]


operator==()

TBool operator==(TPageRef aRef) const;

Description

Equality operator.

Parameters

TPageRef aRef

Page reference against which to compare

Return value

TBool

True if aRef refers to the same page as the object, otherwise false.

[Top]


operator!=()

TBool operator!=(TPageRef aRef) const;

Description

Inequality operator.

Parameters

TPageRef aRef

Page reference against which to compare

Return value

TBool

True if aRef does not refer to the same page as the object, otherwise false.