Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

See also:


Member functions


Integer(const TInt &,const TInt &)

IMPORT_C static 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(const TDesC8 &,const TDesC8 &)

IMPORT_C static 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(const TDesC16 &,const TDesC16 &)

IMPORT_C static 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(TInt *const &,TInt *const &)

IMPORT_C static 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(TDesC8 *const &,TDesC8 *const &)

IMPORT_C static 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(TDesC16 *const &,TDesC16 *const &)

IMPORT_C static 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.