#include <DbPageController.h>
This class controls the paging support for an OdDbDatabase instance.
- See also
- Paging Support OdDbDatabase::pageObjects
<group OdDb_Classes>
Definition at line 90 of file DbPageController.h.
◆ Key
◆ database()
Returns the OdDbDatabase instance served by this controller.
◆ pagingType()
virtual int OdDbPageController::pagingType |
( |
| ) |
const |
|
pure virtual |
◆ read()
Pages in the specified data.
- Parameters
-
key | [in] Paged data key, as returned by write(). |
◆ setDatabase()
Sets the OdDbDatabase instance served by this controller.
- Parameters
-
pDb | [in] Pointer to the database. |
◆ subPage()
The method is called during unloading/paging of an object, before anything else is done.
- Parameters
-
Description eOk Continue paging. eSkipObjPaging Skip paging of the specified object. eStopPaging Stop paging.
◆ write()
virtual bool OdDbPageController::write |
( |
Key & |
key, |
|
|
OdStreamBuf * |
pStreamBuf |
|
) |
| |
|
pure virtual |
Pages out data as required to a client-supplied data source.
- Parameters
-
key | [out] Paged data key, as used by read(). |
pStreamBuf | [in] Pointer to the StreamBuf object from which the data are to be written. |
- Returns
- Returns true if and only if the PageController implementation has successfully paged the data.
The documentation for this class was generated from the following file: