TDbWindow Class Reference
Describes the desired shape of a view's pre-evaluation window.
An instance of this class is passed to the
RDbView
object as part of the Prepare() function. The different constructors for
TDbWindow
can specify a view:
without pre-evaluation
with full pre-evaluation
with limited pre-evaluation.
RDbView
Constructor & Destructor Documentation
TDbWindow()
Constructs this object with a size of ENone. This can be used to request a view with no pre-evaluation window.
TDbWindow(TUnlimited)
Constructs this object with a size of EUnlimited. This is used to request a completely pre-evaluated view. The constant KDbUnlimitedWindow is an instance of such a
TDbWindow
.
TDbWindow(TInt, TInt)
IMPORT_C
|
TDbWindow
|
(
|
TInt
|
aForeSlots,
|
|
TInt
|
aRearSlots
|
|
)
|
|
Constructs this object with the preferred shape. When fully evaluated, the view will try to have aForeSlots rows immediately available for navigation forwards, and aRearSlots rows immediately available for navigation backwards.
Parameters
TInt
aForeSlots
|
The number of rows to evaluate ahead of the current row.
|
TInt
aRearSlots
|
The number of rows to evaluate behind the current row.
|
Member Functions Documentation
PreferredPos()
TInt
|
PreferredPos
|
(
|
)
|
const [inline]
|
Size()
TInt
|
Size
|
(
|
)
|
const [inline]
|
Member Enumerations Documentation
Enum TUnlimited
Denotes a full pre-evaluation window.
Enumerators
EUnlimited = KMaxTInt
|
No limit on how many rows may be in the window.
|
Member Data Documentation
TInt
iPreferredPos
TInt
|
iPreferredPos
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.