API Reference > Classes > Loader Classes > OdBmLoaderHostAppServices Class > OdBmLoaderHostAppServices Methods > OdBmLoaderHostAppServices::writeFile Method (OdStreamBufPtr, OdBmDatabase*, bool)
OdBmLoaderHostAppServices::writeFile Method (OdStreamBufPtr, OdBmDatabase*, bool)
Syntax
C++
virtual void writeFile(OdStreamBufPtr pStream, OdBmDatabase* pDb, const bool partialLoad = false);
Parameters 
Description 
const bool partialLoad = false 
[in] Input partial saving of ODA BimRv files flag. If partial saving is true, modified elements will be written to a new stream in the file. If partial saving is false, streams for elements will be merged to one. It will contain the latest state of the elements. 
pStreamBuf 
[in] Pointer to the StreamBuf object to which the data is to be written. [in] Pointer to the OdBmDatabase object data that is to be written.  

Writes the contents of this database to the specified StreamBuf object. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.