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,
TCriteriaaLowCriteria,
const TDesC &aHighMatch,
TCriteriaaHighCriteria
)[private]

Parameters

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

~CContactViewRange()

~CContactViewRange()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[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,
TCriteriaaLowCriteria,
const TDesC &aHighMatch,
TCriteriaaHighCriteria
)[static]

Allocates and constructs a new sub view range.

Parameters

const CContactViewBase & aViewThe sub view's underlying view.
const TDesC & aLowMatchThe match string for the bottom of the range. Only the first character in the string is used.
TCriteria aLowCriteriaThe query search condition for the bottom of the range; either CContactViewRangeBase::EGreaterThan or CContactViewRangeBase::EGreaterThanOrEqualTo.
const TDesC & aHighMatchThe match string for the top of the range. Only the first character in the string is used.
TCriteria aHighCriteriaThe query search condition for the top of the range; either CContactViewRangeBase::ELessThan or CContactViewRangeBase::ELessThanOrEqualTo.

SetL()

voidSetL()[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]