Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: cntview.h
Link against: cntview.lib

Class CContactViewRangeBase

class CContactViewRangeBase : public CBase;

Description

The abstract base class for all contact view range classes.

Range classes are used by contact sub views to specify the upper and lower range boundaries and for searching their underlying view.

Derivation

Members

Defined in CContactViewRangeBase:
EGreaterThan, EGreaterThanOrEqualTo, ELessThan, ELessThanOrEqualTo, HighIndex(), IndicesValid(), LowIndex(), SetL(), TCriteria, iCollateMethod, iHigh, iLow, iView

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

See also:


Member functions


LowIndex()

inline TInt LowIndex() const;

Description

Gets the index into the sub view's underlying view of the item at the bottom of the range.

Return value

TInt

The index of the item at the bottom of the range.


HighIndex()

inline TInt HighIndex() const;

Description

Gets the index into the sub view's underlying view of the item at the top of the range.

Return value

TInt

The index of the item at the top of the range.


SetL()

virtual void SetL()=0;

Description

Sets the iLow and iHigh members.


IndicesValid()

IMPORT_C TBool IndicesValid() const;

Description

Tests whether the lower and upper indexes are valid, i.e. not KErrNotFound.

Return value

TBool

ETrue if the indexes are valid, EFalse if not.

[Top]


Member enumerations


Enum TCriteria

TCriteria

Description

Defines the range criteria.

ELessThan

Less than.

ELessThanOrEqualTo

Less than or equal to.

EGreaterThan

Greater than.

EGreaterThanOrEqualTo

Greater than or equal to.

[Top]


Member data


iView

protected: const CContactViewBase & iView;

Description

The sub view's underlying view.


iLow

protected: TInt iLow;

Description

The index into the sub view's underlying view of the item at the lower limit of the range.


iHigh

protected: TInt iHigh;

Description

The index into the sub view's underlying view of the item at the upper limit of the range.


iCollateMethod

protected: TCollationMethod * iCollateMethod;

Description

The collation method used to sort the strings.

By default, this is the standard collation method for the current locale.