Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbPageController::write Method
Syntax
C++
virtual bool write(Key& key, OdStreamBuf* pStreamBuf) = 0;

Pages out data as required to a client-supplied data source. 

 

Parameters
Description
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 true if and only if the PageController implementation has successfully paged the data.

Implementations of this function are expected to write the entire contents of pStreamBuf to an external data source, and to set assign a unique value to the key argument that identifies this chunk of paged data. This key value will be used in a subsequent calls to read() to retrieve this specific paged data.

Copyright © 2002-2022. Open Design Alliance All rights reserved.