CContactViewRange Class Reference

class CContactViewRange : public CContactViewRangeBase

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.

CContactSubView

Inherits from

Constructor & Destructor Documentation

CContactViewRange(const CContactViewBase &, const TDesC &, TCriteria, const TDesC &, TCriteria)

CContactViewRange ( const CContactViewBase & aView,
const TDesC & aLowMatch,
TCriteria aLowCriteria,
const TDesC & aHighMatch,
TCriteria aHighCriteria
) [private]

Parameters

const CContactViewBase & aView
const TDesC & aLowMatch
TCriteria aLowCriteria
const TDesC & aHighMatch
TCriteria aHighCriteria

~CContactViewRange()

~CContactViewRange ( )

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Called by derived classes to set the collation method iCollateMethod to be the standard collation method for the current locale.

NewL(const CContactViewBase &, const TDesC &, TCriteria, const TDesC &, TCriteria)

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

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.

SetL()

void SetL ( ) [private, virtual]

Sets the iLow and iHigh members.

Member Data Documentation

TCriteria iHighCriteria

TCriteria iHighCriteria [private]

TBuf< KMaxBoundaryMatchLength > iHighMatch

TBuf < KMaxBoundaryMatchLength > iHighMatch [private]

TCriteria iLowCriteria

TCriteria iLowCriteria [private]

TBuf< KMaxBoundaryMatchLength > iLowMatch

TBuf < KMaxBoundaryMatchLength > iLowMatch [private]