|
||
class TDbWindow;
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.
Defined in TDbWindow
:
ENone
EUnlimited
No limit on how many rows may be in the window. PreferredPos()const
Returns the preferred position in the window of the current row marker. i.e. the...Size()const
Returns the number of rows stored by the view.TDbWindow()
Constructs this object with a size of ENone. This can be used to request a view ...TDbWindow(TInt,TInt)
Constructs this object with the preferred shape. When fully evaluated, the view ...TDbWindow(TUnlimited)
Constructs this object with a size of EUnlimited. This is used to request a comp...TUnlimited
Denotes a full pre-evaluation window. anonymous
RDbView
Generates rowsets from an SQL query. The query is prepared and evaluated using t...inline TDbWindow();
Constructs this object with a size of ENone. This can be used to request a view with no pre-evaluation window.
inline 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.
|
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.
|
inline TInt Size() const;
Returns the number of rows stored by the view.
|
inline TInt PreferredPos() const;
Returns the preferred position in the window of the current row marker. i.e. the position with the forward and backward slots as requested.
|
TUnlimited
Denotes a full pre-evaluation window.
|