Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: cntview.h
Link against: cntview.lib

Class CContactViewRange

class CContactViewRange : public CContactViewRangeBase;

Description

A sub view range with both a lower and upper limit.

This is used by sub views when lower and upper boundary criteria are specified.

Derivation

Members

Defined in CContactViewRange:
NewL(), SetL()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CContactViewRangeBase:
EGreaterThan, EGreaterThanOrEqualTo, ELessThan, ELessThanOrEqualTo, HighIndex(), IndicesValid(), LowIndex(), TCriteria, iCollateMethod, iHigh, iLow, iView

See also:


Construction and destruction


NewL()

static IMPORT_C CContactViewRange *NewL(const CContactViewBase &aView, const TDesC &aLowMatch, TCriteria aLowCriteria, const TDesC &aHighMatch, TCriteria aHighCriteria);

Description

Allocates and constructs a new sub view range.

Parameters

const CContactViewBase &aView

The sub view's underlying view.

const TDesC &aLowMatch

The match string for the bottom of the range. Only the first character in the string is used.

TCriteria aLowCriteria

The query search condition for the bottom of the range; either CContactViewRangeBase::EGreaterThan or CContactViewRangeBase::EGreaterThanOrEqualTo.

const TDesC &aHighMatch

The match string for the top of the range. Only the first character in the string is used.

TCriteria aHighCriteria

The query search condition for the top of the range; either CContactViewRangeBase::ELessThan or CContactViewRangeBase::ELessThanOrEqualTo.

Return value

CContactViewRange *

Pointer to a newly created sub view range object

[Top]


Member functions


SetL()

private: virtual void SetL();

Description

Sets the iLow and iHigh members.