Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32cmn.h
Link against: euser.lib

Class DefaultIdentity

class DefaultIdentity;

Description

A set of common identity relations for frequently occurring types.

Members

Defined in DefaultIdentity:
Des16(), Des16Ptr(), Des8(), Des8Ptr(), Integer(), IntegerPtr()

See also:


Member functions


Integer()

static IMPORT_C TBool Integer(const TInt &, const TInt &);

Description

Compare two integers for equality.

Parameters

const TInt &

The first integer to be compared

const TInt &

The second integer to be compared

Return value

TBool

ETrue if the arguments are equal, EFalse otherwise.


Des8()

static IMPORT_C TBool Des8(const TDesC8 &, const TDesC8 &);

Description

Compare two 8 bit descriptors for exact binary equality.

Parameters

const TDesC8 &

The first integer to be compared

const TDesC8 &

The second integer to be compared

Return value

TBool

ETrue if the arguments are identical, EFalse otherwise.


Des16()

static IMPORT_C TBool Des16(const TDesC16 &, const TDesC16 &);

Description

Compare two 16 bit descriptors for exact binary equality.

Parameters

const TDesC16 &

The first integer to be compared

const TDesC16 &

The second integer to be compared

Return value

TBool

ETrue if the arguments are identical, EFalse otherwise.


IntegerPtr()

static IMPORT_C TBool IntegerPtr(TInt *const &, TInt *const &);

Description

Compare two TInt pointers for equality.

Parameters

TInt *const &

The first pointer to be compared

TInt *const &

The second pointer to be compared

Return value

TBool

ETrue if the arguments are equal, EFalse otherwise.


Des8Ptr()

static IMPORT_C TBool Des8Ptr(TDesC8 *const &, TDesC8 *const &);

Description

Compare two TDesC8 pointers for equality.

Parameters

TDesC8 *const &

The first pointer to be compared

TDesC8 *const &

The second pointer to be compared

Return value

TBool

ETrue if the arguments are equal, EFalse otherwise.


Des16Ptr()

static IMPORT_C TBool Des16Ptr(TDesC16 *const &, TDesC16 *const &);

Description

Compare two TDesC16 pointers for equality.

Parameters

TDesC16 *const &

The first pointer to be compared

TDesC16 *const &

The second pointer to be compared

Return value

TBool

ETrue if the arguments are equal, EFalse otherwise.